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