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/chrome_build.gni") |
5 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
6 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
7 import("//testing/test.gni") | 8 import("//testing/test.gni") |
8 import("//tools/grit/repack.gni") | 9 import("//tools/grit/repack.gni") |
9 | 10 |
10 if (is_android) { | 11 if (is_android) { |
11 import("//build/config/android/rules.gni") | 12 import("//build/config/android/rules.gni") |
12 } | 13 } |
13 | 14 |
14 if (is_ios) { | 15 if (is_ios) { |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 "//components/physical_web/data_source:unit_tests", | 111 "//components/physical_web/data_source:unit_tests", |
111 "//components/precache/core:unit_tests", | 112 "//components/precache/core:unit_tests", |
112 "//components/prefs:unit_tests", | 113 "//components/prefs:unit_tests", |
113 "//components/previews/core:unit_tests", | 114 "//components/previews/core:unit_tests", |
114 "//components/proxy_config:unit_tests", | 115 "//components/proxy_config:unit_tests", |
115 "//components/query_parser:unit_tests", | 116 "//components/query_parser:unit_tests", |
116 "//components/rappor:unit_tests", | 117 "//components/rappor:unit_tests", |
117 "//components/search:unit_tests", | 118 "//components/search:unit_tests", |
118 "//components/search_engines:unit_tests", | 119 "//components/search_engines:unit_tests", |
119 "//components/search_provider_logos:unit_tests", | 120 "//components/search_provider_logos:unit_tests", |
120 "//components/security_state:unit_tests", | 121 "//components/security_state/core:unit_tests", |
121 "//components/sessions:unit_tests", | 122 "//components/sessions:unit_tests", |
122 "//components/signin/core/browser:unit_tests", | 123 "//components/signin/core/browser:unit_tests", |
123 "//components/ssl_config:unit_tests", | 124 "//components/ssl_config:unit_tests", |
124 "//components/ssl_errors:unit_tests", | 125 "//components/ssl_errors:unit_tests", |
125 "//components/subresource_filter/core/browser:unit_tests", | 126 "//components/subresource_filter/core/browser:unit_tests", |
126 "//components/subresource_filter/core/common:unit_tests", | 127 "//components/subresource_filter/core/common:unit_tests", |
127 "//components/suggestions:unit_tests", | 128 "//components/suggestions:unit_tests", |
128 "//components/supervised_user_error_page:unit_tests", | 129 "//components/supervised_user_error_page:unit_tests", |
129 "//components/sync:unit_tests", | 130 "//components/sync:unit_tests", |
130 "//components/sync_bookmarks:unit_tests", | 131 "//components/sync_bookmarks:unit_tests", |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 "//components/keyed_service/content:unit_tests", | 185 "//components/keyed_service/content:unit_tests", |
185 "//components/link_header_util:unit_tests", | 186 "//components/link_header_util:unit_tests", |
186 "//components/navigation_interception:unit_tests", | 187 "//components/navigation_interception:unit_tests", |
187 "//components/network_hints/renderer:unit_tests", | 188 "//components/network_hints/renderer:unit_tests", |
188 "//components/packed_ct_ev_whitelist:unit_tests", | 189 "//components/packed_ct_ev_whitelist:unit_tests", |
189 "//components/password_manager/content/browser:unit_tests", | 190 "//components/password_manager/content/browser:unit_tests", |
190 "//components/power:unit_tests", | 191 "//components/power:unit_tests", |
191 "//components/precache/content:unit_tests", | 192 "//components/precache/content:unit_tests", |
192 "//components/safe_browsing_db:unit_tests", | 193 "//components/safe_browsing_db:unit_tests", |
193 "//components/safe_json:unit_tests", | 194 "//components/safe_json:unit_tests", |
| 195 "//components/security_state/content:unit_tests", |
194 "//components/spellcheck/browser:unit_tests", | 196 "//components/spellcheck/browser:unit_tests", |
195 "//components/spellcheck/renderer:unit_tests", | 197 "//components/spellcheck/renderer:unit_tests", |
196 "//components/subresource_filter/content/browser:unit_tests", | 198 "//components/subresource_filter/content/browser:unit_tests", |
197 "//components/subresource_filter/content/renderer:unit_tests", | 199 "//components/subresource_filter/content/renderer:unit_tests", |
198 "//components/tracing:unit_tests", | 200 "//components/tracing:unit_tests", |
199 "//components/visitedlink/test:unit_tests", | 201 "//components/visitedlink/test:unit_tests", |
200 "//components/wallpaper:unit_tests", | 202 "//components/wallpaper:unit_tests", |
201 "//components/web_cache/browser:unit_tests", | 203 "//components/web_cache/browser:unit_tests", |
202 "//components/webcrypto:unit_tests", | 204 "//components/webcrypto:unit_tests", |
203 "//components/zoom:unit_tests", | 205 "//components/zoom:unit_tests", |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
309 sources = [ | 311 sources = [ |
310 "$root_gen_dir/components/components_resources.pak", | 312 "$root_gen_dir/components/components_resources.pak", |
311 "$root_gen_dir/components/strings/components_strings_en-US.pak", | 313 "$root_gen_dir/components/strings/components_strings_en-US.pak", |
312 ] | 314 ] |
313 | 315 |
314 output = "$root_out_dir/components_tests_resources.pak" | 316 output = "$root_out_dir/components_tests_resources.pak" |
315 deps = [ | 317 deps = [ |
316 "//components/resources", | 318 "//components/resources", |
317 "//components/strings", | 319 "//components/strings", |
318 ] | 320 ] |
| 321 |
| 322 if (is_chrome_branded) { |
| 323 sources += [ "${root_gen_dir}/components/strings/components_google_chrome_st
rings_en-US.pak" ] |
| 324 } else { |
| 325 sources += [ "${root_gen_dir}/components/strings/components_chromium_strings
_en-US.pak" ] |
| 326 } |
319 } | 327 } |
320 | 328 |
321 if (is_android) { | 329 if (is_android) { |
322 android_assets("components_browsertests_assets") { | 330 android_assets("components_browsertests_assets") { |
323 testonly = true | 331 testonly = true |
324 sources = [ | 332 sources = [ |
325 "$root_out_dir/components_tests_resources.pak", | 333 "$root_out_dir/components_tests_resources.pak", |
326 "$root_out_dir/content_shell.pak", | 334 "$root_out_dir/content_shell.pak", |
327 ] | 335 ] |
328 deps = [ | 336 deps = [ |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
373 test("components_browsertests") { | 381 test("components_browsertests") { |
374 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] | 382 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
375 | 383 |
376 sources = [ | 384 sources = [ |
377 "autofill/content/browser/risk/fingerprint_browsertest.cc", | 385 "autofill/content/browser/risk/fingerprint_browsertest.cc", |
378 "autofill/content/renderer/password_form_conversion_utils_browsertest.cc", | 386 "autofill/content/renderer/password_form_conversion_utils_browsertest.cc", |
379 "dom_distiller/content/browser/distillable_page_utils_browsertest.cc", | 387 "dom_distiller/content/browser/distillable_page_utils_browsertest.cc", |
380 "dom_distiller/content/browser/distiller_page_web_contents_browsertest.cc"
, | 388 "dom_distiller/content/browser/distiller_page_web_contents_browsertest.cc"
, |
381 "dom_distiller/content/browser/test/dom_distiller_js_browsertest.cc", | 389 "dom_distiller/content/browser/test/dom_distiller_js_browsertest.cc", |
382 "password_manager/content/renderer/credential_manager_client_browsertest.c
c", | 390 "password_manager/content/renderer/credential_manager_client_browsertest.c
c", |
| 391 "security_state/content/content_utils_browsertest.cc", |
383 "tracing/child/child_trace_message_filter_browsertest.cc", | 392 "tracing/child/child_trace_message_filter_browsertest.cc", |
384 ] | 393 ] |
385 | 394 |
386 data = [ | 395 data = [ |
387 "$root_out_dir/components_tests_resources.pak", | 396 "$root_out_dir/components_tests_resources.pak", |
388 "$root_out_dir/content_shell.pak", | 397 "$root_out_dir/content_shell.pak", |
389 "test/data/", | 398 "test/data/", |
390 "dom_distiller/core/javascript/", | 399 "dom_distiller/core/javascript/", |
391 "//third_party/dom_distiller_js/dist/test/data/", | 400 "//third_party/dom_distiller_js/dist/test/data/", |
392 ] | 401 ] |
393 | 402 |
394 deps = [ | 403 deps = [ |
395 "//base", | 404 "//base", |
396 "//base/test:test_support", | 405 "//base/test:test_support", |
397 "//components/autofill/content/browser", | 406 "//components/autofill/content/browser", |
398 "//components/autofill/content/renderer", | 407 "//components/autofill/content/renderer", |
399 "//components/autofill/core/browser", | 408 "//components/autofill/core/browser", |
400 "//components/content_settings/core/common", | 409 "//components/content_settings/core/common", |
401 "//components/dom_distiller/content/browser", | 410 "//components/dom_distiller/content/browser", |
402 "//components/dom_distiller/core", | 411 "//components/dom_distiller/core", |
403 "//components/dom_distiller/core:test_support", | 412 "//components/dom_distiller/core:test_support", |
404 "//components/password_manager/content/browser", | 413 "//components/password_manager/content/browser", |
405 "//components/password_manager/content/renderer", | 414 "//components/password_manager/content/renderer", |
| 415 "//components/security_state/content", |
| 416 "//components/security_state/core", |
406 "//components/strings", | 417 "//components/strings", |
407 "//components/tracing", | 418 "//components/tracing", |
| 419 "//content/public/browser", |
408 "//content/shell:content_shell_lib", | 420 "//content/shell:content_shell_lib", |
409 "//content/test:browsertest_support", | 421 "//content/test:browsertest_support", |
410 "//content/test:test_support", | 422 "//content/test:test_support", |
411 "//device/bluetooth", | 423 "//device/bluetooth", |
412 "//device/geolocation", | 424 "//device/geolocation", |
413 "//ipc:test_support", | 425 "//ipc:test_support", |
414 "//net:test_support", | 426 "//net:test_support", |
415 "//services/service_manager/public/cpp", | 427 "//services/service_manager/public/cpp", |
416 "//testing/gmock", | 428 "//testing/gmock", |
417 "//testing/gtest", | 429 "//testing/gtest", |
418 "//ui/base", | 430 "//ui/base", |
| 431 "//url", |
419 ] | 432 ] |
420 | 433 |
421 data_deps = [ | 434 data_deps = [ |
422 ":components_tests_pak", | 435 ":components_tests_pak", |
423 "//third_party/mesa:osmesa", | 436 "//third_party/mesa:osmesa", |
424 ] | 437 ] |
425 | 438 |
426 if (is_mac) { | 439 if (is_mac) { |
427 data_deps += [ "//content/shell:content_shell" ] | 440 data_deps += [ "//content/shell:content_shell" ] |
428 data += [ "$root_out_dir/Content Shell.app/" ] | 441 data += [ "$root_out_dir/Content Shell.app/" ] |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
478 "//testing/perf", | 491 "//testing/perf", |
479 "//url", | 492 "//url", |
480 ] | 493 ] |
481 | 494 |
482 if (!is_ios) { | 495 if (!is_ios) { |
483 sources += [ "discardable_memory/common/discardable_shared_memory_heap_per
ftest.cc" ] | 496 sources += [ "discardable_memory/common/discardable_shared_memory_heap_per
ftest.cc" ] |
484 deps += [ "//components/discardable_memory/common" ] | 497 deps += [ "//components/discardable_memory/common" ] |
485 } | 498 } |
486 } | 499 } |
487 } | 500 } |
OLD | NEW |