| 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 if (is_win) { | 7 if (is_win) { |
| 8 action("copy_cdb_to_output") { | 8 action("copy_cdb_to_output") { |
| 9 script = "//build/win/copy_cdb_to_output.py" | 9 script = "//build/win/copy_cdb_to_output.py" |
| 10 inputs = [ | 10 inputs = [ |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 data_deps = [ | 34 data_deps = [ |
| 35 "//third_party/catapult/telemetry:bitmaptools", | 35 "//third_party/catapult/telemetry:bitmaptools", |
| 36 ] | 36 ] |
| 37 | 37 |
| 38 data_deps += [ "//chrome" ] | 38 data_deps += [ "//chrome" ] |
| 39 } | 39 } |
| 40 | 40 |
| 41 data = [ | 41 data = [ |
| 42 "//tools/perf/chrome_telemetry_build/", | 42 "//tools/perf/chrome_telemetry_build/", |
| 43 "//third_party/catapult/", | 43 "//third_party/catapult/", |
| 44 "//components/crash/content/tools/generate_breakpad_symbols.py", |
| 44 ] | 45 ] |
| 45 | 46 |
| 46 if (is_win) { | 47 if (is_win) { |
| 47 data_deps += [ "//chrome:reorder_imports" ] | 48 data_deps += [ "//chrome:reorder_imports" ] |
| 48 data += [ "//components/crash/content/tools/generate_breakpad_symbols.py" ] | |
| 49 } | 49 } |
| 50 | 50 |
| 51 if (is_linux) { | 51 if (is_linux) { |
| 52 data_deps += [ | 52 data_deps += [ |
| 53 "//tools/xdisplaycheck", | 53 "//tools/xdisplaycheck", |
| 54 "//breakpad:dump_syms($host_toolchain)", | 54 "//breakpad:dump_syms($host_toolchain)", |
| 55 ] | 55 ] |
| 56 data += [ "//components/crash/content/tools/generate_breakpad_symbols.py" ] | 56 } |
| 57 |
| 58 if (is_mac) { |
| 59 data_deps += [ |
| 60 "//breakpad:dump_syms", |
| 61 "//chrome:chrome_framework", |
| 62 "//chrome:chrome_helper_app", |
| 63 "//third_party/crashpad/crashpad/tools:crashpad_database_util", |
| 64 ] |
| 57 } | 65 } |
| 58 | 66 |
| 59 if (is_win && (symbol_level == 1 || symbol_level == 2)) { | 67 if (is_win && (symbol_level == 1 || symbol_level == 2)) { |
| 60 data_deps += [ | 68 data_deps += [ |
| 61 ":copy_cdb_to_output", | 69 ":copy_cdb_to_output", |
| 62 "//third_party/crashpad/crashpad/tools:crashpad_database_util", | 70 "//third_party/crashpad/crashpad/tools:crashpad_database_util", |
| 63 ] | 71 ] |
| 64 | 72 |
| 65 # TODO(GYP): These should be provided automatically through data_deps. | 73 # TODO(GYP): These should be provided automatically through data_deps. |
| 66 data += [ "$root_out_dir/chrome.exe.pdb" ] | 74 data += [ "$root_out_dir/chrome.exe.pdb" ] |
| 67 if (is_component_build) { | 75 if (is_component_build) { |
| 68 data += [ | 76 data += [ |
| 69 "$root_out_dir/base.dll.pdb", | 77 "$root_out_dir/base.dll.pdb", |
| 70 "$root_out_dir/blink_platform.dll.pdb", | 78 "$root_out_dir/blink_platform.dll.pdb", |
| 71 "$root_out_dir/blink_web.dll.pdb", | 79 "$root_out_dir/blink_web.dll.pdb", |
| 72 "$root_out_dir/content.dll.pdb", | 80 "$root_out_dir/content.dll.pdb", |
| 73 ] | 81 ] |
| 74 } else { | 82 } else { |
| 75 data += [ "$root_out_dir/chrome_child.dll.pdb" ] | 83 data += [ "$root_out_dir/chrome_child.dll.pdb" ] |
| 76 } | 84 } |
| 77 } | 85 } |
| 78 } | 86 } |
| OLD | NEW |