blob: 556c489c8890c1cad6c2383bd01589e35dcab154 [file] [log] [blame]
[email protected]77ce8022014-06-16 19:29:561# Copyright 2014 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
brettw2b2364b2015-05-01 22:36:235import("//build/config/chrome_build.gni")
[email protected]dffd8a912014-06-30 23:24:316import("//build/config/crypto.gni")
7import("//build/config/features.gni")
8import("//build/config/ui.gni")
xhwang5e630462015-10-30 03:18:489import("//media/media_options.gni")
pkotwicz127726f2015-05-29 15:20:1210import("//third_party/protobuf/proto_library.gni")
scottmga266f952014-12-03 20:47:1011
James Robinson2ed4d692014-09-17 05:20:5812# //build/config/android/rules.gni imports //tools/grit/grit_rule.gni, which
13# produces a conflict for the "grit" template so we have to only include one.
14if (is_android) {
15 import("//build/config/android/rules.gni")
16} else {
17 import("//tools/grit/grit_rule.gni")
18}
cmasone0a9e4ca2014-10-16 16:40:4919if (is_desktop_linux) {
20 import("//build/config/linux/pkg_config.gni")
21}
[email protected]77ce8022014-06-16 19:29:5622
amistryf269d3b2015-06-09 19:18:3923declare_args() {
mgiuca3cd6a822015-08-07 00:46:1324 # 'Ok Google' hotwording is disabled by default. Set to true to enable. (This
25 # will download a closed-source NaCl module at startup.) Chrome-branded
26 # ChromeOS builds have this enabled by default.
27 enable_hotwording = is_chrome_branded && is_chromeos
amistryf269d3b2015-06-09 19:18:3928}
29
[email protected]77ce8022014-06-16 19:29:5630additional_modules_list_file =
31 "$root_gen_dir/chrome/browser/internal/additional_modules_list.txt"
32
scottmga266f952014-12-03 20:47:1033gypi_values = exec_script("//build/gypi_to_gn.py",
34 [ rebase_path("../chrome_browser.gypi") ],
35 "scope",
36 [ "../chrome_browser.gypi" ])
[email protected]dffd8a912014-06-30 23:24:3137
mmenkede134672015-08-18 01:33:3938if (is_win) {
39 # This is in a separate config so the flags can be applied to dependents.
40 # ldflags in GN aren't automatically inherited.
41 config("browser_win_linker_flags") {
42 libs = [
43 "credui.lib",
44 "netapi32.lib",
45 "ndfapi.lib", # Used by browser/net/net_error_diagnostics_dialog_win.h
46 ]
47 ldflags = [ "/DELAYLOAD:ndfapi.dll" ]
48 }
49}
50
cmasone0a9e4ca2014-10-16 16:40:4951if (is_desktop_linux) {
brettwa68ea2b2015-02-01 02:54:0752 # Gnome-keyring is normally dynamically loaded. The gnome_keyring config
53 # will set this up.
cmasone0a9e4ca2014-10-16 16:40:4954 pkg_config("gnome_keyring") {
55 packages = [ "gnome-keyring-1" ]
brettwa68ea2b2015-02-01 02:54:0756 defines = [
57 "USE_GNOME_KEYRING",
58 "DLOPEN_GNOME_KEYRING",
59 ]
60 ignore_libs = true
61 }
62
63 # If you want to link gnome-keyring directly (use only for unit tests)
64 # ADDITIONALLY add this config on top of ":gnome_keyring". pkg-config is a
65 # bit slow, so prefer not to run it again. In practice, gnome-keyring's libs
66 # are just itself and common gnome ones we link already, so we can get away
67 # with additionally just coding the library name here.
68 config("gnome_keyring_direct") {
69 libs = [ "gnome-keyring" ]
cmasone0a9e4ca2014-10-16 16:40:4970 }
71}
72
brettw44a5cf82015-04-08 19:48:2273source_set("browser") {
apavlove749bca2014-09-30 11:07:4174 configs += [
75 "//build/config/compiler:wexit_time_destructors",
brettwbc8b2a22015-07-28 18:24:4276 "//build/config:precompiled_headers",
apavlove749bca2014-09-30 11:07:4177 "//third_party/WebKit/public:debug_devtools",
78 ]
[email protected]dffd8a912014-06-30 23:24:3179 defines = []
80 sources = []
81 libs = []
82 ldflags = []
83
84 # iOS/non-iOS shared deps. New dependencies should generally be added in the
85 # non-iOS deps below.
Brett Wilsone53895272014-09-23 23:41:4686 public_deps = [
87 "//components/autofill/core/browser",
88 "//content/public/browser",
89 "//sql",
90 "//sync",
91 ]
[email protected]dffd8a912014-06-30 23:24:3192 deps = [
93 "//base/allocator",
94 "//chrome:extra_resources",
95 "//chrome:resources",
96 "//chrome:strings",
[email protected]855b7de2014-07-08 21:02:4597 "//chrome/app/resources:platform_locale_settings",
[email protected]797b25042014-07-01 23:54:1798 "//chrome/app/theme:theme_resources",
sdefresnea213ceb2015-10-05 09:23:3999 "//chrome/browser/metrics/variations:chrome_ui_string_overrider_factory",
[email protected]797b25042014-07-01 23:54:17100 "//chrome/browser/net:probe_message_proto",
[email protected]abd4b682014-07-16 20:26:30101 "//chrome/browser/ui",
[email protected]dffd8a912014-06-30 23:24:31102 "//chrome/common",
[email protected]604828c2014-07-02 20:39:12103 "//components/autofill/core/browser",
Brett Wilson1c693992014-08-25 19:10:01104 "//components/bookmarks/browser",
treiba9ea2fb2015-03-20 10:06:03105 "//components/bookmarks/managed",
[email protected]b9f4c682014-07-10 22:00:37106 "//components/captive_portal",
estark334673f42015-09-08 14:51:39107 "//components/certificate_reporting",
[email protected]fca567b2014-07-02 17:37:34108 "//components/cloud_devices/common",
Brett Wilson1c693992014-08-25 19:10:01109 "//components/component_updater",
blundell64fedf12015-08-25 12:22:27110 "//components/compression",
vabrfc325fa2015-04-10 16:24:45111 "//components/content_settings/content/common",
vasiliiac461392014-09-18 11:35:17112 "//components/content_settings/core/browser",
[email protected]08f71012014-07-25 10:27:54113 "//components/content_settings/core/common",
abhishek.a21bbf8e4a2015-10-15 21:05:56114 "//components/cookie_config",
[email protected]478ed232014-08-19 02:10:55115 "//components/crx_file",
megjablon3476e042014-10-14 19:21:59116 "//components/data_reduction_proxy/core/browser",
sclittleae932be2015-10-08 20:53:50117 "//components/data_usage/core",
amohammadkhanf76ae112015-09-14 17:34:43118 "//components/data_use_measurement/core",
reillyg4a849272015-02-20 21:38:43119 "//components/device_event_log",
[email protected]273ae5ab2014-07-09 21:10:25120 "//components/domain_reliability",
noyaudaaac3a2014-10-08 11:11:11121 "//components/enhanced_bookmarks",
sdefresnecbacfd72015-03-20 12:11:32122 "//components/favicon/core",
sdefresne001b10de2015-03-20 18:41:46123 "//components/favicon_base",
droger888be0b2015-10-01 14:28:52124 "//components/flags_ui",
[email protected]abd4b682014-07-16 20:26:30125 "//components/gcm_driver",
jianli2104ce612015-05-06 00:24:34126 "//components/gcm_driver/instance_id",
Brett Wilson1c693992014-08-25 19:10:01127 "//components/google/core/browser",
fsamuelaf5bf6d12015-05-28 16:29:54128 "//components/guest_view/browser",
erikchen332265b2014-11-14 19:59:52129 "//components/handoff",
[email protected]273ae5ab2014-07-09 21:10:25130 "//components/history/core/browser",
131 "//components/history/core/common",
Brett Wilson1c693992014-08-25 19:10:01132 "//components/infobars/core",
knn062cdbb2015-06-26 18:18:42133 "//components/invalidation/impl",
gunsch1afc65172014-09-16 00:03:32134 "//components/metrics:gpu",
[email protected]fca567b2014-07-02 17:37:34135 "//components/metrics:net",
gunsch840bc412014-09-18 19:38:06136 "//components/metrics:profiler",
blundell218124c22015-10-15 10:36:35137 "//components/metrics:profiler_content",
Brett Wilson1c693992014-08-25 19:10:01138 "//components/metrics/proto:proto",
blundell8e66adc2015-10-12 11:46:12139 "//components/metrics:ui",
blundell695d61f2015-10-21 11:25:53140 "//components/metrics_services_manager",
rsleevic327b48f82015-04-30 02:03:25141 "//components/mime_util",
[email protected]fca567b2014-07-02 17:37:34142 "//components/navigation_metrics",
Brett Wilson1c693992014-08-25 19:10:01143 "//components/network_time",
fgorskife7b92f2015-06-15 19:19:40144 "//components/offline_pages",
blundell2102f7c2015-07-09 10:00:53145 "//components/omnibox/browser",
[email protected]fca567b2014-07-02 17:37:34146 "//components/os_crypt",
haavardmdfdf28f2015-01-08 21:05:00147 "//components/packed_ct_ev_whitelist",
Brett Wilson1c693992014-08-25 19:10:01148 "//components/password_manager/core/browser",
149 "//components/password_manager/core/common",
[email protected]fca567b2014-07-02 17:37:34150 "//components/policy:policy_component",
stevenjbb237e2ae2015-07-02 22:02:11151 "//components/proxy_config",
[email protected]fca567b2014-07-02 17:37:34152 "//components/query_parser",
[email protected]b9f4c682014-07-10 22:00:37153 "//components/rappor",
Brett Wilson1c693992014-08-25 19:10:01154 "//components/renderer_context_menu",
[email protected]720b10492014-07-23 08:48:40155 "//components/search",
Brett Wilson1c693992014-08-25 19:10:01156 "//components/search_engines",
157 "//components/search_provider_logos",
felt20e0f2002015-07-31 15:27:36158 "//components/security_interstitials/core",
[email protected]abd4b682014-07-16 20:26:30159 "//components/signin/core/browser",
felt2493b4452015-09-17 20:33:59160 "//components/ssl_errors",
[email protected]abd4b682014-07-16 20:26:30161 "//components/startup_metric_utils",
[email protected]797b25042014-07-01 23:54:17162 "//components/strings",
mathp60143a32014-10-08 14:52:45163 "//components/suggestions",
blundellc759b682015-10-08 15:50:59164 "//components/sync_bookmarks",
Brett Wilson1c693992014-08-25 19:10:01165 "//components/sync_driver",
skym6b9887e2015-10-09 22:10:47166 "//components/sync_sessions",
zhenwecedcf22015-08-18 23:37:46167 "//components/tracing:startup_tracing",
[email protected]b9f4c682014-07-10 22:00:37168 "//components/translate/core/browser",
169 "//components/translate/core/common",
brettw0741cb1c2015-08-21 22:06:00170 "//components/ui/zoom",
sdefresnec083d1f2015-04-17 21:12:18171 "//components/undo",
sorin39eab2f2015-01-06 01:09:08172 "//components/update_client",
rsleevi24f64dc22015-08-07 21:39:21173 "//components/url_formatter",
[email protected]fca567b2014-07-02 17:37:34174 "//components/user_prefs",
jitendra.ks94c0b962015-08-10 08:24:09175 "//components/user_prefs/tracked:user_prefs_tracked",
isherman3be67db2014-10-24 05:57:44176 "//components/variations",
177 "//components/variations/net",
blundellb50ad702015-08-27 17:08:29178 "//components/variations/service",
[email protected]bf4545f2014-07-11 19:49:46179 "//components/webdata/common",
sdefresnecb955cd2014-12-15 23:21:56180 "//components/webdata_services",
drogerf8479942014-11-21 17:47:53181 "//components/web_resource",
[email protected]dffd8a912014-06-30 23:24:31182 "//content/public/browser",
183 "//content/public/common",
[email protected]604828c2014-07-02 20:39:12184 "//courgette:courgette_lib",
[email protected]dffd8a912014-06-30 23:24:31185 "//crypto",
[email protected]604828c2014-07-02 20:39:12186 "//google_apis",
Brett Wilson8f1323042014-09-11 16:58:56187 "//gpu/config",
[email protected]dffd8a912014-06-30 23:24:31188 "//skia",
189 "//sql",
190 "//sync",
[email protected]797b25042014-07-01 23:54:17191 "//third_party/cacheinvalidation",
[email protected]dffd8a912014-06-30 23:24:31192 "//third_party/icu",
193 "//third_party/libxml",
ajwongf7b1cb692014-08-23 21:36:22194 "//third_party/libjingle",
[email protected]dffd8a912014-06-30 23:24:31195 "//third_party/widevine/cdm:version_h",
196 "//third_party/zlib",
197 "//third_party/zlib:minizip",
198 "//third_party/zlib:zip",
199 "//ui/base",
cjhopman09981a92014-10-27 17:11:18200 "//ui/events:events_base",
[email protected]dffd8a912014-06-30 23:24:31201 "//ui/gfx",
202 "//ui/gfx/geometry",
[email protected]a1d7d4f2014-07-16 21:33:36203 "//ui/message_center",
204 "//ui/shell_dialogs",
[email protected]dffd8a912014-06-30 23:24:31205 "//ui/strings",
[email protected]797b25042014-07-01 23:54:17206 "//ui/resources",
[email protected]dffd8a912014-06-30 23:24:31207 ]
208
scottmga266f952014-12-03 20:47:10209 sources +=
210 rebase_path(gypi_values.chrome_browser_undo_sources, ".", "//chrome")
danduongd81789642014-09-23 02:50:00211
[email protected]dffd8a912014-06-30 23:24:31212 if (!is_ios) {
scottmga266f952014-12-03 20:47:10213 sources +=
214 rebase_path(gypi_values.chrome_browser_non_ios_sources, ".", "//chrome")
stuartmorgancd5b6042014-11-17 16:52:59215 sources += rebase_path(gypi_values.chrome_browser_autocomplete_sources,
scottmga266f952014-12-03 20:47:10216 ".",
217 "//chrome")
stuartmorgancd5b6042014-11-17 16:52:59218 sources += rebase_path(gypi_values.chrome_browser_bookmark_sources,
scottmga266f952014-12-03 20:47:10219 ".",
220 "//chrome")
stuartmorgan997cf23d2014-12-04 21:01:18221 sources += rebase_path(gypi_values.chrome_browser_browser_process_sources,
222 ".",
223 "//chrome")
224 sources += rebase_path(gypi_values.chrome_browser_content_settings_sources,
225 ".",
226 "//chrome")
benwellsedf5e082015-04-23 02:45:14227 sources += rebase_path(gypi_values.chrome_browser_engagement_sources,
228 ".",
229 "//chrome")
scottmga266f952014-12-03 20:47:10230 sources +=
231 rebase_path(gypi_values.chrome_browser_favicon_sources, ".", "//chrome")
232 sources +=
233 rebase_path(gypi_values.chrome_browser_google_sources, ".", "//chrome")
234 sources +=
235 rebase_path(gypi_values.chrome_browser_history_sources, ".", "//chrome")
236 sources +=
237 rebase_path(gypi_values.chrome_browser_metrics_sources, ".", "//chrome")
238 sources +=
239 rebase_path(gypi_values.chrome_browser_net_sources, ".", "//chrome")
stuartmorgancd5b6042014-11-17 16:52:59240 sources += rebase_path(gypi_values.chrome_browser_password_manager_sources,
scottmga266f952014-12-03 20:47:10241 ".",
242 "//chrome")
mlamouri4e372022015-03-29 14:51:06243 sources += rebase_path(gypi_values.chrome_browser_permissions_sources,
244 ".",
245 "//chrome")
stuartmorgancd5b6042014-11-17 16:52:59246 sources += rebase_path(gypi_values.chrome_browser_predictor_sources,
scottmga266f952014-12-03 20:47:10247 ".",
248 "//chrome")
249 sources +=
250 rebase_path(gypi_values.chrome_browser_pref_sources, ".", "//chrome")
stuartmorgancd5b6042014-11-17 16:52:59251 sources += rebase_path(gypi_values.chrome_browser_profiles_sources,
scottmga266f952014-12-03 20:47:10252 ".",
253 "//chrome")
stuartmorgancd5b6042014-11-17 16:52:59254 sources += rebase_path(gypi_values.chrome_browser_search_engines_sources,
scottmga266f952014-12-03 20:47:10255 ".",
256 "//chrome")
stuartmorgancd5b6042014-11-17 16:52:59257 sources += rebase_path(gypi_values.chrome_browser_services_sources,
scottmga266f952014-12-03 20:47:10258 ".",
259 "//chrome")
260 sources +=
stuartmorgan997cf23d2014-12-04 21:01:18261 rebase_path(gypi_values.chrome_browser_session_sources, ".", "//chrome")
262 sources +=
scottmga266f952014-12-03 20:47:10263 rebase_path(gypi_values.chrome_browser_signin_sources, ".", "//chrome")
264 sources +=
stuartmorgan997cf23d2014-12-04 21:01:18265 rebase_path(gypi_values.chrome_browser_ssl_sources, ".", "//chrome")
266 sources +=
scottmga266f952014-12-03 20:47:10267 rebase_path(gypi_values.chrome_browser_sync_sources, ".", "//chrome")
stuartmorgancd5b6042014-11-17 16:52:59268 sources += rebase_path(gypi_values.chrome_browser_web_resource_sources,
scottmga266f952014-12-03 20:47:10269 ".",
270 "//chrome")
271
[email protected]dffd8a912014-06-30 23:24:31272 deps += [
Brett Wilson1c693992014-08-25 19:10:01273 "//apps",
[email protected]dffd8a912014-06-30 23:24:31274 "//cc",
brettwca934582015-02-24 21:50:27275 "//chrome/app/theme:theme_resources",
[email protected]55699f392014-08-20 22:16:30276 "//chrome/browser/devtools",
sdefresnea213ceb2015-10-05 09:23:39277 "//chrome/browser/metrics/variations:chrome_ui_string_overrider_factory",
brettwca934582015-02-24 21:50:27278 "//chrome/browser/resources:component_extension_resources",
tfarina04d426612015-08-18 16:42:33279 "//chrome/common/net",
[email protected]55699f392014-08-20 22:16:30280 "//chrome/installer/util",
jitendra.ks4f2e9112015-08-14 11:40:26281 "//components/about_handler",
oshimaf65398422014-11-18 23:30:42282 "//components/app_modal",
[email protected]b9f4c682014-07-10 22:00:37283 "//components/autofill/content/browser",
lazyboy14082d22015-04-02 01:04:58284 "//components/browsing_data",
jeremyim364ac1182015-03-03 18:49:43285 "//components/data_reduction_proxy/content/browser",
amohammadkhan092adb22015-09-11 21:08:49286 "//components/data_use_measurement/content",
dgozmanec2b982a2015-04-28 10:36:39287 "//components/devtools_discovery",
dgozman102fee92015-04-20 15:45:46288 "//components/devtools_http_handler",
mdjones1c47b052015-07-22 19:15:39289 "//components/dom_distiller/content:content_browser",
tfarina041134472015-09-02 15:29:38290 "//components/error_page/common",
sdefresne001b10de2015-03-20 18:41:46291 "//components/favicon/content",
sdefresne715246622015-01-12 16:24:04292 "//components/history/content/browser",
[email protected]fca567b2014-07-02 17:37:34293 "//components/keyed_service/content",
[email protected]55699f392014-08-20 22:16:30294 "//components/navigation_interception",
drogerc690e8802015-09-21 14:29:16295 "//components/net_log",
tfarina041134472015-09-02 15:29:38296 "//components/network_hints/common",
[email protected]55699f392014-08-20 22:16:30297 "//components/password_manager/content/browser",
vabr5410d0b2015-08-07 11:02:04298 "//components/password_manager/sync/browser",
dbeam155ac972015-04-20 15:34:48299 "//components/plugins/common",
droger78da6542015-11-02 11:25:59300 "//components/profile_metrics",
abhishek.a2171c612852015-08-31 10:48:19301 "//components/proxy_config",
droger2a6ab542015-10-09 16:10:28302 "//components/resources",
vakh9d5888022015-10-29 21:04:07303 "//components/safe_browsing_db",
bauerbf0e64aa2015-06-25 15:54:07304 "//components/safe_json",
brettwa22cb3b2015-04-30 20:23:12305 "//components/sessions",
abhishek.a212849cee2015-10-20 11:27:29306 "//components/ssl_config",
[email protected]abd4b682014-07-16 20:26:30307 "//components/storage_monitor",
sdefresne875d0782015-09-16 12:01:28308 "//components/syncable_prefs",
[email protected]b9f4c682014-07-10 22:00:37309 "//components/translate/content/browser",
sdefresne44eb1f22015-08-06 08:51:55310 "//components/upload_list",
[email protected]fca567b2014-07-02 17:37:34311 "//components/url_matcher",
[email protected]dffd8a912014-06-30 23:24:31312 "//components/visitedlink/browser",
313 "//components/visitedlink/common",
hanxi149b92d2014-09-11 21:57:18314 "//components/web_cache/browser",
[email protected]b9f4c682014-07-10 22:00:37315 "//components/web_modal",
[email protected]a9ca8d52014-08-22 10:21:08316 "//content/app/resources",
finnur61535c702015-10-05 11:10:02317 "//device/devices_app/usb/public/interfaces",
[email protected]55699f392014-08-20 22:16:30318 "//media",
yhiranobbea6272015-09-17 07:09:03319 "//media/midi",
rockot50dc5692015-07-08 01:57:26320 "//mojo/application/public/cpp",
cjhopman09981a92014-10-27 17:11:18321 "//mojo/common",
[email protected]604828c2014-07-02 20:39:12322 "//mojo/environment:chromium",
Brett Wilson83fd4242014-09-02 19:45:33323 "//net:extras",
[email protected]dffd8a912014-06-30 23:24:31324 "//net:net_with_v8",
pilgrim4af8c212014-09-05 17:30:15325 "//storage/browser",
pilgrimf55d19fc2014-09-04 00:05:24326 "//storage/common",
erga3c614c92015-04-03 17:47:51327 "//third_party/WebKit/public:image_resources",
[email protected]4eebe74d2014-08-13 02:54:46328 "//third_party/WebKit/public:resources",
[email protected]dffd8a912014-06-30 23:24:31329 "//third_party/leveldatabase",
[email protected]fca567b2014-07-02 17:37:34330 "//third_party/libaddressinput",
[email protected]dffd8a912014-06-30 23:24:31331 "//third_party/libyuv",
blundell70fb547672015-01-19 17:18:33332 "//third_party/mojo/src/mojo/edk/system",
333 "//third_party/mojo/src/mojo/public/cpp/bindings",
334 "//third_party/mojo/src/mojo/public/js",
[email protected]dffd8a912014-06-30 23:24:31335 "//third_party/re2",
336 "//third_party/smhasher:cityhash",
Brett Wilson83fd4242014-09-02 19:45:33337 "//third_party/webrtc/modules/desktop_capture",
spang1c36fac2015-02-05 19:55:12338 "//ui/base/ime",
[email protected]dffd8a912014-06-30 23:24:31339 "//ui/gl",
brettwca934582015-02-24 21:50:27340 "//ui/resources",
[email protected]dffd8a912014-06-30 23:24:31341 "//ui/surface",
[email protected]604828c2014-07-02 20:39:12342 "//ui/web_dialogs",
[email protected]fca567b2014-07-02 17:37:34343 "//v8",
[email protected]dffd8a912014-06-30 23:24:31344 ]
paulmeyer27b328b2015-06-17 21:26:12345
346 if (toolkit_views) {
347 deps += [ "//ui/views" ]
348 }
[email protected]dffd8a912014-06-30 23:24:31349 } else { # iOS
scottmga266f952014-12-03 20:47:10350 sources +=
351 rebase_path(gypi_values.chrome_browser_ios_sources, ".", "//chrome")
352 sources +=
353 rebase_path(gypi_values.chrome_browser_google_sources, ".", "//chrome")
354 deps += [ "//net" ]
[email protected]dffd8a912014-06-30 23:24:31355 libs += [
356 "CoreTelephony.framework",
357 "CoreText.framework",
358 "MobileCoreServices.framework",
359 "QuartzCore.framework",
360 ]
scottmga266f952014-12-03 20:47:10361 ldflags += [
362 "-weak_framework",
363 "CoreImage",
364 ]
[email protected]dffd8a912014-06-30 23:24:31365 }
366
367 if (is_win || is_mac) {
scottmga266f952014-12-03 20:47:10368 sources +=
369 rebase_path(gypi_values.chrome_browser_win_mac_sources, ".", "//chrome")
[email protected]dffd8a912014-06-30 23:24:31370 }
mmenkede134672015-08-18 01:33:39371 if (!is_win && !is_mac && !is_ios) {
372 sources += [ "net/net_error_diagnostics_dialog_generic.cc" ]
373 }
[email protected]dffd8a912014-06-30 23:24:31374 if (!is_android && !is_ios && !is_chromeos && enable_configuration_policy) {
375 sources += [
376 "net/disk_cache_dir_policy_handler.cc",
377 "net/disk_cache_dir_policy_handler.h",
378 ]
379 }
380 if (!is_android && !is_ios && enable_configuration_policy) {
381 sources += [
382 "download/download_dir_policy_handler.cc",
383 "download/download_dir_policy_handler.h",
384 ]
385 }
386 if (is_mac) {
scottmga266f952014-12-03 20:47:10387 sources +=
388 rebase_path(gypi_values.chrome_browser_mac_sources, ".", "//chrome")
[email protected]dffd8a912014-06-30 23:24:31389 deps += [
brettw5ff98192015-10-22 06:36:15390 "//chrome/app_shim",
391 "//chrome/browser/apps/app_shim",
[email protected]dffd8a912014-06-30 23:24:31392 ]
393 }
ki.stfu5e669f02015-09-17 07:15:19394 if (is_mac || is_android) {
395 sources += rebase_path(
396 gypi_values.chrome_browser_password_manager_mac_android_sources,
397 ".",
398 "//chrome")
399 }
[email protected]dffd8a912014-06-30 23:24:31400 if (enable_extensions) {
Brett Wilsone53895272014-09-23 23:41:46401 public_deps += [ "//chrome/browser/extensions" ]
[email protected]cc5b3be2014-08-15 23:24:52402 deps += [
[email protected]cc5b3be2014-08-15 23:24:52403 "//chrome/browser/sync_file_system/drive_backend:sync_file_system_drive_proto",
thestige33aa2422014-09-22 22:16:30404 "//chrome/common/extensions/api",
405 "//chrome/common/extensions/api:api_registration",
lukasza8acc4eb2015-07-20 20:57:20406 "//components/drive:drive",
msarda4c408ff2015-04-22 14:27:56407 "//components/proximity_auth/ble",
tengs4758c082014-12-19 18:51:44408 "//components/proximity_auth/cryptauth",
oshima758abebc2014-11-06 10:55:50409 "//extensions/components/javascript_dialog_extensions_client",
thestig73f4cdc2015-01-15 01:51:06410 "//media/cast:net",
[email protected]cc5b3be2014-08-15 23:24:52411 ]
[email protected]dffd8a912014-06-30 23:24:31412 sources += rebase_path(gypi_values.chrome_browser_extensions_sources,
scottmga266f952014-12-03 20:47:10413 ".",
414 "//chrome")
[email protected]dffd8a912014-06-30 23:24:31415 }
416 if (enable_background) {
417 sources += rebase_path(gypi_values.chrome_browser_background_sources,
scottmga266f952014-12-03 20:47:10418 ".",
419 "//chrome")
jamesr29ea2d122014-10-23 10:30:27420 if (!use_aura || is_win || is_chromeos) {
[email protected]dffd8a912014-06-30 23:24:31421 sources -= [ "background/background_mode_manager_aura.cc" ]
422 }
423 }
424 if (enable_task_manager) {
425 sources += rebase_path(gypi_values.chrome_browser_task_manager_sources,
scottmga266f952014-12-03 20:47:10426 ".",
427 "//chrome")
[email protected]dffd8a912014-06-30 23:24:31428 }
429 if (enable_spellcheck) {
430 sources += rebase_path(gypi_values.chrome_browser_spellchecker_sources,
scottmga266f952014-12-03 20:47:10431 ".",
432 "//chrome")
dylanking34c72442015-07-23 23:19:58433 if (!is_android) {
434 deps += [ "//third_party/hunspell" ]
435 }
[email protected]dffd8a912014-06-30 23:24:31436 }
437 if (enable_nacl) {
scottmga266f952014-12-03 20:47:10438 sources +=
439 rebase_path(gypi_values.chrome_browser_nacl_sources, ".", "//chrome")
dpranke6065cf72015-02-26 03:30:58440 deps += [ "//components/nacl:nacl_browser" ]
[email protected]dffd8a912014-06-30 23:24:31441 }
apavlove749bca2014-09-30 11:07:41442
[email protected]dffd8a912014-06-30 23:24:31443 if (enable_configuration_policy) {
scottmga266f952014-12-03 20:47:10444 sources +=
445 rebase_path(gypi_values.chrome_browser_policy_shared_with_ios_sources,
446 ".",
447 "//chrome")
[email protected]dffd8a912014-06-30 23:24:31448 deps += [
[email protected]604828c2014-07-02 20:39:12449 "//components/policy",
[email protected]797b25042014-07-01 23:54:17450 "//components/policy/proto",
[email protected]dffd8a912014-06-30 23:24:31451 ]
452 if (!is_ios) {
scottmga266f952014-12-03 20:47:10453 sources += rebase_path(gypi_values.chrome_browser_policy_non_ios_sources,
454 ".",
455 "//chrome")
[email protected]dffd8a912014-06-30 23:24:31456 }
457 if (!is_chromeos) {
458 sources += rebase_path(
scottmga266f952014-12-03 20:47:10459 gypi_values.chrome_browser_policy_shared_with_ios_not_chromeos_sources,
460 ".",
461 "//chrome")
[email protected]dffd8a912014-06-30 23:24:31462 }
463 if (is_win || is_mac || is_desktop_linux) {
464 sources += rebase_path(gypi_values.chrome_browser_policy_desktop_sources,
scottmga266f952014-12-03 20:47:10465 ".",
466 "//chrome")
[email protected]dffd8a912014-06-30 23:24:31467 }
cjhopman09981a92014-10-27 17:11:18468 if (is_android || is_ios) {
469 sources += rebase_path(gypi_values.chrome_browser_policy_mobile_sources,
scottmga266f952014-12-03 20:47:10470 ".",
471 "//chrome")
cjhopman09981a92014-10-27 17:11:18472 } else {
amistry6e1ed1b2015-03-12 05:24:01473 deps += [
474 "//chrome/browser/policy:path_parser",
475 "//net:net_browser_services",
476 ]
[email protected]dffd8a912014-06-30 23:24:31477 }
478 } else {
479 # Configuration policy disabled.
480 sources += rebase_path(gypi_values.chrome_browser_policy_disabled_sources,
scottmga266f952014-12-03 20:47:10481 ".",
482 "//chrome")
[email protected]dffd8a912014-06-30 23:24:31483 }
484
485 if (enable_plugins) {
scottmga266f952014-12-03 20:47:10486 sources +=
487 rebase_path(gypi_values.chrome_browser_plugins_sources, ".", "//chrome")
[email protected]dffd8a912014-06-30 23:24:31488 deps += [
James Robinson2ed4d692014-09-17 05:20:58489 "//components/pdf/browser",
brettwf7eb6ca2015-02-14 01:37:31490 "//ppapi/proxy:ipc",
thestig11b815e92014-08-26 00:32:14491 "//third_party/adobe/flash:flapper_version_h",
[email protected]dffd8a912014-06-30 23:24:31492 ]
493 }
494 if (safe_browsing_mode != 0) {
scottmga266f952014-12-03 20:47:10495 sources +=
stuartmorgan1b3df822014-12-08 14:36:11496 rebase_path(gypi_values.chrome_browser_safe_browsing_basic_sources,
scottmga266f952014-12-03 20:47:10497 ".",
498 "//chrome")
[email protected]dffd8a912014-06-30 23:24:31499 deps += [
[email protected]fca567b2014-07-02 17:37:34500 "//chrome/browser/safe_browsing:chunk_proto",
mattm022138b52014-09-23 01:05:45501 "//chrome/browser/safe_browsing:metadata_proto",
[email protected]fca567b2014-07-02 17:37:34502 "//chrome/browser/safe_browsing:report_proto",
[email protected]dffd8a912014-06-30 23:24:31503 ]
504 if (safe_browsing_mode == 1) {
scottmga266f952014-12-03 20:47:10505 sources +=
stuartmorgan1b3df822014-12-08 14:36:11506 rebase_path(gypi_values.chrome_browser_safe_browsing_full_sources,
scottmga266f952014-12-03 20:47:10507 ".",
508 "//chrome")
scottmga266f952014-12-03 20:47:10509 deps += [ "//chrome/common/safe_browsing:proto" ]
grtc1d1b752015-09-05 13:26:41510 if (is_win) {
511 deps += [ "//chrome/browser/safe_browsing/incident_reporting:state_store_data_proto" ]
512 }
nparker00a64f12015-10-16 17:34:30513 } else if (safe_browsing_mode == 2) {
514 sources +=
515 rebase_path(gypi_values.chrome_browser_safe_browsing_mobile_sources,
516 ".",
517 "//chrome")
[email protected]dffd8a912014-06-30 23:24:31518 }
519 }
520
amistryf269d3b2015-06-09 19:18:39521 if (enable_hotwording) {
522 defines += [ "ENABLE_HOTWORDING" ]
523 }
524
[email protected]dffd8a912014-06-30 23:24:31525 if (is_linux) {
mostynbea514682015-08-18 22:08:56526 deps += [ "//device/media_transfer_protocol" ]
[email protected]dffd8a912014-06-30 23:24:31527 }
mostynbea514682015-08-18 22:08:56528
529 if (use_udev) {
530 deps += [ "//device/udev_linux" ]
531 }
532
[email protected]dffd8a912014-06-30 23:24:31533 if (is_linux && !is_chromeos) {
[email protected]fd98b612014-07-09 22:11:47534 deps += [ "//third_party/speech-dispatcher" ]
[email protected]dffd8a912014-06-30 23:24:31535 }
536
537 if (is_chromeos) {
538 sources += rebase_path(gypi_values.chrome_browser_chromeos_sources,
scottmga266f952014-12-03 20:47:10539 ".",
540 "//chrome")
541 deps += [ "//chrome/browser/chromeos" ]
[email protected]dffd8a912014-06-30 23:24:31542 }
543
mukai8c99b882014-10-15 03:07:59544 if (is_chromeos || is_ios) {
545 sources -= [
blundell296904a2015-10-13 12:30:48546 "signin/chrome_signin_status_metrics_provider_delegate.cc",
547 "signin/chrome_signin_status_metrics_provider_delegate.h",
mukai8c99b882014-10-15 03:07:59548 ]
549 }
550
[email protected]dffd8a912014-06-30 23:24:31551 if (use_cups) {
[email protected]604828c2014-07-02 20:39:12552 configs += [ "//printing:cups" ]
[email protected]dffd8a912014-06-30 23:24:31553 }
554 if (is_desktop_linux) {
555 sources += rebase_path(gypi_values.chrome_browser_gnome_keyring_sources,
scottmga266f952014-12-03 20:47:10556 ".",
557 "//chrome")
cmasone0a9e4ca2014-10-16 16:40:49558 configs += [ ":gnome_keyring" ]
[email protected]dffd8a912014-06-30 23:24:31559 }
dvadym34532022015-01-22 15:42:51560 if (is_desktop_linux) {
561 sources += rebase_path(gypi_values.chrome_browser_libsecret_sources,
562 ".",
563 "//chrome")
564 defines += [ "USE_LIBSECRET" ]
565 }
[email protected]dffd8a912014-06-30 23:24:31566 if (use_aura) {
scottmga266f952014-12-03 20:47:10567 sources +=
568 rebase_path(gypi_values.chrome_browser_aura_sources, ".", "//chrome")
[email protected]dffd8a912014-06-30 23:24:31569 deps += [
[email protected]fca567b2014-07-02 17:37:34570 "//ui/aura",
571 "//ui/compositor",
[email protected]604828c2014-07-02 20:39:12572 "//ui/keyboard",
ben974286a2015-10-10 00:45:12573 "//ui/keyboard:keyboard_with_content",
[email protected]dffd8a912014-06-30 23:24:31574 ]
575 }
576 if (ui_compositor_image_transport) {
577 deps += [ "//ui/gl" ]
578 }
579
[email protected]855b7de2014-07-08 21:02:45580 if (use_ash) {
scottmga266f952014-12-03 20:47:10581 sources +=
582 rebase_path(gypi_values.chrome_browser_ash_sources, ".", "//chrome")
[email protected]855b7de2014-07-08 21:02:45583 }
584
[email protected]dffd8a912014-06-30 23:24:31585 if (use_x11) {
scottmga266f952014-12-03 20:47:10586 sources +=
587 rebase_path(gypi_values.chrome_browser_x11_sources, ".", "//chrome")
vchigrinbbc23e72015-01-21 22:49:23588 } else {
589 sources -= [ "password_manager/password_store_x.cc" ]
[email protected]dffd8a912014-06-30 23:24:31590 }
591 if (is_posix && !is_mac && !is_ios) {
592 sources += [
rseseka0a7a042014-09-18 23:59:20593 "//chrome/app/chrome_crash_reporter_client.cc",
594 "//chrome/app/chrome_crash_reporter_client.h",
[email protected]dffd8a912014-06-30 23:24:31595 ]
596 deps += [
sdefresne8ba0b88c2015-09-18 10:33:13597 "//components/crash/content/app",
598 "//components/crash/content/browser",
[email protected]dffd8a912014-06-30 23:24:31599 ]
600 }
601 if (use_nss_certs) {
scottmga266f952014-12-03 20:47:10602 sources +=
603 rebase_path(gypi_values.chrome_browser_nss_sources, ".", "//chrome")
mukai8c99b882014-10-15 03:07:59604 if (is_chromeos) {
605 sources -= [ "net/nss_context_linux.cc" ]
606 }
[email protected]dffd8a912014-06-30 23:24:31607 }
608 if (enable_notifications) {
609 sources += rebase_path(gypi_values.chrome_browser_notifications_sources,
scottmga266f952014-12-03 20:47:10610 ".",
611 "//chrome")
estade6d95d1d2015-10-02 18:55:23612 if (is_android) {
613 sources +=
614 rebase_path(gypi_values.chrome_browser_notifications_android_sources,
615 ".",
616 "//chrome")
617 } else {
[email protected]dffd8a912014-06-30 23:24:31618 sources += rebase_path(
stuartmorgan1b3df822014-12-08 14:36:11619 gypi_values.chrome_browser_notifications_non_android_sources,
scottmga266f952014-12-03 20:47:10620 ".",
621 "//chrome")
[email protected]dffd8a912014-06-30 23:24:31622 }
623 }
624 if (enable_themes) {
scottmga266f952014-12-03 20:47:10625 sources +=
626 rebase_path(gypi_values.chrome_browser_themes_sources, ".", "//chrome")
[email protected]dffd8a912014-06-30 23:24:31627 }
628
vitalybuka93eea402014-11-05 23:47:15629 if (enable_basic_printing || enable_print_preview) {
[email protected]dffd8a912014-06-30 23:24:31630 # Some form of printing support.
stuartmorgan1b3df822014-12-08 14:36:11631 sources += rebase_path(gypi_values.chrome_browser_printing_basic_sources,
scottmga266f952014-12-03 20:47:10632 ".",
633 "//chrome")
spang5cc72542015-08-04 19:47:11634 deps += [
635 "//printing",
brettwd649f6b2015-08-18 20:58:51636 "//components/printing/browser",
spang5cc72542015-08-04 19:47:11637 ]
638
vitalybuka36259ca2014-08-28 23:42:24639 if (is_win) {
[email protected]dffd8a912014-06-30 23:24:31640 sources += rebase_path(gypi_values.chrome_browser_printing_emf_sources,
scottmga266f952014-12-03 20:47:10641 ".",
642 "//chrome")
[email protected]dffd8a912014-06-30 23:24:31643 }
vitalybuka93eea402014-11-05 23:47:15644 if (enable_print_preview) {
[email protected]dffd8a912014-06-30 23:24:31645 # Full printing on top of the above.
stuartmorgan1b3df822014-12-08 14:36:11646 sources += rebase_path(gypi_values.chrome_browser_printing_full_sources,
scottmga266f952014-12-03 20:47:10647 ".",
648 "//chrome")
vitalybuka93eea402014-11-05 23:47:15649 } else {
[email protected]dffd8a912014-06-30 23:24:31650 # Partial-only printing support.
scottmga266f952014-12-03 20:47:10651 sources +=
stuartmorgan1b3df822014-12-08 14:36:11652 rebase_path(gypi_values.chrome_browser_printing_basic_only_sources,
scottmga266f952014-12-03 20:47:10653 ".",
654 "//chrome")
[email protected]dffd8a912014-06-30 23:24:31655 }
656 }
657 if (enable_captive_portal_detection) {
658 sources += rebase_path(gypi_values.chrome_browser_captive_portal_sources,
scottmga266f952014-12-03 20:47:10659 ".",
660 "//chrome")
[email protected]dffd8a912014-06-30 23:24:31661 }
662 if (enable_session_service) {
663 sources += rebase_path(gypi_values.chrome_browser_session_service_sources,
scottmga266f952014-12-03 20:47:10664 ".",
665 "//chrome")
[email protected]dffd8a912014-06-30 23:24:31666 }
667
thestigdc377202014-10-28 22:06:02668 if (!is_android && !is_ios && !is_chromeos) {
scottmga266f952014-12-03 20:47:10669 sources +=
670 rebase_path(gypi_values.chrome_browser_desktop_sources, ".", "//chrome")
thestigdc377202014-10-28 22:06:02671 }
672
[email protected]dffd8a912014-06-30 23:24:31673 if (is_android || is_ios) {
674 # Mobile.
scottmga266f952014-12-03 20:47:10675 sources +=
676 rebase_path(gypi_values.chrome_browser_mobile_sources, ".", "//chrome")
[email protected]dffd8a912014-06-30 23:24:31677 } else {
678 # Non-mobile.
679 sources += rebase_path(gypi_values.chrome_browser_non_mobile_sources,
scottmga266f952014-12-03 20:47:10680 ".",
681 "//chrome")
reillyge471fab2014-08-29 01:58:43682 deps += [
sdefresnebbf563c2015-03-17 11:09:09683 "//components/feedback",
juncai1b1152562015-09-04 02:36:08684 "//components/webusb",
reillyge471fab2014-08-29 01:58:43685 "//device/core",
rockot50dc5692015-07-08 01:57:26686 "//device/devices_app/public/cpp",
687 "//device/devices_app/public/cpp:factory",
reillygd77718d2014-09-04 00:57:56688 "//device/usb",
reillyge471fab2014-08-29 01:58:43689 ]
[email protected]dffd8a912014-06-30 23:24:31690 }
691
mathp17e1eba2015-10-06 21:50:59692 if (!is_chrome_branded) {
fserb1c2db4c2015-07-16 17:14:49693 sources += [
694 "search/local_files_ntp_source.cc",
695 "search/local_files_ntp_source.h",
696 ]
697 }
698
[email protected]dffd8a912014-06-30 23:24:31699 if (is_android) {
scottmga266f952014-12-03 20:47:10700 sources +=
701 rebase_path(gypi_values.chrome_browser_android_sources, ".", "//chrome")
twellingtoncaf0eb752015-06-01 16:19:50702 sources += rebase_path(gypi_values.chrome_browser_bookmark_android_sources,
703 ".",
704 "//chrome")
[email protected]dffd8a912014-06-30 23:24:31705 deps += [
pkotwicz127726f2015-05-29 15:20:12706 ":client_discourse_context_proto",
707 ":delta_file_proto",
James Robinson2ed4d692014-09-17 05:20:58708 ":jni_headers",
[email protected]55699f392014-08-20 22:16:30709 "//components/cdm/browser",
cjhopman09981a92014-10-27 17:11:18710 "//components/enhanced_bookmarks",
twifkak8c9f7502015-06-25 02:12:57711 "//components/precache/content",
712 "//components/precache/core",
estadee37f8222014-11-07 21:35:22713 "//components/resources:components_resources",
mathiash3ecfdfa2015-04-13 15:06:07714 "//components/service_tab_launcher",
blundell11d93bc2015-07-31 12:33:12715 "//components/toolbar",
cjhopman09981a92014-10-27 17:11:18716 "//components/web_contents_delegate_android",
717 "//third_party/android_opengl/etc1",
fdegans34f31e272015-05-22 16:59:03718 "//third_party/android_tools:cpu_features",
twellington0bc61492015-01-30 20:14:13719 "//third_party/libaddressinput:util",
[email protected]dffd8a912014-06-30 23:24:31720 ]
721 deps -= [
[email protected]fca567b2014-07-02 17:37:34722 "//third_party/libaddressinput",
[email protected]abd4b682014-07-16 20:26:30723 "//components/storage_monitor",
[email protected]abd4b682014-07-16 20:26:30724 "//components/web_modal",
[email protected]dffd8a912014-06-30 23:24:31725 ]
megjablon5effca2e2015-02-13 23:54:07726 defines += [ "ENABLE_DATA_REDUCTION_PROXY_DEBUGGING" ]
rseseke59ea892015-03-19 22:27:44727
728 if (use_seccomp_bpf) {
729 defines += [ "USE_SECCOMP_BPF" ]
rsesek65d31352015-06-08 22:53:44730 deps += [ "//sandbox/linux:seccomp_bpf" ]
rseseke59ea892015-03-19 22:27:44731 }
[email protected]dffd8a912014-06-30 23:24:31732 }
733
734 if (is_mac) {
735 deps += [
[email protected]6b5d2f92014-07-30 00:40:03736 "//third_party/google_toolbox_for_mac",
tfarina22896302015-02-23 21:18:03737 "//third_party/mozilla",
[email protected]dffd8a912014-06-30 23:24:31738 ]
739 libs += [
740 "Accelerate.framework",
741 "AddressBook.framework",
742 "AudioUnit.framework",
743 "DiskArbitration.framework",
744 "IOKit.framework",
745 "ImageCaptureCore.framework",
746 "OpenGL.framework",
747 "QuartzCore.framework",
748 "SecurityInterface.framework",
749 ]
750 }
751
752 if (enable_rlz) {
sdefresned967d552015-07-16 08:34:35753 deps += [ ":rlz" ]
[email protected]dffd8a912014-06-30 23:24:31754 }
755
756 # TODO(GYP)
757 # Temporary fix to break the browser target into smaller chunks so it
758 # will link with goma builds.
759 #["OS=="win" and chromium_win_pch==0", {
760 # "msvs_shard": 4,
761 #}],
762
763 if (is_win) {
scottmga266f952014-12-03 20:47:10764 sources +=
765 rebase_path(gypi_values.chrome_browser_win_sources, ".", "//chrome")
Brett Wilsone53895272014-09-23 23:41:46766 public_deps += [
767 "//ui/views",
768 "//ui/views/controls/webview",
769 ]
[email protected]dffd8a912014-06-30 23:24:31770 deps += [
vchigrin9593e7a2015-01-27 10:08:19771 ":chrome_process_finder",
mdempsky15a48be2015-10-21 23:37:53772 "//chrome/common:version_header",
[email protected]55699f392014-08-20 22:16:30773 "//chrome/installer/util:strings",
vchigrinf2b90aa2015-01-23 11:12:19774 "//chrome_elf",
775 "//chrome_elf:constants",
776 "//chrome_elf:dll_hash",
vchigrin61944ae2015-01-30 23:51:32777 "//components/browser_watcher",
778 "//components/browser_watcher:browser_watcher_client",
vchigrinbbc23e72015-01-21 22:49:23779 "//google_update",
[email protected]55699f392014-08-20 22:16:30780 "//third_party/iaccessible2",
781 "//third_party/isimpledom",
[email protected]dffd8a912014-06-30 23:24:31782 "//third_party/wtl",
vchigrin88ed6f42015-01-17 11:56:42783 "//ui/metro_viewer",
784 "//win8:metro_viewer",
[email protected]dffd8a912014-06-30 23:24:31785 ]
mmenkede134672015-08-18 01:33:39786
787 all_dependent_configs = [ ":browser_win_linker_flags" ]
788
grt235b3f092015-05-27 21:42:48789 if (!is_chrome_branded) {
790 deps -= [ "//google_update" ]
791 sources -= [
792 "google/did_run_updater_win.cc",
793 "google/did_run_updater_win.h",
794 "google/google_update_win.cc",
795 "google/google_update_win.h",
796 ]
797 }
[email protected]dffd8a912014-06-30 23:24:31798 } else {
799 # Non-Windows.
scottmga266f952014-12-03 20:47:10800 sources +=
801 rebase_path(gypi_values.chrome_browser_non_win_sources, ".", "//chrome")
[email protected]f6dc4ae2014-07-30 00:10:37802 if (toolkit_views) {
[email protected]dffd8a912014-06-30 23:24:31803 deps += [
scottmga266f952014-12-03 20:47:10804 "//ui/views",
805 "//ui/views/controls/webview",
[email protected]dffd8a912014-06-30 23:24:31806 ]
[email protected]dffd8a912014-06-30 23:24:31807 }
808 }
809
810 if (is_linux) {
[email protected]dffd8a912014-06-30 23:24:31811 if (use_aura) {
slan17e5ce7f2015-09-25 00:04:45812 configs += [ "//build/config/linux:dbus" ]
813 deps += [
814 "//build/linux:fontconfig",
815 "//dbus",
[email protected]dffd8a912014-06-30 23:24:31816 ]
[email protected]dffd8a912014-06-30 23:24:31817 }
818 if (use_x11) {
819 configs += [ "//build/config/linux:x11" ]
820 deps += [ "//ui/gfx/x" ]
821 }
822 }
823
824 if (is_desktop_linux) {
stuartmorgan7f569a822014-12-08 20:10:54825 sources += rebase_path(gypi_values.chrome_browser_linux_desktop_sources,
scottmga266f952014-12-03 20:47:10826 ".",
827 "//chrome")
[email protected]dffd8a912014-06-30 23:24:31828 }
829 if (enable_plugin_installation) {
scottmga266f952014-12-03 20:47:10830 sources +=
831 rebase_path(gypi_values.chrome_browser_plugin_installation_sources,
832 ".",
833 "//chrome")
[email protected]dffd8a912014-06-30 23:24:31834 }
835 if (enable_app_list) {
scottmga266f952014-12-03 20:47:10836 deps += [ "//ui/app_list" ]
[email protected]dffd8a912014-06-30 23:24:31837 }
treib87bb89cbb2014-12-01 16:01:47838 if (enable_supervised_users) {
scottmga266f952014-12-03 20:47:10839 sources += rebase_path(gypi_values.chrome_browser_supervised_user_sources,
840 ".",
841 "//chrome")
[email protected]dffd8a912014-06-30 23:24:31842 }
bauerb7f3b8542015-06-29 19:56:19843 if (enable_supervised_users && !is_android && !is_ios) {
844 sources +=
845 rebase_path(gypi_values.chrome_browser_supervised_user_legacy_sources,
846 ".",
847 "//chrome")
848 }
treib87bb89cbb2014-12-01 16:01:47849 if (enable_supervised_users && enable_themes) {
thestig169a6362014-11-13 20:47:59850 sources += rebase_path(
scottmga266f952014-12-03 20:47:10851 gypi_values.chrome_browser_supervised_user_and_themes_sources,
852 ".",
853 "//chrome")
thestig169a6362014-11-13 20:47:59854 }
[email protected]dffd8a912014-06-30 23:24:31855 if (enable_webrtc) {
scottmga266f952014-12-03 20:47:10856 sources +=
857 rebase_path(gypi_values.chrome_browser_webrtc_sources, ".", "//chrome")
[email protected]dffd8a912014-06-30 23:24:31858 }
859 if (enable_service_discovery) {
scottmga266f952014-12-03 20:47:10860 sources += rebase_path(gypi_values.chrome_browser_service_discovery_sources,
861 ".",
862 "//chrome")
[email protected]dffd8a912014-06-30 23:24:31863 }
864 if (enable_mdns) {
scottmga266f952014-12-03 20:47:10865 sources +=
866 rebase_path(gypi_values.chrome_browser_mdns_sources, ".", "//chrome")
[email protected]dffd8a912014-06-30 23:24:31867 }
868 if (!enable_autofill_dialog || is_android || is_ios) {
869 sources -= [
870 "autofill/validation_rules_storage_factory.cc",
871 "autofill/validation_rules_storage_factory.h",
872 ]
873 }
874 if (enable_wifi_bootstrapping) {
scottmga266f952014-12-03 20:47:10875 sources +=
876 rebase_path(gypi_values.chrome_browser_wifi_bootstrapping_sources,
877 ".",
878 "//chrome")
[email protected]dffd8a912014-06-30 23:24:31879 if (is_win || is_mac) {
880 # TODO(brettw) as of this writing wifi bootstrapping is set on Windows
881 # and Mac, so this test is meaningless. Can we merge these lists?
882 sources += rebase_path(
stuartmorgan1b3df822014-12-08 14:36:11883 gypi_values.chrome_browser_wifi_bootstrapping_win_mac_sources,
scottmga266f952014-12-03 20:47:10884 ".",
885 "//chrome")
[email protected]dffd8a912014-06-30 23:24:31886 }
887 }
mfoltz150bb8b2015-04-09 22:30:05888 if (enable_media_router) {
imchengb6b09239f2015-05-15 21:41:55889 deps += [ "//chrome/browser/media/router" ]
mfoltz150bb8b2015-04-09 22:30:05890 }
xhwang5e630462015-10-30 03:18:48891
892 if (enable_mojo_media != "none") {
893 configs += [ "//media/mojo/services:enable_mojo_media_config" ]
894 }
895
896 if (enable_mojo_media == "utility") {
897 deps += [ "//media/mojo/services:application" ]
898 }
[email protected]dffd8a912014-06-30 23:24:31899}
900
James Robinson2ed4d692014-09-17 05:20:58901if (is_android) {
902 # GYP version: chrome/chrome_browser.gypi:chrome_browser_jni_headers
903 generate_jni("jni_headers") {
scottmga266f952014-12-03 20:47:10904 sources =
905 rebase_path(gypi_values.chrome_browser_jni_sources, ".", "//chrome")
James Robinson2ed4d692014-09-17 05:20:58906 jni_package = "chrome"
907 }
pkotwicz127726f2015-05-29 15:20:12908
909 #GYP: '//chrome/chrome_browser.gypi:client_discourse_context_proto'
910 proto_library("client_discourse_context_proto") {
911 sources = [
912 "android/proto/client_discourse_context.proto",
913 ]
914 }
915
916 #GYP: '//chrome/chrome_browser.gypi:delta_file_proto'
917 proto_library("delta_file_proto") {
918 sources = [
919 "android/proto/delta_file.proto",
920 ]
921 }
James Robinson2ed4d692014-09-17 05:20:58922}
923
vchigrin9593e7a2015-01-27 10:08:19924if (is_win) {
925 source_set("chrome_process_finder") {
926 sources = [
927 "chrome_process_finder_win.cc",
928 "chrome_process_finder_win.h",
929 ]
930 deps = [
931 "//base",
932 "//chrome/browser/metro_utils",
933 "//chrome/common:constants",
934 ]
935 if (enable_configuration_policy) {
936 deps += [ "//chrome/browser/policy:path_parser" ]
937 }
938 }
939}
940
[email protected]77ce8022014-06-16 19:29:56941# GYP version: chrome/chrome_resources.gyp:chrome_resources
942# (generate_browser_resources action)
943grit("resources") {
944 source = "browser_resources.grd"
[email protected]48885492014-08-13 11:22:41945 output_dir = "$root_gen_dir/chrome"
[email protected]cb0c67a2014-07-22 16:37:26946 outputs = [
947 "grit/browser_resources.h",
948 "browser_resources.pak",
949 ]
[email protected]77ce8022014-06-16 19:29:56950
[email protected]77ce8022014-06-16 19:29:56951 grit_flags = [
scottmga266f952014-12-03 20:47:10952 "-E",
scottmga266f952014-12-03 20:47:10953 "additional_modules_list_file=" +
954 rebase_path(additional_modules_list_file, root_build_dir),
955 "-E",
calamityd59c1032015-09-22 06:35:53956 "root_gen_dir=" + rebase_path(root_gen_dir, root_build_dir),
[email protected]77ce8022014-06-16 19:29:56957 ]
958
959 deps = [
[email protected]77ce8022014-06-16 19:29:56960 ":chrome_internal_resources_gen",
brettwde262b02015-05-27 19:41:42961
962 # Depend only on the generated mojo bindings since we read the .mojom.js
963 # file, rather than the whole mojo target which will link the C++ bindings.
calamityd59c1032015-09-22 06:35:53964 "//chrome/browser/ui/webui/engagement:mojo_bindings__generator",
brettwde262b02015-05-27 19:41:42965 "//chrome/browser/ui/webui/omnibox:mojo_bindings__generator",
vchigrin8eede942015-01-29 09:28:15966 ]
[email protected]77ce8022014-06-16 19:29:56967}
968
[email protected]77ce8022014-06-16 19:29:56969# GYP version: chrome/chrome_resource.gyp:chrome_internal_resources_gen
engedy99d0e11b2014-09-30 13:32:41970if (is_chrome_branded) {
[email protected]77ce8022014-06-16 19:29:56971 action("chrome_internal_resources_gen") {
engedy99d0e11b2014-09-30 13:32:41972 script = "internal/transform_additional_modules_list.py"
scottmga266f952014-12-03 20:47:10973 sources = [
974 "internal/resources/additional_modules_list.input",
975 ]
976 outputs = [
977 additional_modules_list_file,
978 ]
engedy99d0e11b2014-09-30 13:32:41979 args = rebase_path(sources, root_build_dir) +
980 rebase_path(outputs, root_build_dir)
[email protected]77ce8022014-06-16 19:29:56981 }
982} else {
983 group("chrome_internal_resources_gen") {
984 # Empty placeholder.
985 }
986}
Brett Wilson052ce132014-09-12 19:46:29987
988# In GYP this is part of test_support_common.
989source_set("test_support") {
990 testonly = true
991
992 # Always include this via the main test support target.
993 visibility = [ "//chrome/test:test_support" ]
994
995 sources = [
996 "browsing_data/mock_browsing_data_appcache_helper.cc",
997 "browsing_data/mock_browsing_data_appcache_helper.h",
jsbelle1fe9692015-08-22 01:02:42998 "browsing_data/mock_browsing_data_cache_storage_helper.cc",
999 "browsing_data/mock_browsing_data_cache_storage_helper.h",
Brett Wilson052ce132014-09-12 19:46:291000 "browsing_data/mock_browsing_data_channel_id_helper.cc",
1001 "browsing_data/mock_browsing_data_channel_id_helper.h",
1002 "browsing_data/mock_browsing_data_cookie_helper.cc",
1003 "browsing_data/mock_browsing_data_cookie_helper.h",
1004 "browsing_data/mock_browsing_data_database_helper.cc",
1005 "browsing_data/mock_browsing_data_database_helper.h",
1006 "browsing_data/mock_browsing_data_file_system_helper.cc",
1007 "browsing_data/mock_browsing_data_file_system_helper.h",
1008 "browsing_data/mock_browsing_data_flash_lso_helper.cc",
1009 "browsing_data/mock_browsing_data_flash_lso_helper.h",
1010 "browsing_data/mock_browsing_data_indexed_db_helper.cc",
1011 "browsing_data/mock_browsing_data_indexed_db_helper.h",
1012 "browsing_data/mock_browsing_data_local_storage_helper.cc",
1013 "browsing_data/mock_browsing_data_local_storage_helper.h",
1014 "browsing_data/mock_browsing_data_quota_helper.cc",
1015 "browsing_data/mock_browsing_data_quota_helper.h",
1016 "browsing_data/mock_browsing_data_service_worker_helper.cc",
1017 "browsing_data/mock_browsing_data_service_worker_helper.h",
1018 "download/download_test_file_activity_observer.cc",
1019 "download/download_test_file_activity_observer.h",
1020 "download/test_download_shelf.cc",
1021 "download/test_download_shelf.h",
Brett Wilson052ce132014-09-12 19:46:291022 "invalidation/fake_invalidation_service.cc",
1023 "invalidation/fake_invalidation_service.h",
1024 "media/fake_desktop_media_list.cc",
1025 "media/fake_desktop_media_list.h",
1026 "net/dns_probe_test_util.cc",
1027 "net/dns_probe_test_util.h",
1028 "net/url_request_mock_util.cc",
1029 "net/url_request_mock_util.h",
1030 "notifications/notification_test_util.cc",
1031 "notifications/notification_test_util.h",
Brett Wilson052ce132014-09-12 19:46:291032 "profile_resetter/profile_resetter_test_base.cc",
1033 "profile_resetter/profile_resetter_test_base.h",
1034 "search_engines/template_url_service_factory_test_util.cc",
1035 "search_engines/template_url_service_factory_test_util.h",
1036 "search_engines/template_url_service_test_util.cc",
1037 "search_engines/template_url_service_test_util.h",
squef7d723a2015-01-26 22:13:451038 "sessions/session_restore_test_helper.cc",
1039 "sessions/session_restore_test_helper.h",
Brett Wilson052ce132014-09-12 19:46:291040 "sessions/session_service_test_helper.cc",
1041 "sessions/session_service_test_helper.h",
knn523bd722015-07-30 16:27:091042 "signin/fake_account_fetcher_service_builder.cc",
1043 "signin/fake_account_fetcher_service_builder.h",
mlerman2933d012015-04-24 18:34:271044 "signin/fake_gaia_cookie_manager_service.cc",
1045 "signin/fake_gaia_cookie_manager_service.h",
Brett Wilson052ce132014-09-12 19:46:291046 "signin/fake_profile_oauth2_token_service_builder.cc",
1047 "signin/fake_profile_oauth2_token_service_builder.h",
droger4f489e62015-07-24 19:27:591048 "signin/fake_signin_manager_builder.cc",
1049 "signin/fake_signin_manager_builder.h",
Brett Wilson052ce132014-09-12 19:46:291050 "ssl/ssl_client_auth_requestor_mock.cc",
1051 "ssl/ssl_client_auth_requestor_mock.h",
Brett Wilson052ce132014-09-12 19:46:291052 "sync/profile_sync_service_mock.cc",
1053 "sync/profile_sync_service_mock.h",
maxbogued2ea9242015-10-29 01:24:521054 "sync/profile_sync_test_util.cc",
1055 "sync/profile_sync_test_util.h",
Brett Wilson052ce132014-09-12 19:46:291056 ]
1057
brettwbc8b2a22015-07-28 18:24:421058 configs += [ "//build/config:precompiled_headers" ]
1059
Brett Wilsone53895272014-09-23 23:41:461060 public_deps = [
Brett Wilson052ce132014-09-12 19:46:291061 ":browser",
Brett Wilsone53895272014-09-23 23:41:461062 "//chrome/browser/ui:test_support",
1063 ]
1064 deps = [
Brett Wilson052ce132014-09-12 19:46:291065 "//base:prefs_test_support",
1066 "//chrome/browser",
Brett Wilson052ce132014-09-12 19:46:291067 "//chrome/common",
1068 "//chrome/common/safe_browsing:proto",
knn062cdbb2015-06-26 18:18:421069 "//components/invalidation/impl",
1070 "//components/invalidation/impl:test_support",
Brett Wilson052ce132014-09-12 19:46:291071 "//components/password_manager/core/browser:test_support",
1072 "//components/search_engines:test_support",
sdefresne875d0782015-09-16 12:01:281073 "//components/syncable_prefs:test_support",
jitendra.ks94c0b962015-08-10 08:24:091074 "//components/user_prefs/tracked:user_prefs_tracked_test_support",
Brett Wilson052ce132014-09-12 19:46:291075 "//content/test:test_support",
1076 "//chrome/app/theme:theme_resources",
1077 "//net:test_support",
1078 "//skia",
1079 "//testing/gmock",
1080 "//testing/gtest",
1081 "//ui/gfx",
1082 ]
1083
Brett Wilson052ce132014-09-12 19:46:291084 if (!is_ios) {
1085 deps += [
1086 "//components/sessions:test_support",
Brett Wilson052ce132014-09-12 19:46:291087 "//google_apis:test_support",
1088 ]
1089 }
1090
thestig354985d2015-09-28 20:55:001091 if (is_android) {
1092 sources -= [
thestig259da0b2015-10-07 18:09:081093 "download/test_download_shelf.cc",
1094 "download/test_download_shelf.h",
1095 "profile_resetter/profile_resetter_test_base.cc",
1096 "profile_resetter/profile_resetter_test_base.h",
1097 "sessions/session_restore_test_helper.cc",
1098 "sessions/session_restore_test_helper.h",
thestig354985d2015-09-28 20:55:001099 "sessions/session_service_test_helper.cc",
1100 "sessions/session_service_test_helper.h",
thestig354985d2015-09-28 20:55:001101 ]
1102 }
1103
James Robinson2ed4d692014-09-17 05:20:581104 if (enable_extensions) {
thestig52a87b3b2014-10-23 22:02:381105 sources += [
1106 "extensions/extension_action_test_util.cc",
1107 "extensions/extension_action_test_util.h",
1108 ]
scottmga266f952014-12-03 20:47:101109 deps += [ "//extensions:test_support" ]
James Robinson2ed4d692014-09-17 05:20:581110 }
1111
Brett Wilson052ce132014-09-12 19:46:291112 if (is_chromeos) {
1113 sources += [
1114 "chromeos/app_mode/fake_cws.cc",
1115 "chromeos/app_mode/fake_cws.h",
1116 "chromeos/file_manager/fake_disk_mount_manager.cc",
1117 "chromeos/file_manager/fake_disk_mount_manager.h",
1118 "chromeos/input_method/mock_candidate_window_controller.cc",
1119 "chromeos/input_method/mock_candidate_window_controller.h",
1120 "chromeos/input_method/mock_input_method_engine.cc",
1121 "chromeos/input_method/mock_input_method_engine.h",
1122 "chromeos/input_method/mock_input_method_manager.cc",
1123 "chromeos/input_method/mock_input_method_manager.h",
brettw7d6ec2462015-01-07 13:00:511124 "chromeos/login/screens/mock_device_disabled_screen_actor.cc",
1125 "chromeos/login/screens/mock_device_disabled_screen_actor.h",
nkostylev393309f2015-02-05 13:57:391126 "chromeos/login/session/user_session_manager_test_api.cc",
1127 "chromeos/login/session/user_session_manager_test_api.h",
Brett Wilson052ce132014-09-12 19:46:291128 "chromeos/login/test/js_checker.cc",
1129 "chromeos/login/test/js_checker.h",
satoruxb7a72ea2015-02-13 07:19:591130 "chromeos/login/test/oobe_screen_waiter.cc",
1131 "chromeos/login/test/oobe_screen_waiter.h",
Brett Wilson052ce132014-09-12 19:46:291132 "chromeos/login/ui/mock_login_display.cc",
1133 "chromeos/login/ui/mock_login_display.h",
1134 "chromeos/login/ui/mock_login_display_host.cc",
1135 "chromeos/login/ui/mock_login_display_host.h",
brettw7d6ec2462015-01-07 13:00:511136 "chromeos/login/users/avatar/mock_user_image_manager.cc",
1137 "chromeos/login/users/avatar/mock_user_image_manager.h",
merkulova793f3022015-02-04 10:18:301138 "chromeos/login/users/fake_chrome_user_manager.cc",
1139 "chromeos/login/users/fake_chrome_user_manager.h",
brettw7d6ec2462015-01-07 13:00:511140 "chromeos/login/users/fake_supervised_user_manager.cc",
1141 "chromeos/login/users/fake_supervised_user_manager.h",
brettw7d6ec2462015-01-07 13:00:511142 "chromeos/login/users/mock_user_manager.cc",
1143 "chromeos/login/users/mock_user_manager.h",
Brett Wilson052ce132014-09-12 19:46:291144 "chromeos/net/network_portal_detector_test_utils.cc",
1145 "chromeos/net/network_portal_detector_test_utils.h",
1146 "chromeos/policy/cloud_external_data_manager_base_test_util.cc",
1147 "chromeos/policy/cloud_external_data_manager_base_test_util.h",
1148 "chromeos/policy/device_policy_builder.cc",
1149 "chromeos/policy/device_policy_builder.h",
brettwa68ea2b2015-02-01 02:54:071150 "chromeos/policy/fake_consumer_management_service.cc",
1151 "chromeos/policy/fake_consumer_management_service.h",
Brett Wilson052ce132014-09-12 19:46:291152 "chromeos/policy/fake_device_cloud_policy_initializer.cc",
1153 "chromeos/policy/fake_device_cloud_policy_initializer.h",
brettwa68ea2b2015-02-01 02:54:071154 "chromeos/policy/fake_device_cloud_policy_manager.cc",
1155 "chromeos/policy/fake_device_cloud_policy_manager.h",
Brett Wilson052ce132014-09-12 19:46:291156 "chromeos/policy/stub_enterprise_install_attributes.cc",
1157 "chromeos/policy/stub_enterprise_install_attributes.h",
1158 "chromeos/settings/device_settings_test_helper.cc",
1159 "chromeos/settings/device_settings_test_helper.h",
1160 "chromeos/system/fake_input_device_settings.cc",
1161 "chromeos/system/fake_input_device_settings.h",
1162 ]
1163 configs += [ "//build/config/linux:dbus" ]
mukai6ba73552014-10-09 19:05:171164 deps += [ "//chromeos:test_support" ]
Brett Wilson052ce132014-09-12 19:46:291165 }
1166
1167 if (enable_configuration_policy) {
1168 sources += [
1169 "policy/test/local_policy_test_server.cc",
1170 "policy/test/local_policy_test_server.h",
1171 ]
Brett Wilsone53895272014-09-23 23:41:461172 public_deps += [
Brett Wilson052ce132014-09-12 19:46:291173 "//components/policy:policy_component_test_support",
1174 "//components/policy:test_support",
1175 ]
Brett Wilson052ce132014-09-12 19:46:291176 }
1177
1178 if (safe_browsing_mode == 1) {
1179 sources += [
1180 "extensions/fake_safe_browsing_database_manager.cc",
1181 "extensions/fake_safe_browsing_database_manager.h",
1182 ]
1183 }
1184
1185 if (enable_extensions) {
1186 sources += [
Brett Wilson052ce132014-09-12 19:46:291187 "extensions/api/messaging/native_messaging_test_util.cc",
1188 "extensions/api/messaging/native_messaging_test_util.h",
Brett Wilson052ce132014-09-12 19:46:291189 "extensions/mock_extension_special_storage_policy.cc",
1190 "extensions/mock_extension_special_storage_policy.h",
1191 "extensions/test_blacklist.cc",
1192 "extensions/test_blacklist.h",
1193 "extensions/test_blacklist_state_fetcher.cc",
1194 "extensions/test_blacklist_state_fetcher.h",
brettw7d6ec2462015-01-07 13:00:511195 "extensions/test_extension_dir.cc",
1196 "extensions/test_extension_dir.h",
satoruxb7a72ea2015-02-13 07:19:591197 "extensions/test_extension_environment.cc",
1198 "extensions/test_extension_environment.h",
Brett Wilson052ce132014-09-12 19:46:291199 "extensions/test_extension_prefs.cc",
1200 "extensions/test_extension_prefs.h",
1201 "extensions/test_extension_service.cc",
1202 "extensions/test_extension_service.h",
1203 "extensions/test_extension_system.cc",
1204 "extensions/test_extension_system.h",
1205 "media_galleries/media_galleries_test_util.cc",
1206 "media_galleries/media_galleries_test_util.h",
1207 ]
lukasza8acc4eb2015-07-20 20:57:201208 deps += [
1209 "//components/drive:test_support",
1210 "//components/storage_monitor:test_support",
1211 ]
Brett Wilson052ce132014-09-12 19:46:291212 }
1213
1214 if (enable_mdns) {
1215 sources += [
1216 "local_discovery/test_service_discovery_client.cc",
1217 "local_discovery/test_service_discovery_client.h",
1218 ]
1219 }
1220
1221 if (enable_app_list) {
1222 sources += [
1223 "ui/app_list/test/chrome_app_list_test_support.cc",
1224 "ui/app_list/test/chrome_app_list_test_support.h",
brettw7d6ec2462015-01-07 13:00:511225 "ui/app_list/test/test_app_list_controller_delegate.cc",
1226 "ui/app_list/test/test_app_list_controller_delegate.h",
Brett Wilson052ce132014-09-12 19:46:291227 ]
1228 }
1229
1230 if (enable_wifi_bootstrapping) {
1231 sources += [
1232 "local_discovery/wifi/mock_wifi_manager.cc",
1233 "local_discovery/wifi/mock_wifi_manager.h",
1234 ]
1235 }
1236}
sdefresned967d552015-07-16 08:34:351237
thestig65d7c5c2015-10-06 18:13:471238# In GYP this is part of test_support_ui.
1239source_set("test_support_ui") {
1240 testonly = true
1241
1242 # Always include this via the main test support UI target.
1243 visibility = [ "//chrome/test:test_support_ui" ]
1244
1245 sources = [
1246 "password_manager/password_manager_test_base.cc",
1247 "password_manager/password_manager_test_base.h",
1248 "ui/webui/signin/login_ui_test_utils.cc",
1249 "ui/webui/signin/login_ui_test_utils.h",
1250 ]
1251
1252 configs += [ "//build/config:precompiled_headers" ]
1253
1254 deps = [
1255 "//components/metrics:test_support",
vabr22c9e4f42015-10-20 15:34:091256 "//components/password_manager/core/browser:test_support",
thestig65d7c5c2015-10-06 18:13:471257 "//skia",
1258 "//testing/gtest",
1259 ]
1260}
1261
sdefresned967d552015-07-16 08:34:351262if (enable_rlz_support) {
1263 source_set("rlz") {
1264 sources =
1265 rebase_path(gypi_values.chrome_browser_rlz_sources, ".", "//chrome")
1266 deps = [
1267 "//components/google/core/browser",
1268 "//components/omnibox/browser",
1269 "//components/rlz",
1270 "//components/search_engines",
1271 "//rlz:rlz_lib",
1272 ]
1273 }
1274}