Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(187)

Side by Side Diff: chrome/test/BUILD.gn

Issue 1461833002: Clean up BUILD gn target of telemetry_perf_unittests, telemetry_gpu_unittests, (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | testing/buildbot/chromium.win.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 654 matching lines...) Expand 10 before | Expand all | Expand 10 after
665 665
666 # Field trial config 666 # Field trial config
667 "//tools/variations/", 667 "//tools/variations/",
668 "//testing/variations/", 668 "//testing/variations/",
669 669
670 # For isolate contract. 670 # For isolate contract.
671 "//testing/scripts/common.py", 671 "//testing/scripts/common.py",
672 "//testing/xvfb.py", 672 "//testing/xvfb.py",
673 "//testing/scripts/run_telemetry_as_googletest.py", 673 "//testing/scripts/run_telemetry_as_googletest.py",
674 ] 674 ]
675
676 if (is_win && (symbol_level == 1 || symbol_level == 2)) {
677 # TODO(GYP): These should be provided automatically through data_deps.
678 data += [ "$root_out_dir/chrome.exe.pdb" ]
679 if (is_component_build) {
680 data += [
681 "$root_out_dir/base.dll.pdb",
682 "$root_out_dir/blink_platform.dll.pdb",
683 "$root_out_dir/blink_web.dll.pdb",
684 "$root_out_dir/content.dll.pdb",
685 ]
686 }
687 }
688 } 675 }
689 676
690 # TODO(GYP): Delete this after we've converted everything to GN. 677 # TODO(GYP): Delete this after we've converted everything to GN.
691 # The _run targets exist only for compatibility w/ GYP. 678 # The _run targets exist only for compatibility w/ GYP.
692 group("telemetry_unittests_run") { 679 group("telemetry_unittests_run") {
693 testonly = true 680 testonly = true
694 deps = [ 681 deps = [
695 ":telemetry_unittests", 682 ":telemetry_unittests",
696 ] 683 ]
697 } 684 }
698 685
699 group("telemetry_unittests") { 686 group("telemetry_unittests") {
700 deps = [ 687 deps = [
701 "//tools/perf/chrome_telemetry_build:telemetry_chrome_test", 688 "//tools/perf/chrome_telemetry_build:telemetry_chrome_test",
702 ] 689 ]
703 690
704 data = [ 691 data = [
705 "//tools/perf/",
706
707 # Field trial config
708 "//tools/variations/",
709
710 # For isolate contract. 692 # For isolate contract.
711 "//testing/scripts/common.py", 693 "//testing/scripts/common.py",
712 "//testing/xvfb.py", 694 "//testing/xvfb.py",
713 "//testing/scripts/run_telemetry_as_googletest.py", 695 "//testing/scripts/run_telemetry_as_googletest.py",
714 ] 696 ]
715
716 if (is_win && (symbol_level == 1 || symbol_level == 2)) {
717 # TODO(GYP): These should be provided automatically through data_deps.
718 data += [ "$root_out_dir/chrome.exe.pdb" ]
719 if (is_component_build) {
720 data += [
721 "$root_out_dir/base.dll.pdb",
722 "$root_out_dir/blink_platform.dll.pdb",
723 "$root_out_dir/blink_web.dll.pdb",
724 "$root_out_dir/content.dll.pdb",
725 ]
726 }
727 }
728 } 697 }
729 698
730 # TODO(GYP): Delete this after we've converted everything to GN. 699 # TODO(GYP): Delete this after we've converted everything to GN.
731 # The _run targets exist only for compatibility w/ GYP. 700 # The _run targets exist only for compatibility w/ GYP.
732 group("telemetry_gpu_test_run") { 701 group("telemetry_gpu_test_run") {
733 testonly = true 702 testonly = true
734 deps = [ 703 deps = [
735 ":telemetry_gpu_test", 704 ":telemetry_gpu_test",
736 ] 705 ]
737 } 706 }
738 707
739 group("telemetry_gpu_test") { 708 group("telemetry_gpu_test") {
740 deps = [ 709 deps = [
741 "//tools/perf/chrome_telemetry_build:telemetry_chrome_test", 710 "//tools/perf/chrome_telemetry_build:telemetry_chrome_test",
742 ] 711 ]
743 712
744 data = [ 713 data = [
745 "//content/test/gpu/", 714 "//content/test/gpu/",
746 "//content/test/data/gpu/", 715 "//content/test/data/gpu/",
747 716
748 # For GpuProcess.video 717 # For GpuProcess.video
749 "//content/test/data/media/bear.ogv", 718 "//content/test/data/media/bear.ogv",
750 719
751 # For webgl_conformance 720 # For webgl_conformance
752 "//third_party/webgl/", 721 "//third_party/webgl/",
753 "//content/test/gpu/run_gpu_test.py", 722 "//content/test/gpu/run_gpu_test.py",
754 ] 723 ]
755
756 if (is_win && (symbol_level == 1 || symbol_level == 2)) {
757 # TODO(GYP): These should be provided automatically through data_deps.
758 data += [ "$root_out_dir/chrome.exe.pdb" ]
759 if (is_component_build) {
760 data += [
761 "$root_out_dir/base.dll.pdb",
762 "$root_out_dir/blink_platform.dll.pdb",
763 "$root_out_dir/blink_web.dll.pdb",
764 "$root_out_dir/content.dll.pdb",
765 ]
766 }
767 }
768 } 724 }
769 725
770 group("telemetry_gpu_unittests_run") { 726 group("telemetry_gpu_unittests_run") {
771 testonly = true 727 testonly = true
772 deps = [ 728 deps = [
773 ":telemetry_gpu_unittests", 729 ":telemetry_gpu_unittests",
774 ] 730 ]
775 } 731 }
776 732
777 group("telemetry_gpu_unittests") { 733 group("telemetry_gpu_unittests") {
(...skipping 1461 matching lines...) Expand 10 before | Expand all | Expand 10 after
2239 if (is_android) { 2195 if (is_android) {
2240 android_library("unit_tests_java") { 2196 android_library("unit_tests_java") {
2241 DEPRECATED_java_in_dir = "//chrome/test/android/unit_tests_apk/src" 2197 DEPRECATED_java_in_dir = "//chrome/test/android/unit_tests_apk/src"
2242 deps = [ 2198 deps = [
2243 "//base:base_java", 2199 "//base:base_java",
2244 "//chrome/android:chrome_java", 2200 "//chrome/android:chrome_java",
2245 "//content/public/android:content_java", 2201 "//content/public/android:content_java",
2246 ] 2202 ]
2247 } 2203 }
2248 } 2204 }
OLDNEW
« no previous file with comments | « no previous file | testing/buildbot/chromium.win.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698