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/compiler/compiler.gni") | 6 import("//build/config/compiler/compiler.gni") |
7 import("//build/config/crypto.gni") | 7 import("//build/config/crypto.gni") |
8 import("//build/config/features.gni") | 8 import("//build/config/features.gni") |
9 import("//build/config/ui.gni") | 9 import("//build/config/ui.gni") |
10 import("//chrome/chrome_tests.gni") | 10 import("//chrome/chrome_tests.gni") |
(...skipping 717 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
728 } | 728 } |
729 deps = [ | 729 deps = [ |
730 "//chrome/browser/ui", | 730 "//chrome/browser/ui", |
731 "//skia", | 731 "//skia", |
732 ] | 732 ] |
733 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] | 733 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
734 } | 734 } |
735 | 735 |
736 # TODO(GYP_GONE): Delete this after we've converted everything to GN. | 736 # TODO(GYP_GONE): Delete this after we've converted everything to GN. |
737 # The _run targets exist only for compatibility w/ GYP. | 737 # The _run targets exist only for compatibility w/ GYP. |
738 group("telemetry_perf_unittests_run") { | |
ghost stip (do not use)
2016/06/01 08:42:25
move these out of the if (!is_android) block
| |
739 testonly = true | |
740 deps = [ | |
741 ":telemetry_perf_unittests", | |
742 ] | |
743 } | |
744 | |
745 group("telemetry_perf_unittests") { | |
746 testonly = true | |
747 deps = [ | |
748 "//tools/perf:perf", | |
749 ] | |
750 | |
751 data = [ | |
752 # For isolate contract. | |
753 "//testing/scripts/common.py", | |
754 "//testing/xvfb.py", | |
755 "//testing/scripts/run_telemetry_as_googletest.py", | |
756 ] | |
757 } | |
758 | |
759 # TODO(GYP_GONE): Delete this after we've converted everything to GN. | |
760 # The _run targets exist only for compatibility w/ GYP. | |
761 group("telemetry_unittests_run") { | 738 group("telemetry_unittests_run") { |
762 testonly = true | 739 testonly = true |
763 deps = [ | 740 deps = [ |
764 ":telemetry_unittests", | 741 ":telemetry_unittests", |
765 ] | 742 ] |
766 } | 743 } |
767 | 744 |
768 group("telemetry_unittests") { | 745 group("telemetry_unittests") { |
769 testonly = true | 746 testonly = true |
770 deps = [ | 747 deps = [ |
(...skipping 846 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1617 "//media/cdm/ppapi:clearkeycdmadapter", | 1594 "//media/cdm/ppapi:clearkeycdmadapter", |
1618 "//third_party/widevine/cdm:widevinecdmadapter", | 1595 "//third_party/widevine/cdm:widevinecdmadapter", |
1619 ] | 1596 ] |
1620 } | 1597 } |
1621 | 1598 |
1622 # This target should not require the Chrome executable to run. | 1599 # This target should not require the Chrome executable to run. |
1623 assert_no_deps = [ "//chrome" ] | 1600 assert_no_deps = [ "//chrome" ] |
1624 } | 1601 } |
1625 } | 1602 } |
1626 | 1603 |
1604 # TODO(GYP_GONE): Delete this after we've converted everything to GN. | |
1605 # The _run targets exist only for compatibility w/ GYP. | |
1606 group("telemetry_perf_unittests_run") { | |
1607 testonly = true | |
1608 deps = [ | |
1609 ":telemetry_perf_unittests", | |
1610 ] | |
1611 } | |
1612 | |
1613 group("telemetry_perf_unittests") { | |
1614 testonly = true | |
1615 deps = [ | |
1616 "//tools/perf:perf", | |
1617 ] | |
1618 | |
1619 data = [ | |
1620 # For isolate contract. | |
1621 "//testing/scripts/common.py", | |
1622 "//testing/xvfb.py", | |
1623 "//testing/scripts/run_telemetry_as_googletest.py", | |
1624 ] | |
1625 } | |
1626 | |
1627 js2gtest("unit_tests_js") { | 1627 js2gtest("unit_tests_js") { |
1628 test_type = "unit" | 1628 test_type = "unit" |
1629 sources = rebase_path( | 1629 sources = rebase_path( |
1630 chrome_tests_unit_gypi_values.chrome_unit_tests_gtestjs_sources, | 1630 chrome_tests_unit_gypi_values.chrome_unit_tests_gtestjs_sources, |
1631 ".", | 1631 ".", |
1632 "//chrome") | 1632 "//chrome") |
1633 extra_js_files = | 1633 extra_js_files = |
1634 rebase_path(chrome_tests_unit_gypi_values.chrome_unit_tests_js_sources, | 1634 rebase_path(chrome_tests_unit_gypi_values.chrome_unit_tests_js_sources, |
1635 ".", | 1635 ".", |
1636 "//chrome") | 1636 "//chrome") |
(...skipping 749 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2386 if (is_android) { | 2386 if (is_android) { |
2387 android_library("unit_tests_java") { | 2387 android_library("unit_tests_java") { |
2388 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap k/ChromeNativeTestApplication.java" ] | 2388 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap k/ChromeNativeTestApplication.java" ] |
2389 deps = [ | 2389 deps = [ |
2390 "//base:base_java", | 2390 "//base:base_java", |
2391 "//chrome/android:chrome_java", | 2391 "//chrome/android:chrome_java", |
2392 "//content/public/android:content_java", | 2392 "//content/public/android:content_java", |
2393 ] | 2393 ] |
2394 } | 2394 } |
2395 } | 2395 } |
OLD | NEW |