| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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/compiler/compiler.gni") | 5 import("//build/config/compiler/compiler.gni") |
| 6 | 6 |
| 7 group("telemetry_chrome_test") { | 7 group("telemetry_chrome_test") { |
| 8 data_deps = [ | 8 data_deps = [ |
| 9 # TODO(kbr): this used to be "//chrome". Had to change this to | 9 # TODO(kbr): this used to be "//chrome". Had to change this to |
| 10 # chrome_initial temporarily to work around crbug.com/536192. | 10 # chrome_initial temporarily to work around crbug.com/536192. |
| 11 "//chrome:chrome_initial", | 11 "//chrome:chrome_initial", |
| 12 "//third_party/catapult/telemetry:bitmaptools", | 12 "//third_party/catapult/telemetry:bitmaptools", |
| 13 ] | 13 ] |
| 14 | 14 |
| 15 data = [ | 15 data = [ |
| 16 "//tools/perf/chrome_telemetry_build/", | 16 "//tools/perf/chrome_telemetry_build/", |
| 17 "//third_party/catapult/", | 17 "//third_party/catapult/", |
| 18 ] | 18 ] |
| 19 | 19 |
| 20 if (is_win) { | 20 if (is_win) { |
| 21 data_deps += [ | 21 data_deps += [ "//chrome:reorder_imports" ] |
| 22 "//chrome:reorder_imports", | |
| 23 "//chrome/tools/crash_service", | |
| 24 ] | |
| 25 data += [ "//components/crash/content/tools/generate_breakpad_symbols.py" ] | 22 data += [ "//components/crash/content/tools/generate_breakpad_symbols.py" ] |
| 26 } | 23 } |
| 27 | 24 |
| 28 if (is_linux) { | 25 if (is_linux) { |
| 29 data_deps += [ | 26 data_deps += [ |
| 30 "//tools/xdisplaycheck", | 27 "//tools/xdisplaycheck", |
| 31 "//breakpad:dump_syms($host_toolchain)", | 28 "//breakpad:dump_syms($host_toolchain)", |
| 32 ] | 29 ] |
| 33 data += [ "//components/crash/content/tools/generate_breakpad_symbols.py" ] | 30 data += [ "//components/crash/content/tools/generate_breakpad_symbols.py" ] |
| 34 } | 31 } |
| 35 | 32 |
| 36 if (is_win && (symbol_level == 1 || symbol_level == 2)) { | 33 if (is_win && (symbol_level == 1 || symbol_level == 2)) { |
| 37 # TODO(GYP): These should be provided automatically through data_deps. | 34 # TODO(GYP): These should be provided automatically through data_deps. |
| 38 data += [ "$root_out_dir/chrome.exe.pdb" ] | 35 data += [ "$root_out_dir/chrome.exe.pdb" ] |
| 39 if (is_component_build) { | 36 if (is_component_build) { |
| 40 data += [ | 37 data += [ |
| 41 "$root_out_dir/base.dll.pdb", | 38 "$root_out_dir/base.dll.pdb", |
| 42 "$root_out_dir/blink_platform.dll.pdb", | 39 "$root_out_dir/blink_platform.dll.pdb", |
| 43 "$root_out_dir/blink_web.dll.pdb", | 40 "$root_out_dir/blink_web.dll.pdb", |
| 44 "$root_out_dir/content.dll.pdb", | 41 "$root_out_dir/content.dll.pdb", |
| 45 ] | 42 ] |
| 46 } | 43 } |
| 47 } | 44 } |
| 48 } | 45 } |
| OLD | NEW |