OLD | NEW |
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/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 import("//tools/grit/repack.gni") | 8 import("//tools/grit/repack.gni") |
9 | 9 |
10 if (is_android) { | 10 if (is_android) { |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 "//components/search", | 46 "//components/search", |
47 "//components/search_engines", | 47 "//components/search_engines", |
48 "//components/sessions", | 48 "//components/sessions", |
49 "//components/sync_bookmarks", | 49 "//components/sync_bookmarks", |
50 "//components/undo", | 50 "//components/undo", |
51 "//components/strings", | 51 "//components/strings", |
52 "//components/leveldb_proto", | 52 "//components/leveldb_proto", |
53 "//components/pref_registry", | 53 "//components/pref_registry", |
54 "//components/omnibox/browser", | 54 "//components/omnibox/browser", |
55 "//components/infobars/core", | 55 "//components/infobars/core", |
| 56 "//components/translate/core/browser", |
| 57 "//components/translate/core/common", |
56 "//components/version_ui", | 58 "//components/version_ui", |
57 "//components/os_crypt", | 59 "//components/os_crypt", |
58 ] | 60 ] |
59 | 61 |
60 if (!is_ios) { | 62 if (!is_ios) { |
61 deps += [ | 63 deps += [ |
62 "//components/bitmap_uploader", | 64 "//components/bitmap_uploader", |
63 "//components/enhanced_bookmarks", | 65 "//components/enhanced_bookmarks", |
64 "//components/certificate_reporting", | 66 "//components/certificate_reporting", |
65 "//components/cdm/browser", | 67 "//components/cdm/browser", |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 "//components/signin/core/browser", | 136 "//components/signin/core/browser", |
135 "//components/ssl_config", | 137 "//components/ssl_config", |
136 "//components/startup_metric_utils/browser", | 138 "//components/startup_metric_utils/browser", |
137 "//components/sync_driver", | 139 "//components/sync_driver", |
138 "//components/sync_sessions", | 140 "//components/sync_sessions", |
139 "//components/tracing", | 141 "//components/tracing", |
140 "//components/tracing:startup_tracing", | 142 "//components/tracing:startup_tracing", |
141 "//components/translate/content/browser", | 143 "//components/translate/content/browser", |
142 "//components/translate/content/common", | 144 "//components/translate/content/common", |
143 "//components/translate/content/renderer", | 145 "//components/translate/content/renderer", |
144 "//components/translate/core/browser", | |
145 "//components/translate/core/common", | |
146 "//components/ui/zoom", | 146 "//components/ui/zoom", |
147 "//components/update_client", | 147 "//components/update_client", |
148 "//components/upload_list", | 148 "//components/upload_list", |
149 "//components/url_formatter", | 149 "//components/url_formatter", |
150 "//components/url_matcher", | 150 "//components/url_matcher", |
151 "//components/user_manager", | 151 "//components/user_manager", |
152 "//components/user_prefs", | 152 "//components/user_prefs", |
153 "//components/user_prefs/tracked:user_prefs_tracked", | 153 "//components/user_prefs/tracked:user_prefs_tracked", |
154 "//components/variations", | 154 "//components/variations", |
155 "//components/variations/service", | 155 "//components/variations/service", |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 "//components/pairing", | 216 "//components/pairing", |
217 "//components/wifi_sync", | 217 "//components/wifi_sync", |
218 ] | 218 ] |
219 } | 219 } |
220 } else { | 220 } else { |
221 deps += [ | 221 deps += [ |
222 "//components/autofill/ios/browser", | 222 "//components/autofill/ios/browser", |
223 "//components/dom_distiller/ios", | 223 "//components/dom_distiller/ios", |
224 "//components/history/ios/browser", | 224 "//components/history/ios/browser", |
225 "//components/keyed_service/ios", | 225 "//components/keyed_service/ios", |
| 226 "//components/translate/ios/browser", |
226 "//components/webp_transcode", | 227 "//components/webp_transcode", |
227 ] | 228 ] |
228 } | 229 } |
229 | 230 |
230 if (toolkit_views) { | 231 if (toolkit_views) { |
231 deps += [ "//components/constrained_window" ] | 232 deps += [ "//components/constrained_window" ] |
232 } | 233 } |
233 | 234 |
234 if (is_android) { | 235 if (is_android) { |
235 deps -= [ | 236 deps -= [ |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
344 "//components/sessions:unit_tests", | 345 "//components/sessions:unit_tests", |
345 "//components/syncable_prefs:unit_tests", | 346 "//components/syncable_prefs:unit_tests", |
346 "//components/undo:unit_tests", | 347 "//components/undo:unit_tests", |
347 "//net", | 348 "//net", |
348 "//ui/base", | 349 "//ui/base", |
349 "//ui/resources:ui_test_pak", | 350 "//ui/resources:ui_test_pak", |
350 "//components/search_engines:unit_tests", | 351 "//components/search_engines:unit_tests", |
351 "//components/undo:unit_tests", | 352 "//components/undo:unit_tests", |
352 "//components/leveldb_proto:unit_tests", | 353 "//components/leveldb_proto:unit_tests", |
353 "//components/suggestions:unit_tests", | 354 "//components/suggestions:unit_tests", |
| 355 "//components/translate/core/browser:unit_tests", |
| 356 "//components/translate/core/common:unit_tests", |
| 357 "//components/translate/core/language_detection:unit_tests", |
354 "//components/omnibox/browser:unit_tests", | 358 "//components/omnibox/browser:unit_tests", |
355 "//components/os_crypt:unit_tests", | 359 "//components/os_crypt:unit_tests", |
356 ] | 360 ] |
357 | 361 |
358 if (!is_ios) { | 362 if (!is_ios) { |
359 deps += [ | 363 deps += [ |
360 "//components/certificate_transparency:unit_tests", | 364 "//components/certificate_transparency:unit_tests", |
361 "//components/data_use_measurement/content:unit_tests", | 365 "//components/data_use_measurement/content:unit_tests", |
362 "//components/enhanced_bookmarks:unit_tests", | 366 "//components/enhanced_bookmarks:unit_tests", |
363 "//components/error_page/renderer:unit_tests", | 367 "//components/error_page/renderer:unit_tests", |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 "//components/rappor:unit_tests", | 422 "//components/rappor:unit_tests", |
419 "//components/safe_browsing_db:unit_tests", | 423 "//components/safe_browsing_db:unit_tests", |
420 "//components/search_engines:unit_tests", | 424 "//components/search_engines:unit_tests", |
421 "//components/search:unit_tests", | 425 "//components/search:unit_tests", |
422 "//components/search_provider_logos:unit_tests", | 426 "//components/search_provider_logos:unit_tests", |
423 "//components/signin/core/browser:unit_tests", | 427 "//components/signin/core/browser:unit_tests", |
424 "//components/ssl_config:unit_tests", | 428 "//components/ssl_config:unit_tests", |
425 "//components/sync_bookmarks:unit_tests", | 429 "//components/sync_bookmarks:unit_tests", |
426 "//components/sync_driver:unit_tests", | 430 "//components/sync_driver:unit_tests", |
427 "//components/sync_sessions:unit_tests", | 431 "//components/sync_sessions:unit_tests", |
428 "//components/translate/core/browser:unit_tests", | |
429 "//components/translate/core/common:unit_tests", | |
430 "//components/translate/core/language_detection:unit_tests", | |
431 "//components/url_formatter:unit_tests", | 432 "//components/url_formatter:unit_tests", |
432 "//components/url_matcher:unit_tests", | 433 "//components/url_matcher:unit_tests", |
433 "//components/update_client:unit_tests", | 434 "//components/update_client:unit_tests", |
434 "//components/upload_list:unit_tests", | 435 "//components/upload_list:unit_tests", |
435 "//components/user_prefs/tracked:unit_tests", | 436 "//components/user_prefs/tracked:unit_tests", |
436 "//components/variations:unit_tests", | 437 "//components/variations:unit_tests", |
437 "//components/variations/service:unit_tests", | 438 "//components/variations/service:unit_tests", |
438 "//components/wallpaper:unit_tests", | 439 "//components/wallpaper:unit_tests", |
439 "//components/web_resource:unit_tests", | 440 "//components/web_resource:unit_tests", |
440 "//components/webcrypto:unit_tests", | 441 "//components/webcrypto:unit_tests", |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
490 # TODO(GYP) need this target. | 491 # TODO(GYP) need this target. |
491 #'breakpad/app/crash_keys_win_unittest.cc', | 492 #'breakpad/app/crash_keys_win_unittest.cc', |
492 | 493 |
493 if (enable_configuration_policy) { | 494 if (enable_configuration_policy) { |
494 deps += [ | 495 deps += [ |
495 "//components/policy/core/browser:unit_tests", | 496 "//components/policy/core/browser:unit_tests", |
496 "//components/policy/core/common:unit_tests", | 497 "//components/policy/core/common:unit_tests", |
497 ] | 498 ] |
498 } | 499 } |
499 } else { | 500 } else { |
500 deps += [ "//components/webp_transcode:unit_tests" ] | 501 deps += [ |
| 502 "//components/translate/ios/browser:unit_tests", |
| 503 "//components/webp_transcode:unit_tests", |
| 504 ] |
501 } | 505 } |
502 | 506 |
503 if (toolkit_views) { | 507 if (toolkit_views) { |
504 # TODO bug 522654 Enable this when the undefined symbol is fixed in | 508 # TODO bug 522654 Enable this when the undefined symbol is fixed in |
505 # web_modal such that this links. | 509 # web_modal such that this links. |
506 #deps += [ "//components/constrained_window:unit_tests" ] | 510 #deps += [ "//components/constrained_window:unit_tests" ] |
507 } | 511 } |
508 | 512 |
509 if (is_win) { | 513 if (is_win) { |
510 deps += [ "//components/browser_watcher:unit_tests" ] | 514 deps += [ "//components/browser_watcher:unit_tests" ] |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
692 ] | 696 ] |
693 if (!is_ios) { | 697 if (!is_ios) { |
694 deps += [ | 698 deps += [ |
695 "//base", | 699 "//base", |
696 "//base/test:test_support_perf", | 700 "//base/test:test_support_perf", |
697 "//content/test:test_support", | 701 "//content/test:test_support", |
698 "//components/visitedlink/browser", | 702 "//components/visitedlink/browser", |
699 ] | 703 ] |
700 } | 704 } |
701 } | 705 } |
OLD | NEW |