| 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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 } | 237 } |
| 238 | 238 |
| 239 if (enable_extensions) { | 239 if (enable_extensions) { |
| 240 public_deps += [ | 240 public_deps += [ |
| 241 "//chrome/common/extensions/api", | 241 "//chrome/common/extensions/api", |
| 242 "//extensions:test_support", | 242 "//extensions:test_support", |
| 243 ] | 243 ] |
| 244 } | 244 } |
| 245 } | 245 } |
| 246 | 246 |
| 247 # TODO(GYP): Delete this after we've converted everything to GN. |
| 248 # The _run targets exist only for compatibility w/ GYP. |
| 249 group("telemetry_gpu_test_run") { |
| 250 testonly = true |
| 251 deps = [ |
| 252 ":telemetry_gpu_test", |
| 253 ] |
| 254 } |
| 255 |
| 256 group("telemetry_gpu_test") { |
| 257 testonly = true |
| 258 deps = [ |
| 259 "//tools/perf/chrome_telemetry_build:telemetry_chrome_test", |
| 260 ] |
| 261 |
| 262 data = [ |
| 263 # For isolate contract. |
| 264 "//testing/scripts/common.py", |
| 265 "//testing/xvfb.py", |
| 266 "//testing/scripts/run_telemetry_benchmark_as_googletest.py", |
| 267 |
| 268 "//content/test/gpu/", |
| 269 "//content/test/data/gpu/", |
| 270 |
| 271 # For GpuProcess.video |
| 272 "//content/test/data/media/bear.ogv", |
| 273 |
| 274 # For webgl_conformance |
| 275 "//third_party/webgl/", |
| 276 "//content/test/gpu/run_gpu_test.py", |
| 277 ] |
| 278 } |
| 279 |
| 247 if (!is_android) { | 280 if (!is_android) { |
| 248 # GYP version: chrome/chrome_tests.gypi:test_support_ui | 281 # GYP version: chrome/chrome_tests.gypi:test_support_ui |
| 249 source_set("test_support_ui") { | 282 source_set("test_support_ui") { |
| 250 defines = [] | 283 defines = [] |
| 251 testonly = true | 284 testonly = true |
| 252 | 285 |
| 253 sources = [ | 286 sources = [ |
| 254 "base/in_process_browser_test.cc", | 287 "base/in_process_browser_test.cc", |
| 255 "base/in_process_browser_test.h", | 288 "base/in_process_browser_test.h", |
| 256 "base/in_process_browser_test_mac.cc", | 289 "base/in_process_browser_test_mac.cc", |
| (...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 685 # TODO(GYP): Delete this after we've converted everything to GN. | 718 # TODO(GYP): Delete this after we've converted everything to GN. |
| 686 # The _run targets exist only for compatibility w/ GYP. | 719 # The _run targets exist only for compatibility w/ GYP. |
| 687 group("telemetry_perf_unittests_run") { | 720 group("telemetry_perf_unittests_run") { |
| 688 testonly = true | 721 testonly = true |
| 689 deps = [ | 722 deps = [ |
| 690 ":telemetry_perf_unittests", | 723 ":telemetry_perf_unittests", |
| 691 ] | 724 ] |
| 692 } | 725 } |
| 693 | 726 |
| 694 group("telemetry_perf_unittests") { | 727 group("telemetry_perf_unittests") { |
| 728 testonly = true |
| 695 deps = [ | 729 deps = [ |
| 696 "//tools/perf:perf", | 730 "//tools/perf:perf", |
| 697 ] | 731 ] |
| 698 | 732 |
| 699 data = [ | 733 data = [ |
| 700 # For isolate contract. | 734 # For isolate contract. |
| 701 "//testing/scripts/common.py", | 735 "//testing/scripts/common.py", |
| 702 "//testing/xvfb.py", | 736 "//testing/xvfb.py", |
| 703 "//testing/scripts/run_telemetry_as_googletest.py", | 737 "//testing/scripts/run_telemetry_as_googletest.py", |
| 704 ] | 738 ] |
| 705 } | 739 } |
| 706 | 740 |
| 707 # TODO(GYP): Delete this after we've converted everything to GN. | 741 # TODO(GYP): Delete this after we've converted everything to GN. |
| 708 # The _run targets exist only for compatibility w/ GYP. | 742 # The _run targets exist only for compatibility w/ GYP. |
| 709 group("telemetry_unittests_run") { | 743 group("telemetry_unittests_run") { |
| 710 testonly = true | 744 testonly = true |
| 711 deps = [ | 745 deps = [ |
| 712 ":telemetry_unittests", | 746 ":telemetry_unittests", |
| 713 ] | 747 ] |
| 714 } | 748 } |
| 715 | 749 |
| 716 group("telemetry_unittests") { | 750 group("telemetry_unittests") { |
| 751 testonly = true |
| 717 deps = [ | 752 deps = [ |
| 718 "//tools/perf/chrome_telemetry_build:telemetry_chrome_test", | 753 "//tools/perf/chrome_telemetry_build:telemetry_chrome_test", |
| 719 ] | 754 ] |
| 720 | 755 |
| 721 data = [ | 756 data = [ |
| 722 "//tools/perf/run_telemetry_tests", | 757 "//tools/perf/run_telemetry_tests", |
| 723 | 758 |
| 724 # For isolate contract. | 759 # For isolate contract. |
| 725 "//testing/scripts/common.py", | 760 "//testing/scripts/common.py", |
| 726 "//testing/xvfb.py", | 761 "//testing/xvfb.py", |
| 727 "//testing/scripts/run_telemetry_as_googletest.py", | 762 "//testing/scripts/run_telemetry_as_googletest.py", |
| 728 ] | 763 ] |
| 729 } | 764 } |
| 730 | 765 |
| 731 # TODO(GYP): Delete this after we've converted everything to GN. | |
| 732 # The _run targets exist only for compatibility w/ GYP. | |
| 733 group("telemetry_gpu_test_run") { | |
| 734 testonly = true | |
| 735 deps = [ | |
| 736 ":telemetry_gpu_test", | |
| 737 ] | |
| 738 } | |
| 739 | |
| 740 group("telemetry_gpu_test") { | |
| 741 deps = [ | |
| 742 "//tools/perf/chrome_telemetry_build:telemetry_chrome_test", | |
| 743 ] | |
| 744 | |
| 745 data = [ | |
| 746 # For isolate contract. | |
| 747 "//testing/scripts/common.py", | |
| 748 "//testing/xvfb.py", | |
| 749 "//testing/scripts/run_telemetry_benchmark_as_googletest.py", | |
| 750 | |
| 751 "//content/test/gpu/", | |
| 752 "//content/test/data/gpu/", | |
| 753 | |
| 754 # For GpuProcess.video | |
| 755 "//content/test/data/media/bear.ogv", | |
| 756 | |
| 757 # For webgl_conformance | |
| 758 "//third_party/webgl/", | |
| 759 "//content/test/gpu/run_gpu_test.py", | |
| 760 ] | |
| 761 } | |
| 762 | |
| 763 group("telemetry_gpu_unittests_run") { | 766 group("telemetry_gpu_unittests_run") { |
| 764 testonly = true | 767 testonly = true |
| 765 deps = [ | 768 deps = [ |
| 766 ":telemetry_gpu_unittests", | 769 ":telemetry_gpu_unittests", |
| 767 ] | 770 ] |
| 768 } | 771 } |
| 769 | 772 |
| 770 group("telemetry_gpu_unittests") { | 773 group("telemetry_gpu_unittests") { |
| 771 deps = [ | 774 deps = [ |
| 772 "//third_party/catapult/telemetry:telemetry_test_support", | 775 "//third_party/catapult/telemetry:telemetry_test_support", |
| (...skipping 1556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2329 if (is_android) { | 2332 if (is_android) { |
| 2330 android_library("unit_tests_java") { | 2333 android_library("unit_tests_java") { |
| 2331 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap
k/ChromeNativeTestApplication.java" ] | 2334 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap
k/ChromeNativeTestApplication.java" ] |
| 2332 deps = [ | 2335 deps = [ |
| 2333 "//base:base_java", | 2336 "//base:base_java", |
| 2334 "//chrome/android:chrome_java", | 2337 "//chrome/android:chrome_java", |
| 2335 "//content/public/android:content_java", | 2338 "//content/public/android:content_java", |
| 2336 ] | 2339 ] |
| 2337 } | 2340 } |
| 2338 } | 2341 } |
| OLD | NEW |