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/chrome_build.gni") |
6 import("//build/config/chromecast_build.gni") | 6 import("//build/config/chromecast_build.gni") |
7 import("//build/config/compiler/compiler.gni") | 7 import("//build/config/compiler/compiler.gni") |
8 import("//build/config/crypto.gni") | 8 import("//build/config/crypto.gni") |
9 import("//build/config/features.gni") | 9 import("//build/config/features.gni") |
10 import("//build/config/ui.gni") | 10 import("//build/config/ui.gni") |
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
493 "//ui/events/blink", | 493 "//ui/events/blink", |
494 "//ui/gfx:test_support", | 494 "//ui/gfx:test_support", |
495 "//v8", | 495 "//v8", |
496 ] | 496 ] |
497 | 497 |
498 if (is_android) { | 498 if (is_android) { |
499 deps += [ "//content/public/test/android:test_support_content_jni_headers" ] | 499 deps += [ "//content/public/test/android:test_support_content_jni_headers" ] |
500 } | 500 } |
501 } | 501 } |
502 | 502 |
| 503 static_library("test_runner_support") { |
| 504 testonly = true |
| 505 |
| 506 # See comment at the top of //content/BUILD.gn for why this is disabled in |
| 507 # component builds. |
| 508 if (is_component_build) { |
| 509 check_includes = false |
| 510 } |
| 511 |
| 512 sources = [ |
| 513 "../public/test/test_runner_support.h", |
| 514 "test_runner_support.cc", |
| 515 ] |
| 516 |
| 517 deps = [ |
| 518 "//content/renderer:for_content_tests", |
| 519 "//third_party/WebKit/public:blink", |
| 520 ] |
| 521 } |
| 522 |
503 if (is_android) { | 523 if (is_android) { |
504 import("//build/config/android/rules.gni") | 524 import("//build/config/android/rules.gni") |
505 | 525 |
506 jinja_template("content_browsertests_manifest") { | 526 jinja_template("content_browsertests_manifest") { |
507 testonly = true | 527 testonly = true |
508 input = | 528 input = |
509 "//content/shell/android/browsertests_apk/AndroidManifest.xml.jinja2" | 529 "//content/shell/android/browsertests_apk/AndroidManifest.xml.jinja2" |
510 output = | 530 output = |
511 "${target_gen_dir}/content_browsertests_manifest/AndroidManifest.xml" | 531 "${target_gen_dir}/content_browsertests_manifest/AndroidManifest.xml" |
512 } | 532 } |
(...skipping 1310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1823 if (is_android) { | 1843 if (is_android) { |
1824 deps += [ "//testing/android/native_test:native_test_native_code" ] | 1844 deps += [ "//testing/android/native_test:native_test_native_code" ] |
1825 } | 1845 } |
1826 } | 1846 } |
1827 | 1847 |
1828 group("fuzzers") { | 1848 group("fuzzers") { |
1829 deps = [ | 1849 deps = [ |
1830 "//content/test/fuzzer", | 1850 "//content/test/fuzzer", |
1831 ] | 1851 ] |
1832 } | 1852 } |
OLD | NEW |