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