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/crypto.gni") | 6 import("//build/config/crypto.gni") |
7 import("//build/config/features.gni") | 7 import("//build/config/features.gni") |
8 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") |
9 import("//build_overrides/v8.gni") | 9 import("//build_overrides/v8.gni") |
10 import("//mojo/public/tools/bindings/mojom.gni") | 10 import("//mojo/public/tools/bindings/mojom.gni") |
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
332 ] | 332 ] |
333 } | 333 } |
334 | 334 |
335 android_resources("content_browsertests_resources") { | 335 android_resources("content_browsertests_resources") { |
336 testonly = true | 336 testonly = true |
337 resource_dirs = [ "//content/shell/android/browsertests_apk/res" ] | 337 resource_dirs = [ "//content/shell/android/browsertests_apk/res" ] |
338 custom_package = "org.chromium.content_browsertests_apk" | 338 custom_package = "org.chromium.content_browsertests_apk" |
339 } | 339 } |
340 } | 340 } |
341 | 341 |
| 342 # TODO(GYP): Delete this after we've converted everything to GN. |
| 343 # The _run targets exist only for compatibility w/ GYP. |
| 344 group("content_browsertests_run") { |
| 345 testonly = true |
| 346 deps = [ |
| 347 ":content_browsertests", |
| 348 ] |
| 349 } |
| 350 |
342 test("content_browsertests") { | 351 test("content_browsertests") { |
343 sources = rebase_path(content_tests_gypi_values.content_browsertests_sources, | 352 sources = rebase_path(content_tests_gypi_values.content_browsertests_sources, |
344 ".", | 353 ".", |
345 "//content") | 354 "//content") |
346 | 355 |
347 if (is_android || is_linux || is_mac || is_win) { | 356 if (is_android || is_linux || is_mac || is_win) { |
348 data = [ | 357 data = [ |
349 "data/", | 358 "data/", |
350 "//net/data/", | 359 "//net/data/", |
351 "//media/test/data/", | 360 "//media/test/data/", |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
544 ] | 553 ] |
545 } else { | 554 } else { |
546 sources -= [ | 555 sources -= [ |
547 "../browser/accessibility/touch_accessibility_aura_browsertest.cc", | 556 "../browser/accessibility/touch_accessibility_aura_browsertest.cc", |
548 "../browser/renderer_host/input/touch_selection_controller_client_aura_bro
wsertest.cc", | 557 "../browser/renderer_host/input/touch_selection_controller_client_aura_bro
wsertest.cc", |
549 "../browser/web_contents/web_contents_view_aura_browsertest.cc", | 558 "../browser/web_contents/web_contents_view_aura_browsertest.cc", |
550 ] | 559 ] |
551 } | 560 } |
552 } | 561 } |
553 | 562 |
| 563 # TODO(GYP): Delete this after we've converted everything to GN. |
| 564 # The _run targets exist only for compatibility w/ GYP. |
| 565 group("content_unittests_run") { |
| 566 testonly = true |
| 567 deps = [ |
| 568 ":content_unittests", |
| 569 ] |
| 570 } |
| 571 |
554 test("content_unittests") { | 572 test("content_unittests") { |
555 defines = [] | 573 defines = [] |
556 sources = rebase_path(content_tests_gypi_values.content_unittests_sources, | 574 sources = rebase_path(content_tests_gypi_values.content_unittests_sources, |
557 ".", | 575 ".", |
558 "//content") | 576 "//content") |
559 | 577 |
560 if (is_android || is_linux || is_mac || is_win) { | 578 if (is_android || is_linux || is_mac || is_win) { |
561 data = [ | 579 data = [ |
562 "data/", | 580 "data/", |
563 "//net/data/ssl/certificates/", | 581 "//net/data/ssl/certificates/", |
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
809 "//testing/perf", | 827 "//testing/perf", |
810 "//ui/gfx", | 828 "//ui/gfx", |
811 "//ui/gfx/geometry", | 829 "//ui/gfx/geometry", |
812 ] | 830 ] |
813 | 831 |
814 if (is_android) { | 832 if (is_android) { |
815 deps += [ "//testing/android/native_test:native_test_native_code" ] | 833 deps += [ "//testing/android/native_test:native_test_native_code" ] |
816 } | 834 } |
817 } | 835 } |
818 | 836 |
| 837 # TODO(GYP): Delete this after we've converted everything to GN. |
| 838 # The _run targets exist only for compatibility w/ GYP. |
| 839 group("content_gl_tests_run") { |
| 840 testonly = true |
| 841 deps = [ |
| 842 ":content_gl_tests", |
| 843 ] |
| 844 } |
| 845 |
819 test("content_gl_tests") { | 846 test("content_gl_tests") { |
820 sources = [ | 847 sources = [ |
821 "../common/gpu/client/gl_helper_unittest.cc", | 848 "../common/gpu/client/gl_helper_unittest.cc", |
822 "../common/gpu/client/gpu_in_process_context_tests.cc", | 849 "../common/gpu/client/gpu_in_process_context_tests.cc", |
823 ] | 850 ] |
824 | 851 |
825 deps = [ | 852 deps = [ |
826 ":test_support", | 853 ":test_support", |
827 "//base/test:test_support", | 854 "//base/test:test_support", |
828 "//content/public/common", | 855 "//content/public/common", |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
905 deps += [ | 932 deps += [ |
906 "//gpu:test_support", | 933 "//gpu:test_support", |
907 "//media/base/android", | 934 "//media/base/android", |
908 "//media/base/android:media_java", | 935 "//media/base/android:media_java", |
909 "//testing/gmock", | 936 "//testing/gmock", |
910 "//ui/android:ui_java", | 937 "//ui/android:ui_java", |
911 ] | 938 ] |
912 } | 939 } |
913 } | 940 } |
914 } | 941 } |
OLD | NEW |