0

build: Remove a few now-no-op set_sources_assignment_filter calls

After https://chromium-review.googlesource.com/c/chromium/src/+/2426564,
not having a sources assignments filter is the default.

No behavior change.

Bug: 1018739
Change-Id: Ia0f215c50d4381f74e3a5ae8db539312b7f391b7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2434084
Reviewed-by: Sylvain Defresne <sdefresne@chromium.org>
Commit-Queue: Sylvain Defresne <sdefresne@chromium.org>
Auto-Submit: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#811177}
This commit is contained in:
Nico Weber
2020-09-28 10:35:35 +00:00
committed by Commit Bot
parent 22f03e2631
commit 6a010201df
44 changed files with 0 additions and 247 deletions
base
BUILD.gn
test
util
memory_pressure
chrome
browser
BUILD.gn
extensions
resources
chromeos
accessibility
chromevox
ui
common
updater
BUILD.gn
device_management
components
autofill
core
browser
dom_distiller
gcm_driver
BUILD.gn
instance_id
metrics
open_from_clipboard
os_crypt
password_manager
core
browser
policy
core
common
rlz
search
signin
internal
identity_manager
sync_device_info
update_client
url_formatter
skia
ui
accessibility
base
compositor
display
events
gfx
gl
native_theme
shell_dialogs
snapshot
views
BUILD.gn
controls
webview
views_content_client

@ -42,12 +42,6 @@ if (is_mac) {
import("//third_party/protobuf/proto_library.gni")
}
# Reset sources_assignment_filter for the BUILD.gn file to prevent
# regression during the migration of Chromium away from the feature.
# See docs/no_sources_assignment_filter.md for more information.
# TODO(crbug.com/1018739): remove this when migration is done.
set_sources_assignment_filter([])
declare_args() {
# Indicates if the Location object contains the source code information
# (file, function, line). False means only the program counter (and currently

@ -7,12 +7,6 @@ import("//build/config/nacl/config.gni")
import("//build/config/ui.gni")
import("//build_overrides/build.gni")
# Reset sources_assignment_filter for the BUILD.gn file to prevent
# regression during the migration of Chromium away from the feature.
# See docs/no_sources_assignment_filter.md for more information.
# TODO(crbug.com/1018739): remove this when migration is done.
set_sources_assignment_filter([])
if (is_android) {
import("//build/config/android/rules.gni")
}

@ -2,12 +2,6 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Reset sources_assignment_filter for the BUILD.gn file to prevent
# regression during the migration of Chromium away from the feature.
# See docs/no_sources_assignment_filter.md for more information.
# TODO(crbug.com/1018739): remove this when migration is done.
set_sources_assignment_filter([])
source_set("memory_pressure") {
sources = [
"memory_pressure_voter.cc",

@ -52,12 +52,6 @@ if (is_win) {
additional_modules_list_file =
"$root_gen_dir/chrome/browser/internal/additional_modules_list.txt"
# Reset sources_assignment_filter for the BUILD.gn file to prevent
# regression during the migration of Chromium away from the feature.
# See docs/no_sources_assignment_filter.md for more information.
# TODO(crbug.com/1018739): remove this when migration is done.
set_sources_assignment_filter([])
if (is_win) {
# This is in a separate config so the flags can be applied to dependents.
# ldflags in GN aren't automatically inherited.

@ -15,9 +15,6 @@ import("//rlz/buildflags/buildflags.gni")
assert(enable_extensions)
# See docs/no_sources_assignment_filter.md and https://crbug.com/1018739.
set_sources_assignment_filter([])
static_library("extensions") {
sources = [
"active_install_data.cc",

@ -10,9 +10,6 @@ import("//chrome/test/base/js2gtest.gni")
import("//testing/test.gni")
import("//third_party/closure_compiler/compile_js.gni")
# Prevent Chromium source assignment filters from being inherited.
set_sources_assignment_filter([])
declare_args() {
# Whether to compress the main Chromevox javascript files or load the
# modules individually from source files.

@ -28,12 +28,6 @@ import("//ui/base/ui_features.gni")
import("//ui/ozone/ozone.gni")
import("//ui/views/features.gni")
# Reset sources_assignment_filter for the BUILD.gn file to prevent
# regression during the migration of Chromium away from the feature.
# See docs/no_sources_assignment_filter.md for more information.
# TODO(crbug.com/1018739): remove this when migration is done.
set_sources_assignment_filter([])
# Use a static library here because many test binaries depend on this but don't
# require many files from it. This makes linking more efficient.
static_library("ui") {

@ -22,9 +22,6 @@ if (enable_pdf) {
assert(enable_plugins, "PDF support requires plugins be enabled.")
}
# See docs/no_sources_assignment_filter.md and https://crbug.com/1018739.
set_sources_assignment_filter([])
grit("resources") {
source = "common_resources.grd"
defines = chrome_grit_defines

@ -12,8 +12,6 @@ import("//testing/test.gni")
# dependencies are modified until a presubmit is written to automatically
# check that the C++ includes match the build dependency graph.
set_sources_assignment_filter([])
# TODO(sorin): make the code build on Linux. https://crbug.com/1014320
group("updater") {
if (is_win) {

@ -8,8 +8,6 @@ import("//build/util/process_version.gni")
import("//chrome/updater/branding.gni")
import("//testing/test.gni")
set_sources_assignment_filter([])
source_set("device_management") {
sources = [
"dm_cached_policy_info.cc",

@ -7,12 +7,6 @@ import("//build/util/version.gni")
import("//testing/libfuzzer/fuzzer_test.gni")
import("//tools/grit/grit_rule.gni")
# Reset sources_assignment_filter for the BUILD.gn file to prevent
# regression during the migration of Chromium away from the feature.
# See docs/no_sources_assignment_filter.md for more information.
# TODO(crbug.com/1018739): remove this when migration is done.
set_sources_assignment_filter([])
grit("autofill_address_rewriter_resources") {
source = "autofill_address_rewriter_resources.grd"
outputs = [

@ -2,12 +2,6 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Reset sources_assignment_filter for the BUILD.gn file to prevent
# regression during the migration of Chromium away from the feature.
# See docs/no_sources_assignment_filter.md for more information.
# TODO(crbug.com/1018739): remove this when migration is done.
set_sources_assignment_filter([])
static_library("core") {
sources = [
"article_distillation_update.cc",

@ -5,12 +5,6 @@
import("//build/buildflag_header.gni")
import("//components/gcm_driver/config.gni")
# Reset sources_assignment_filter for the BUILD.gn file to prevent
# regression during the migration of Chromium away from the feature.
# See docs/no_sources_assignment_filter.md for more information.
# TODO(crbug.com/1018739): remove this when migration is done.
set_sources_assignment_filter([])
buildflag_header("gcm_buildflags") {
header = "gcm_buildflags.h"
flags = [ "USE_GCM_FROM_PLATFORM=$use_gcm_from_platform" ]

@ -8,12 +8,6 @@ if (is_android) {
import("//build/config/android/rules.gni")
}
# Reset sources_assignment_filter for the BUILD.gn file to prevent
# regression during the migration of Chromium away from the feature.
# See docs/no_sources_assignment_filter.md for more information.
# TODO(crbug.com/1018739): remove this when migration is done.
set_sources_assignment_filter([])
static_library("instance_id") {
sources = [
"instance_id.cc",

@ -8,12 +8,6 @@ if (is_android) {
import("//build/config/android/rules.gni")
}
# Reset sources_assignment_filter for the BUILD.gn file to prevent
# regression during the migration of Chromium away from the feature.
# See docs/no_sources_assignment_filter.md for more information.
# TODO(crbug.com/1018739): remove this when migration is done.
set_sources_assignment_filter([])
static_library("demographic_metrics_provider") {
sources = [
"demographic_metrics_provider.cc",

@ -2,12 +2,6 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Reset sources_assignment_filter for the BUILD.gn file to prevent
# regression during the migration of Chromium away from the feature.
# See docs/no_sources_assignment_filter.md for more information.
# TODO(crbug.com/1018739): remove this when migration is done.
set_sources_assignment_filter([])
static_library("open_from_clipboard") {
sources = [
"clipboard_recent_content.cc",

@ -8,12 +8,6 @@ import("//build/config/linux/pkg_config.gni")
import("//build/config/ui.gni")
import("//components/os_crypt/features.gni")
# Reset sources_assignment_filter for the BUILD.gn file to prevent
# regression during the migration of Chromium away from the feature.
# See docs/no_sources_assignment_filter.md for more information.
# TODO(crbug.com/1018739): remove this when migration is done.
set_sources_assignment_filter([])
if (use_gnome_keyring) {
# Gnome-keyring is normally dynamically loaded. The gnome_keyring config
# will set this up.

@ -9,12 +9,6 @@ if (is_android) {
import("//build/config/android/config.gni")
}
# Reset sources_assignment_filter for the BUILD.gn file to prevent
# regression during the migration of Chromium away from the feature.
# See docs/no_sources_assignment_filter.md for more information.
# TODO(crbug.com/1018739): remove this when migration is done.
set_sources_assignment_filter([])
# TODO(crbug.com/1006430): Fix password reuse detection not fully functional on
# Android.
password_reuse_detection_support = !is_ios

@ -5,12 +5,6 @@
import("//build/config/features.gni")
import("//testing/libfuzzer/fuzzer_test.gni")
# Reset sources_assignment_filter for the BUILD.gn file to prevent
# regression during the migration of Chromium away from the feature.
# See docs/no_sources_assignment_filter.md for more information.
# TODO(crbug.com/1018739): remove this when migration is done.
set_sources_assignment_filter([])
group("common") {
if (is_component_build) {
public_deps = [ "//components/policy" ]

@ -2,12 +2,6 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Reset sources_assignment_filter for the BUILD.gn file to prevent
# regression during the migration of Chromium away from the feature.
# See docs/no_sources_assignment_filter.md for more information.
# TODO(crbug.com/1018739): remove this when migration is done.
set_sources_assignment_filter([])
static_library("rlz") {
sources = [
"rlz_tracker.cc",

@ -2,12 +2,6 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Reset sources_assignment_filter for the BUILD.gn file to prevent
# regression during the migration of Chromium away from the feature.
# See docs/no_sources_assignment_filter.md for more information.
# TODO(crbug.com/1018739): remove this when migration is done.
set_sources_assignment_filter([])
static_library("search") {
sources = [
"search.cc",

@ -4,12 +4,6 @@
import("//components/signin/features.gni")
# Reset sources_assignment_filter for the BUILD.gn file to prevent
# regression during the migration of Chromium away from the feature.
# See docs/no_sources_assignment_filter.md for more information.
# TODO(crbug.com/1018739): remove this when migration is done.
set_sources_assignment_filter([])
# This target forms the core of the IdentityManager implementation
# (//components/signin/public/identity_manager/identity_manager.*).
source_set("identity_manager") {

@ -4,12 +4,6 @@
import("//build/config/features.gni")
# Reset sources_assignment_filter for the BUILD.gn file to prevent
# regression during the migration of Chromium away from the feature.
# See docs/no_sources_assignment_filter.md for more information.
# TODO(crbug.com/1018739): remove this when migration is done.
set_sources_assignment_filter([])
static_library("sync_device_info") {
sources = [
"device_count_metrics_provider.cc",

@ -5,12 +5,6 @@
import("//net/features.gni")
import("//testing/libfuzzer/fuzzer_test.gni")
# Reset sources_assignment_filter for the BUILD.gn file to prevent
# regression during the migration of Chromium away from the feature.
# See docs/no_sources_assignment_filter.md for more information.
# TODO(crbug.com/1018739): remove this when migration is done.
set_sources_assignment_filter([])
source_set("network_impl") {
sources = [
"net/network_chromium.h",

@ -6,12 +6,6 @@ if (is_android) {
import("//build/config/android/rules.gni")
}
# Reset sources_assignment_filter for the BUILD.gn file to prevent
# regression during the migration of Chromium away from the feature.
# See docs/no_sources_assignment_filter.md for more information.
# TODO(crbug.com/1018739): remove this when migration is done.
set_sources_assignment_filter([])
static_library("skeleton_generator") {
sources = [
"spoof_checks/skeleton_generator.cc",

@ -23,12 +23,6 @@ if (current_cpu == "mipsel" || current_cpu == "mips64el") {
import("//build/config/mips.gni")
}
# Reset sources_assignment_filter for the BUILD.gn file to prevent
# regression during the migration of Chromium away from the feature.
# See docs/no_sources_assignment_filter.md for more information.
# TODO(crbug.com/1018739): remove this when migration is done.
set_sources_assignment_filter([])
skia_support_gpu = !is_ios
skia_support_pdf = !is_ios && enable_basic_printing
skia_support_skottie = true

@ -19,12 +19,6 @@ if (is_win) {
import("//build/toolchain/win/midl.gni")
}
# Reset sources_assignment_filter for the BUILD.gn file to prevent
# regression during the migration of Chromium away from the feature.
# See docs/no_sources_assignment_filter.md for more information.
# TODO(crbug.com/1018739): remove this when migration is done.
set_sources_assignment_filter([])
mojom("ax_constants_mojo") {
sources = [ "ax_constants.mojom" ]
}

@ -23,12 +23,6 @@ if (is_android) {
import("//build/config/mac/rules.gni")
}
# Reset sources_assignment_filter for the BUILD.gn file to prevent
# regression during the migration of Chromium away from the feature.
# See docs/no_sources_assignment_filter.md for more information.
# TODO(crbug.com/1018739): remove this when migration is done.
set_sources_assignment_filter([])
build_ime = !is_ios
# As part of building Chrome on iOS, it is necessary to run a tool on

@ -6,12 +6,6 @@ import("///ui/ozone/ozone.gni")
import("//build/config/chromeos/ui_mode.gni")
import("//build/config/ui.gni")
# Reset sources_assignment_filter for the BUILD.gn file to prevent
# regression during the migration of Chromium away from the feature.
# See docs/no_sources_assignment_filter.md for more information.
# TODO(crbug.com/1018739): remove this when migration is done.
set_sources_assignment_filter([])
component("clipboard_types") {
output_name = "ui_base_clipboard_types"
sources = [

@ -8,12 +8,6 @@ if (is_mac) {
import("//build/config/mac/rules.gni")
}
# Reset sources_assignment_filter for the BUILD.gn file to prevent
# regression during the migration of Chromium away from the feature.
# See docs/no_sources_assignment_filter.md for more information.
# TODO(crbug.com/1018739): remove this when migration is done.
set_sources_assignment_filter([])
component("idle") {
output_name = "ui_base_idle"

@ -5,12 +5,6 @@
import("//build/config/ui.gni")
import("//testing/test.gni")
# Reset sources_assignment_filter for the BUILD.gn file to prevent
# regression during the migration of Chromium away from the feature.
# See docs/no_sources_assignment_filter.md for more information.
# TODO(crbug.com/1018739): remove this when migration is done.
set_sources_assignment_filter([])
component("compositor") {
sources = [
"animation_metrics_recorder.cc",

@ -6,12 +6,6 @@ import("//build/config/ui.gni")
import("//testing/test.gni")
import("//ui/display/display.gni")
# Reset sources_assignment_filter for the BUILD.gn file to prevent
# regression during the migration of Chromium away from the feature.
# See docs/no_sources_assignment_filter.md for more information.
# TODO(crbug.com/1018739): remove this when migration is done.
set_sources_assignment_filter([])
component("display") {
sources = [
"display.cc",

@ -16,12 +16,6 @@ if (is_ios) {
import("//ios/build/config.gni")
}
# Reset sources_assignment_filter for the BUILD.gn file to prevent
# regression during the migration of Chromium away from the feature.
# See docs/no_sources_assignment_filter.md for more information.
# TODO(crbug.com/1018739): remove this when migration is done.
set_sources_assignment_filter([])
static_library("dom_keycode_converter") {
public = [
"keycodes/dom/dom_code.h",

@ -7,12 +7,6 @@ if (is_android) {
import("//build/config/android/rules.gni")
}
# Reset sources_assignment_filter for the BUILD.gn file to prevent
# regression during the migration of Chromium away from the feature.
# See docs/no_sources_assignment_filter.md for more information.
# TODO(crbug.com/1018739): remove this when migration is done.
set_sources_assignment_filter([])
component("devices") {
sources = [
"device_data_manager.cc",

@ -12,12 +12,6 @@ if (is_android) {
import("//build/config/android/rules.gni")
}
# Reset sources_assignment_filter for the BUILD.gn file to prevent
# regression during the migration of Chromium away from the feature.
# See docs/no_sources_assignment_filter.md for more information.
# TODO(crbug.com/1018739): remove this when migration is done.
set_sources_assignment_filter([])
# Several targets want to include this header file, and some of them are
# child dependencies of "gfx". Therefore, we separate it out here so multiple
# targets can all have a dependency for header checking purposes without

@ -4,12 +4,6 @@
import("//build/config/ui.gni")
# Reset sources_assignment_filter for the BUILD.gn file to prevent
# regression during the migration of Chromium away from the feature.
# See docs/no_sources_assignment_filter.md for more information.
# TODO(crbug.com/1018739): remove this when migration is done.
set_sources_assignment_filter([])
if (is_android) {
import("//build/config/android/config.gni")
import("//build/config/android/rules.gni")

@ -2,12 +2,6 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Reset sources_assignment_filter for the BUILD.gn file to prevent
# regression during the migration of Chromium away from the feature.
# See docs/no_sources_assignment_filter.md for more information.
# TODO(crbug.com/1018739): remove this when migration is done.
set_sources_assignment_filter([])
component("range") {
sources = [
"gfx_range_export.h",

@ -24,12 +24,6 @@ if (is_android) {
import("//build/config/android/rules.gni")
}
# Reset sources_assignment_filter for the BUILD.gn file to prevent
# regression during the migration of Chromium away from the feature.
# See docs/no_sources_assignment_filter.md for more information.
# TODO(crbug.com/1018739): remove this when migration is done.
set_sources_assignment_filter([])
buildflag_header("buildflags") {
header = "buildflags.h"
flags = [

@ -5,12 +5,6 @@
import("//build/config/ui.gni")
import("//testing/test.gni")
# Reset sources_assignment_filter for the BUILD.gn file to prevent
# regression during the migration of Chromium away from the feature.
# See docs/no_sources_assignment_filter.md for more information.
# TODO(crbug.com/1018739): remove this when migration is done.
set_sources_assignment_filter([])
component("native_theme") {
sources = [
"caption_style.cc",

@ -12,12 +12,6 @@ if (is_mac) {
import("//build/config/mac/rules.gni")
}
# Reset sources_assignment_filter for the BUILD.gn file to prevent
# regression during the migration of Chromium away from the feature.
# See docs/no_sources_assignment_filter.md for more information.
# TODO(crbug.com/1018739): remove this when migration is done.
set_sources_assignment_filter([])
component("shell_dialogs") {
sources = [
"base_shell_dialog.cc",

@ -5,12 +5,6 @@
import("//build/config/ui.gni")
import("//testing/test.gni")
# Reset sources_assignment_filter for the BUILD.gn file to prevent
# regression during the migration of Chromium away from the feature.
# See docs/no_sources_assignment_filter.md for more information.
# TODO(crbug.com/1018739): remove this when migration is done.
set_sources_assignment_filter([])
component("snapshot") {
sources = [
"screenshot_grabber.cc",

@ -13,12 +13,6 @@ import("//ui/views/features.gni")
assert(toolkit_views)
# Reset sources_assignment_filter for the BUILD.gn file to prevent
# regression during the migration of Chromium away from the feature.
# See docs/no_sources_assignment_filter.md for more information.
# TODO(crbug.com/1018739): remove this when migration is done.
set_sources_assignment_filter([])
config("flags") {
defines = [ "TOOLKIT_VIEWS=1" ]
}

@ -2,12 +2,6 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Reset sources_assignment_filter for the BUILD.gn file to prevent
# regression during the migration of Chromium away from the feature.
# See docs/no_sources_assignment_filter.md for more information.
# TODO(crbug.com/1018739): remove this when migration is done.
set_sources_assignment_filter([])
component("webview") {
sources = [
"unhandled_keyboard_event_handler.cc",

@ -4,12 +4,6 @@
import("//build/config/ui.gni")
# Reset sources_assignment_filter for the BUILD.gn file to prevent
# regression during the migration of Chromium away from the feature.
# See docs/no_sources_assignment_filter.md for more information.
# TODO(crbug.com/1018739): remove this when migration is done.
set_sources_assignment_filter([])
component("views_content_client") {
testonly = true
sources = [