Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Side by Side Diff: chrome/browser/BUILD.gn

Issue 2272173002: Fix most chrome/browser/ui "gn check" problems. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 import("//build/config/crypto.gni") 6 import("//build/config/crypto.gni")
7 import("//build/config/features.gni") 7 import("//build/config/features.gni")
8 import("//build/config/ui.gni") 8 import("//build/config/ui.gni")
9 import("//build/split_static_library.gni") 9 import("//build/split_static_library.gni")
10 import("//chrome/common/features.gni") 10 import("//chrome/common/features.gni")
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 defines = [] 66 defines = []
67 sources = [] 67 sources = []
68 libs = [] 68 libs = []
69 ldflags = [] 69 ldflags = []
70 70
71 allow_circular_includes_from = [ "//chrome/browser/ui" ] 71 allow_circular_includes_from = [ "//chrome/browser/ui" ]
72 72
73 # iOS/non-iOS shared deps. New dependencies should generally be added in the 73 # iOS/non-iOS shared deps. New dependencies should generally be added in the
74 # non-iOS deps below. 74 # non-iOS deps below.
75 public_deps = [ 75 public_deps = [
76 "//chrome/common",
76 "//components/autofill/core/browser", 77 "//components/autofill/core/browser",
77 "//components/sync", 78 "//components/sync",
78 "//content/public/browser", 79 "//content/public/browser",
79 "//sql", 80 "//sql",
80 ] 81 ]
81 deps = [ 82 deps = [
82 "//chrome:extra_resources", 83 "//chrome:extra_resources",
83 "//chrome:resources", 84 "//chrome:resources",
84 "//chrome:strings", 85 "//chrome:strings",
85 "//chrome/app/resources:platform_locale_settings", 86 "//chrome/app/resources:platform_locale_settings",
86 "//chrome/app/theme:theme_resources", 87 "//chrome/app/theme:theme_resources",
87 "//chrome/browser/budget_service:budget_proto", 88 "//chrome/browser/budget_service:budget_proto",
88 "//chrome/browser/metrics/variations:chrome_ui_string_overrider_factory", 89 "//chrome/browser/metrics/variations:chrome_ui_string_overrider_factory",
89 "//chrome/browser/net:probe_message_proto", 90 "//chrome/browser/net:probe_message_proto",
90 "//chrome/browser/ui", 91 "//chrome/browser/ui",
91 "//chrome/common",
92 "//components/autofill/core/browser", 92 "//components/autofill/core/browser",
93 "//components/bookmarks/browser", 93 "//components/bookmarks/browser",
94 "//components/bookmarks/managed", 94 "//components/bookmarks/managed",
95 "//components/browser_sync/browser", 95 "//components/browser_sync/browser",
96 "//components/browser_sync/common", 96 "//components/browser_sync/common",
97 "//components/captive_portal", 97 "//components/captive_portal",
98 "//components/certificate_reporting", 98 "//components/certificate_reporting",
99 "//components/certificate_transparency", 99 "//components/certificate_transparency",
100 "//components/cloud_devices/common", 100 "//components/cloud_devices/common",
101 "//components/component_updater", 101 "//components/component_updater",
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 ] 431 ]
432 } 432 }
433 if (enable_extensions) { 433 if (enable_extensions) {
434 public_deps += [ "//chrome/browser/extensions" ] 434 public_deps += [ "//chrome/browser/extensions" ]
435 allow_circular_includes_from += [ "//chrome/browser/extensions" ] 435 allow_circular_includes_from += [ "//chrome/browser/extensions" ]
436 deps += [ 436 deps += [
437 "//chrome/browser/sync_file_system/drive_backend:sync_file_system_drive_pr oto", 437 "//chrome/browser/sync_file_system/drive_backend:sync_file_system_drive_pr oto",
438 "//chrome/common/extensions/api", 438 "//chrome/common/extensions/api",
439 "//chrome/common/extensions/api:api_registration", 439 "//chrome/common/extensions/api:api_registration",
440 "//chrome/common/extensions/api:extensions_features", 440 "//chrome/common/extensions/api:extensions_features",
441 "//components/drive:drive", 441 "//components/drive",
442 "//components/proximity_auth/ble", 442 "//components/proximity_auth/ble",
443 "//components/proximity_auth/cryptauth", 443 "//components/proximity_auth/cryptauth",
444 "//extensions/components/javascript_dialog_extensions_client", 444 "//extensions/components/javascript_dialog_extensions_client",
445 "//media/cast:net", 445 "//media/cast:net",
446 ] 446 ]
447 sources += rebase_path(gypi_values.chrome_browser_extensions_sources, 447 sources += rebase_path(gypi_values.chrome_browser_extensions_sources,
448 ".", 448 ".",
449 "//chrome") 449 "//chrome")
450 } 450 }
451 if (enable_background) { 451 if (enable_background) {
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
615 rebase_path(gypi_values.chrome_browser_ash_sources, ".", "//chrome") 615 rebase_path(gypi_values.chrome_browser_ash_sources, ".", "//chrome")
616 deps += [ "//ash" ] 616 deps += [ "//ash" ]
617 } 617 }
618 618
619 if (use_x11) { 619 if (use_x11) {
620 sources += 620 sources +=
621 rebase_path(gypi_values.chrome_browser_x11_sources, ".", "//chrome") 621 rebase_path(gypi_values.chrome_browser_x11_sources, ".", "//chrome")
622 } else { 622 } else {
623 sources -= [ "password_manager/password_store_x.cc" ] 623 sources -= [ "password_manager/password_store_x.cc" ]
624 } 624 }
625 if (use_aura && !use_ozone && is_desktop_linux) {
626 deps += [ "//chrome/browser/ui/libgtk2ui" ]
627 allow_circular_includes_from += [ "//chrome/browser/ui/libgtk2ui" ]
628 }
625 if (is_posix && !is_mac && !is_ios) { 629 if (is_posix && !is_mac && !is_ios) {
626 sources += [ 630 sources += [
627 "//chrome/app/chrome_crash_reporter_client.cc", 631 "//chrome/app/chrome_crash_reporter_client.cc",
628 "//chrome/app/chrome_crash_reporter_client.h", 632 "//chrome/app/chrome_crash_reporter_client.h",
629 ] 633 ]
630 deps += [ 634 deps += [
631 "//components/crash/content/app", 635 "//components/crash/content/app",
632 "//components/crash/content/browser", 636 "//components/crash/content/browser",
633 "//components/version_info:generate_version_info", 637 "//components/version_info:generate_version_info",
634 ] 638 ]
(...skipping 725 matching lines...) Expand 10 before | Expand all | Expand 10 after
1360 # linking all of the test support. 1364 # linking all of the test support.
1361 static_library("pepper_cdm_test_constants") { 1365 static_library("pepper_cdm_test_constants") {
1362 testonly = true 1366 testonly = true
1363 visibility = [ "//chrome/*" ] 1367 visibility = [ "//chrome/*" ]
1364 sources = [ 1368 sources = [
1365 "media/pepper_cdm_test_constants.cc", 1369 "media/pepper_cdm_test_constants.cc",
1366 "media/pepper_cdm_test_constants.h", 1370 "media/pepper_cdm_test_constants.h",
1367 ] 1371 ]
1368 } 1372 }
1369 } 1373 }
OLDNEW
« no previous file with comments | « .gn ('k') | chrome/browser/ui/BUILD.gn » ('j') | chrome/browser/ui/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698