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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 } | 227 } |
228 | 228 |
229 if (enable_extensions) { | 229 if (enable_extensions) { |
230 deps += [ | 230 deps += [ |
231 "//chrome/common/extensions/api", | 231 "//chrome/common/extensions/api", |
232 "//extensions:test_support", | 232 "//extensions:test_support", |
233 ] | 233 ] |
234 } | 234 } |
235 } | 235 } |
236 | 236 |
| 237 group("telemetry_binary_deps") { |
| 238 data_deps = [] |
| 239 |
| 240 if (is_win) { |
| 241 data_deps += [ "//content/shell:crash_service" ] |
| 242 } |
| 243 |
| 244 data = [ |
| 245 "//tools/perf/core/binary_dependencies.json", |
| 246 ] |
| 247 } |
| 248 |
237 if (!is_android) { | 249 if (!is_android) { |
238 import("//third_party/protobuf/proto_library.gni") | 250 import("//third_party/protobuf/proto_library.gni") |
239 | 251 |
240 # GYP version: chrome/chrome_tests_unit.gypi:ipc_protobuf_message_test_proto | 252 # GYP version: chrome/chrome_tests_unit.gypi:ipc_protobuf_message_test_proto |
241 proto_library("test_proto") { | 253 proto_library("test_proto") { |
242 sources = [ | 254 sources = [ |
243 "../common/safe_browsing/ipc_protobuf_message_test.proto", | 255 "../common/safe_browsing/ipc_protobuf_message_test.proto", |
244 ] | 256 ] |
245 } | 257 } |
246 | 258 |
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
608 # TODO(GYP): Delete this after we've converted everything to GN. | 620 # TODO(GYP): Delete this after we've converted everything to GN. |
609 # The _run targets exist only for compatibility w/ GYP. | 621 # The _run targets exist only for compatibility w/ GYP. |
610 group("telemetry_gpu_test_run") { | 622 group("telemetry_gpu_test_run") { |
611 testonly = true | 623 testonly = true |
612 deps = [ | 624 deps = [ |
613 ":telemetry_gpu_test", | 625 ":telemetry_gpu_test", |
614 ] | 626 ] |
615 } | 627 } |
616 | 628 |
617 group("telemetry_gpu_test") { | 629 group("telemetry_gpu_test") { |
| 630 deps = [ |
| 631 "//tools/telemetry:telemetry_test_support", |
| 632 ":telemetry_binary_deps", |
| 633 ] |
618 data_deps = [ | 634 data_deps = [ |
619 # TODO(kbr): this used to be "//chrome". Had to change this to | 635 # TODO(kbr): this used to be "//chrome". Had to change this to |
620 # chrome_initial temporarily to work around crbug.com/536192. | 636 # chrome_initial temporarily to work around crbug.com/536192. |
621 "//chrome:chrome_initial", | 637 "//chrome:chrome_initial", |
622 "//tools/telemetry:bitmaptools", | 638 "//tools/telemetry:bitmaptools", |
623 ] | 639 ] |
624 | 640 |
625 data = [ | 641 data = [ |
626 "//content/test/gpu/", | 642 "//content/test/gpu/", |
627 "//content/test/data/gpu/", | 643 "//content/test/data/gpu/", |
628 | 644 |
629 # For GpuProcess.video | 645 # For GpuProcess.video |
630 "//content/test/data/media/bear.ogv", | 646 "//content/test/data/media/bear.ogv", |
631 "//third_party/catapult/", | 647 "//third_party/catapult/", |
632 | 648 |
633 # For webgl_conformance | 649 # For webgl_conformance |
634 "//third_party/webgl/", | 650 "//third_party/webgl/", |
635 "//content/test/gpu/run_gpu_test.py", | 651 "//content/test/gpu/run_gpu_test.py", |
636 | |
637 # Generic telemetry deps | |
638 # TODO(GYP): These should probably be specified somewhere else | |
639 # and pulled in via a deps entry. | |
640 "//build/android/devil/", | |
641 "//build/android/pylib/", | |
642 "//build/util/", | |
643 "//third_party/WebKit/PerformanceTests/resources/jquery.tablesorter.min.js
", | |
644 "//third_party/WebKit/PerformanceTests/resources/statistics.js", | |
645 "//third_party/flot/jquery.flot.min.js", | |
646 "//third_party/webpagereplay/", | |
647 "//tools/telemetry/", | |
648 ] | 652 ] |
649 | 653 |
650 if (is_win && (symbol_level == 1 || symbol_level == 2)) { | 654 if (is_win && (symbol_level == 1 || symbol_level == 2)) { |
651 # TODO(GYP): These should be provided automatically through data_deps. | 655 # TODO(GYP): These should be provided automatically through data_deps. |
652 data += [ "$root_out_dir/chrome.exe.pdb" ] | 656 data += [ "$root_out_dir/chrome.exe.pdb" ] |
653 if (is_component_build) { | 657 if (is_component_build) { |
654 data += [ | 658 data += [ |
655 "$root_out_dir/base.dll.pdb", | 659 "$root_out_dir/base.dll.pdb", |
656 "$root_out_dir/blink_platform.dll.pdb", | 660 "$root_out_dir/blink_platform.dll.pdb", |
657 "$root_out_dir/blink_web.dll.pdb", | 661 "$root_out_dir/blink_web.dll.pdb", |
(...skipping 1381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2039 "//third_party/mojo/src/mojo/edk/system", | 2043 "//third_party/mojo/src/mojo/edk/system", |
2040 ] | 2044 ] |
2041 | 2045 |
2042 if (!is_android && use_ash) { | 2046 if (!is_android && use_ash) { |
2043 sources += rebase_path( | 2047 sources += rebase_path( |
2044 chrome_tests_unit_gypi_values.chrome_test_support_unit_ash_sources, | 2048 chrome_tests_unit_gypi_values.chrome_test_support_unit_ash_sources, |
2045 ".", | 2049 ".", |
2046 "//chrome") | 2050 "//chrome") |
2047 } | 2051 } |
2048 } | 2052 } |
OLD | NEW |