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 source_set("telemtry_binary_deps") { | |
Dirk Pranke
2015/09/25 20:16:20
if there's no sources, it shouldn't be a source_se
aiolos (Not reviewing)
2015/09/25 20:40:06
Yep. I went with that since the only other target
| |
223 # Telemetry's chrome built dependencies. | |
Dirk Pranke
2015/09/25 20:16:20
I don't understand this comment?
aiolos (Not reviewing)
2015/09/25 20:40:06
Meant to convey that this target is specifically f
| |
224 data_deps = [] | |
225 | |
226 if (is_win) { | |
227 data_deps += [ "//content/shell:crash_service" ] | |
228 } | |
229 | |
230 data = [ | |
231 "//tools/perf/core/binary_dependencies.json", | |
232 ] | |
233 } | |
234 | |
222 if (!is_android) { | 235 if (!is_android) { |
223 import("//third_party/protobuf/proto_library.gni") | 236 import("//third_party/protobuf/proto_library.gni") |
224 | 237 |
225 # GYP version: chrome/chrome_tests_unit.gypi:ipc_protobuf_message_test_proto | 238 # GYP version: chrome/chrome_tests_unit.gypi:ipc_protobuf_message_test_proto |
226 proto_library("test_proto") { | 239 proto_library("test_proto") { |
227 sources = [ | 240 sources = [ |
228 "../common/safe_browsing/ipc_protobuf_message_test.proto", | 241 "../common/safe_browsing/ipc_protobuf_message_test.proto", |
229 ] | 242 ] |
230 } | 243 } |
231 | 244 |
(...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. | 606 # TODO(GYP): Delete this after we've converted everything to GN. |
594 # The _run targets exist only for compatibility w/ GYP. | 607 # The _run targets exist only for compatibility w/ GYP. |
595 group("telemetry_gpu_test_run") { | 608 group("telemetry_gpu_test_run") { |
596 testonly = true | 609 testonly = true |
597 deps = [ | 610 deps = [ |
598 ":telemetry_gpu_test", | 611 ":telemetry_gpu_test", |
599 ] | 612 ] |
600 } | 613 } |
601 | 614 |
602 group("telemetry_gpu_test") { | 615 group("telemetry_gpu_test") { |
616 deps = [ | |
617 "//content/test:telemetry_test_support", | |
618 ":telemtry_binary_deps", | |
Dirk Pranke
2015/09/25 20:16:20
typo: ":telemetry" ?
aiolos (Not reviewing)
2015/09/25 20:40:07
Done.
| |
619 ] | |
603 data_deps = [ | 620 data_deps = [ |
604 "//chrome", | 621 "//chrome", |
605 "//tools/telemetry:bitmaptools", | 622 "//tools/telemetry:bitmaptools", |
606 ] | 623 ] |
607 | 624 |
608 data = [ | 625 data = [ |
609 "//content/test/gpu/", | 626 "//content/test/gpu/", |
610 "//content/test/data/gpu/", | 627 "//content/test/data/gpu/", |
611 | 628 |
612 # For GpuProcess.video | 629 # For GpuProcess.video |
613 "//content/test/data/media/bear.ogv", | 630 "//content/test/data/media/bear.ogv", |
614 "//third_party/catapult/", | 631 "//third_party/catapult/", |
615 | 632 |
616 # For webgl_conformance | 633 # For webgl_conformance |
617 "//third_party/webgl/", | 634 "//third_party/webgl/", |
618 "//content/test/gpu/run_gpu_test.py", | 635 "//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 ] | 636 ] |
632 | 637 |
633 if (is_win && (symbol_level == 1 || symbol_level == 2)) { | 638 if (is_win && (symbol_level == 1 || symbol_level == 2)) { |
634 # TODO(GYP): These should be provided automatically through data_deps. | 639 # TODO(GYP): These should be provided automatically through data_deps. |
635 data += [ "$root_out_dir/chrome.exe.pdb" ] | 640 data += [ "$root_out_dir/chrome.exe.pdb" ] |
636 if (is_component_build) { | 641 if (is_component_build) { |
637 data += [ | 642 data += [ |
638 "$root_out_dir/base.dll.pdb", | 643 "$root_out_dir/base.dll.pdb", |
639 "$root_out_dir/blink_platform.dll.pdb", | 644 "$root_out_dir/blink_platform.dll.pdb", |
640 "$root_out_dir/blink_web.dll.pdb", | 645 "$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", | 2022 "//third_party/mojo/src/mojo/edk/system", |
2018 ] | 2023 ] |
2019 | 2024 |
2020 if (!is_android && use_ash) { | 2025 if (!is_android && use_ash) { |
2021 sources += rebase_path( | 2026 sources += rebase_path( |
2022 chrome_tests_unit_gypi_values.chrome_test_support_unit_ash_sources, | 2027 chrome_tests_unit_gypi_values.chrome_test_support_unit_ash_sources, |
2023 ".", | 2028 ".", |
2024 "//chrome") | 2029 "//chrome") |
2025 } | 2030 } |
2026 } | 2031 } |
OLD | NEW |