| 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) { | |
| 8 action("copy_cdb_to_output") { | |
| 9 script = "//build/win/copy_cdb_to_output.py" | |
| 10 inputs = [ | |
| 11 script, | |
| 12 ] | |
| 13 outputs = [ | |
| 14 "$root_out_dir/cdb/cdb.exe", | |
| 15 "$root_out_dir/cdb/dbgeng.dll", | |
| 16 "$root_out_dir/cdb/dbghelp.dll", | |
| 17 "$root_out_dir/cdb/dbgmodel.dll", | |
| 18 "$root_out_dir/cdb/winext/ext.dll", | |
| 19 "$root_out_dir/cdb/winext/uext.dll", | |
| 20 "$root_out_dir/cdb/winxp/exts.dll", | |
| 21 "$root_out_dir/cdb/winxp/ntsdexts.dll", | |
| 22 "$root_out_dir/cdb/api-ms-win-core-console-l1-1-0.dll", | |
| 23 "$root_out_dir/cdb/api-ms-win-core-datetime-l1-1-0.dll", | |
| 24 "$root_out_dir/cdb/api-ms-win-core-debug-l1-1-0.dll", | |
| 25 "$root_out_dir/cdb/api-ms-win-core-errorhandling-l1-1-0.dll", | |
| 26 "$root_out_dir/cdb/api-ms-win-core-file-l1-1-0.dll", | |
| 27 "$root_out_dir/cdb/api-ms-win-core-file-l1-2-0.dll", | |
| 28 "$root_out_dir/cdb/api-ms-win-core-file-l2-1-0.dll", | |
| 29 "$root_out_dir/cdb/api-ms-win-core-handle-l1-1-0.dll", | |
| 30 "$root_out_dir/cdb/api-ms-win-core-heap-l1-1-0.dll", | |
| 31 "$root_out_dir/cdb/api-ms-win-core-interlocked-l1-1-0.dll", | |
| 32 "$root_out_dir/cdb/api-ms-win-core-libraryloader-l1-1-0.dll", | |
| 33 "$root_out_dir/cdb/api-ms-win-core-localization-l1-2-0.dll", | |
| 34 "$root_out_dir/cdb/api-ms-win-core-memory-l1-1-0.dll", | |
| 35 "$root_out_dir/cdb/api-ms-win-core-namedpipe-l1-1-0.dll", | |
| 36 "$root_out_dir/cdb/api-ms-win-core-processenvironment-l1-1-0.dll", | |
| 37 "$root_out_dir/cdb/api-ms-win-core-processthreads-l1-1-0.dll", | |
| 38 "$root_out_dir/cdb/api-ms-win-core-processthreads-l1-1-1.dll", | |
| 39 "$root_out_dir/cdb/api-ms-win-core-profile-l1-1-0.dll", | |
| 40 "$root_out_dir/cdb/api-ms-win-core-rtlsupport-l1-1-0.dll", | |
| 41 "$root_out_dir/cdb/api-ms-win-core-string-l1-1-0.dll", | |
| 42 "$root_out_dir/cdb/api-ms-win-core-synch-l1-1-0.dll", | |
| 43 "$root_out_dir/cdb/api-ms-win-core-synch-l1-2-0.dll", | |
| 44 "$root_out_dir/cdb/api-ms-win-core-sysinfo-l1-1-0.dll", | |
| 45 "$root_out_dir/cdb/api-ms-win-core-timezone-l1-1-0.dll", | |
| 46 "$root_out_dir/cdb/api-ms-win-core-util-l1-1-0.dll", | |
| 47 "$root_out_dir/cdb/api-ms-win-crt-conio-l1-1-0.dll", | |
| 48 "$root_out_dir/cdb/api-ms-win-crt-convert-l1-1-0.dll", | |
| 49 "$root_out_dir/cdb/api-ms-win-crt-environment-l1-1-0.dll", | |
| 50 "$root_out_dir/cdb/api-ms-win-crt-filesystem-l1-1-0.dll", | |
| 51 "$root_out_dir/cdb/api-ms-win-crt-heap-l1-1-0.dll", | |
| 52 "$root_out_dir/cdb/api-ms-win-crt-locale-l1-1-0.dll", | |
| 53 "$root_out_dir/cdb/api-ms-win-crt-math-l1-1-0.dll", | |
| 54 "$root_out_dir/cdb/api-ms-win-crt-multibyte-l1-1-0.dll", | |
| 55 "$root_out_dir/cdb/api-ms-win-crt-private-l1-1-0.dll", | |
| 56 "$root_out_dir/cdb/api-ms-win-crt-process-l1-1-0.dll", | |
| 57 "$root_out_dir/cdb/api-ms-win-crt-runtime-l1-1-0.dll", | |
| 58 "$root_out_dir/cdb/api-ms-win-crt-stdio-l1-1-0.dll", | |
| 59 "$root_out_dir/cdb/api-ms-win-crt-string-l1-1-0.dll", | |
| 60 "$root_out_dir/cdb/api-ms-win-crt-time-l1-1-0.dll", | |
| 61 "$root_out_dir/cdb/api-ms-win-crt-utility-l1-1-0.dll", | |
| 62 "$root_out_dir/cdb/ucrtbase.dll", | |
| 63 ] | |
| 64 args = [ | |
| 65 rebase_path("$root_out_dir/cdb", root_out_dir), | |
| 66 current_cpu, | |
| 67 ] | |
| 68 } | |
| 69 } | |
| 70 | |
| 71 group("telemetry_chrome_test") { | 7 group("telemetry_chrome_test") { |
| 72 testonly = true | 8 testonly = true |
| 73 | 9 |
| 74 if (is_android) { | 10 if (is_android) { |
| 75 data_deps = [ | 11 data_deps = [ |
| 76 "//chrome/android:chrome_public_apk", | 12 "//chrome/android:chrome_public_apk", |
| 77 ] | 13 ] |
| 78 } else { | 14 } else { |
| 79 data_deps = [ | 15 data_deps = [ |
| 80 "//third_party/catapult/telemetry:bitmaptools", | 16 "//third_party/catapult/telemetry:bitmaptools", |
| (...skipping 20 matching lines...) Expand all Loading... |
| 101 data_deps += [ | 37 data_deps += [ |
| 102 "//breakpad:dump_syms", | 38 "//breakpad:dump_syms", |
| 103 "//chrome:chrome_framework", | 39 "//chrome:chrome_framework", |
| 104 "//chrome:chrome_helper_app", | 40 "//chrome:chrome_helper_app", |
| 105 "//third_party/crashpad/crashpad/tools:crashpad_database_util", | 41 "//third_party/crashpad/crashpad/tools:crashpad_database_util", |
| 106 ] | 42 ] |
| 107 } | 43 } |
| 108 | 44 |
| 109 if (is_win && (symbol_level == 1 || symbol_level == 2)) { | 45 if (is_win && (symbol_level == 1 || symbol_level == 2)) { |
| 110 data_deps += [ | 46 data_deps += [ |
| 111 ":copy_cdb_to_output", | 47 "//build/win:copy_cdb_to_output", |
| 112 "//third_party/crashpad/crashpad/tools:crashpad_database_util", | 48 "//third_party/crashpad/crashpad/tools:crashpad_database_util", |
| 113 ] | 49 ] |
| 114 | 50 |
| 115 # TODO(GYP): These should be provided automatically through data_deps. | 51 # TODO(GYP): These should be provided automatically through data_deps. |
| 116 data += [ "$root_out_dir/chrome.exe.pdb" ] | 52 data += [ "$root_out_dir/chrome.exe.pdb" ] |
| 117 if (is_component_build) { | 53 if (is_component_build) { |
| 118 data += [ | 54 data += [ |
| 119 "$root_out_dir/base.dll.pdb", | 55 "$root_out_dir/base.dll.pdb", |
| 120 "$root_out_dir/blink_platform.dll.pdb", | 56 "$root_out_dir/blink_platform.dll.pdb", |
| 121 "$root_out_dir/blink_web.dll.pdb", | 57 "$root_out_dir/blink_web.dll.pdb", |
| 122 "$root_out_dir/content.dll.pdb", | 58 "$root_out_dir/content.dll.pdb", |
| 123 ] | 59 ] |
| 124 } else { | 60 } else { |
| 125 data += [ "$root_out_dir/chrome_child.dll.pdb" ] | 61 data += [ "$root_out_dir/chrome_child.dll.pdb" ] |
| 126 } | 62 } |
| 127 } | 63 } |
| 128 } | 64 } |
| OLD | NEW |