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 486 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
497 "//ui/events/blink", | 497 "//ui/events/blink", |
498 "//ui/gfx:test_support", | 498 "//ui/gfx:test_support", |
499 "//v8", | 499 "//v8", |
500 ] | 500 ] |
501 | 501 |
502 if (is_android) { | 502 if (is_android) { |
503 deps += [ "//content/public/test/android:test_support_content_jni_headers" ] | 503 deps += [ "//content/public/test/android:test_support_content_jni_headers" ] |
504 } | 504 } |
505 } | 505 } |
506 | 506 |
| 507 static_library("test_runner_support") { |
| 508 testonly = true |
| 509 |
| 510 # See comment at the top of //content/BUILD.gn for why this is disabled in |
| 511 # component builds. |
| 512 if (is_component_build) { |
| 513 check_includes = false |
| 514 } |
| 515 |
| 516 sources = [ |
| 517 "../public/test/test_runner_support.h", |
| 518 "test_runner_support.cc", |
| 519 ] |
| 520 |
| 521 deps = [ |
| 522 "//content/renderer:for_content_tests", |
| 523 "//third_party/WebKit/public:blink", |
| 524 ] |
| 525 } |
| 526 |
507 if (is_android) { | 527 if (is_android) { |
508 import("//build/config/android/rules.gni") | 528 import("//build/config/android/rules.gni") |
509 | 529 |
510 jinja_template("content_browsertests_manifest") { | 530 jinja_template("content_browsertests_manifest") { |
511 testonly = true | 531 testonly = true |
512 input = | 532 input = |
513 "//content/shell/android/browsertests_apk/AndroidManifest.xml.jinja2" | 533 "//content/shell/android/browsertests_apk/AndroidManifest.xml.jinja2" |
514 output = | 534 output = |
515 "${target_gen_dir}/content_browsertests_manifest/AndroidManifest.xml" | 535 "${target_gen_dir}/content_browsertests_manifest/AndroidManifest.xml" |
516 } | 536 } |
(...skipping 1321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1838 if (is_android) { | 1858 if (is_android) { |
1839 deps += [ "//testing/android/native_test:native_test_native_code" ] | 1859 deps += [ "//testing/android/native_test:native_test_native_code" ] |
1840 } | 1860 } |
1841 } | 1861 } |
1842 | 1862 |
1843 group("fuzzers") { | 1863 group("fuzzers") { |
1844 deps = [ | 1864 deps = [ |
1845 "//content/test/fuzzer", | 1865 "//content/test/fuzzer", |
1846 ] | 1866 ] |
1847 } | 1867 } |
OLD | NEW |