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