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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 } | 212 } |
213 | 213 |
214 if (enable_extensions) { | 214 if (enable_extensions) { |
215 deps += [ | 215 deps += [ |
216 "//chrome/common/extensions/api", | 216 "//chrome/common/extensions/api", |
217 "//extensions:test_support", | 217 "//extensions:test_support", |
218 ] | 218 ] |
219 } | 219 } |
220 } | 220 } |
221 | 221 |
222 group("telemetry_binary_deps") { | |
223 data_deps = [] | |
224 | |
225 if (is_win) { | |
226 data_deps += [ "//content/shell:crash_service" ] | |
227 } | |
228 | |
229 data = [ | |
230 "//tools/perf/core/binary_dependencies.json", | |
231 ] | |
232 } | |
233 | |
234 if (!is_android) { | 222 if (!is_android) { |
235 import("//third_party/protobuf/proto_library.gni") | 223 import("//third_party/protobuf/proto_library.gni") |
236 | 224 |
237 # GYP version: chrome/chrome_tests_unit.gypi:ipc_protobuf_message_test_proto | 225 # GYP version: chrome/chrome_tests_unit.gypi:ipc_protobuf_message_test_proto |
238 proto_library("test_proto") { | 226 proto_library("test_proto") { |
239 sources = [ | 227 sources = [ |
240 "../common/safe_browsing/ipc_protobuf_message_test.proto", | 228 "../common/safe_browsing/ipc_protobuf_message_test.proto", |
241 ] | 229 ] |
242 } | 230 } |
243 | 231 |
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
605 # TODO(GYP): Delete this after we've converted everything to GN. | 593 # TODO(GYP): Delete this after we've converted everything to GN. |
606 # The _run targets exist only for compatibility w/ GYP. | 594 # The _run targets exist only for compatibility w/ GYP. |
607 group("telemetry_gpu_test_run") { | 595 group("telemetry_gpu_test_run") { |
608 testonly = true | 596 testonly = true |
609 deps = [ | 597 deps = [ |
610 ":telemetry_gpu_test", | 598 ":telemetry_gpu_test", |
611 ] | 599 ] |
612 } | 600 } |
613 | 601 |
614 group("telemetry_gpu_test") { | 602 group("telemetry_gpu_test") { |
615 deps = [ | |
616 "//tools/telemetry:telemetry_test_support", | |
617 ":telemetry_binary_deps", | |
618 ] | |
619 data_deps = [ | 603 data_deps = [ |
620 # TODO(kbr): this used to be "//chrome". Had to change this to | 604 # TODO(kbr): this used to be "//chrome". Had to change this to |
621 # chrome_initial temporarily to work around crbug.com/536192. | 605 # chrome_initial temporarily to work around crbug.com/536192. |
622 "//chrome:chrome_initial", | 606 "//chrome:chrome_initial", |
623 "//tools/telemetry:bitmaptools", | 607 "//tools/telemetry:bitmaptools", |
624 ] | 608 ] |
625 | 609 |
626 data = [ | 610 data = [ |
627 "//content/test/gpu/", | 611 "//content/test/gpu/", |
628 "//content/test/data/gpu/", | 612 "//content/test/data/gpu/", |
629 | 613 |
630 # For GpuProcess.video | 614 # For GpuProcess.video |
631 "//content/test/data/media/bear.ogv", | 615 "//content/test/data/media/bear.ogv", |
632 "//third_party/catapult/", | 616 "//third_party/catapult/", |
633 | 617 |
634 # For webgl_conformance | 618 # For webgl_conformance |
635 "//third_party/webgl/", | 619 "//third_party/webgl/", |
636 "//content/test/gpu/run_gpu_test.py", | 620 "//content/test/gpu/run_gpu_test.py", |
| 621 |
| 622 # Generic telemetry deps |
| 623 # TODO(GYP): These should probably be specified somewhere else |
| 624 # and pulled in via a deps entry. |
| 625 "//build/android/devil/", |
| 626 "//build/android/pylib/", |
| 627 "//build/util/", |
| 628 "//third_party/WebKit/PerformanceTests/resources/jquery.tablesorter.min.js
", |
| 629 "//third_party/WebKit/PerformanceTests/resources/statistics.js", |
| 630 "//third_party/flot/jquery.flot.min.js", |
| 631 "//third_party/webpagereplay/", |
| 632 "//tools/telemetry/", |
637 ] | 633 ] |
638 | 634 |
639 if (is_win && (symbol_level == 1 || symbol_level == 2)) { | 635 if (is_win && (symbol_level == 1 || symbol_level == 2)) { |
640 # TODO(GYP): These should be provided automatically through data_deps. | 636 # TODO(GYP): These should be provided automatically through data_deps. |
641 data += [ "$root_out_dir/chrome.exe.pdb" ] | 637 data += [ "$root_out_dir/chrome.exe.pdb" ] |
642 if (is_component_build) { | 638 if (is_component_build) { |
643 data += [ | 639 data += [ |
644 "$root_out_dir/base.dll.pdb", | 640 "$root_out_dir/base.dll.pdb", |
645 "$root_out_dir/blink_platform.dll.pdb", | 641 "$root_out_dir/blink_platform.dll.pdb", |
646 "$root_out_dir/blink_web.dll.pdb", | 642 "$root_out_dir/blink_web.dll.pdb", |
(...skipping 1376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2023 "//third_party/mojo/src/mojo/edk/system", | 2019 "//third_party/mojo/src/mojo/edk/system", |
2024 ] | 2020 ] |
2025 | 2021 |
2026 if (!is_android && use_ash) { | 2022 if (!is_android && use_ash) { |
2027 sources += rebase_path( | 2023 sources += rebase_path( |
2028 chrome_tests_unit_gypi_values.chrome_test_support_unit_ash_sources, | 2024 chrome_tests_unit_gypi_values.chrome_test_support_unit_ash_sources, |
2029 ".", | 2025 ".", |
2030 "//chrome") | 2026 "//chrome") |
2031 } | 2027 } |
2032 } | 2028 } |
OLD | NEW |