Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(254)

Side by Side Diff: tools/perf/chrome_telemetry_build/BUILD.gn

Issue 1884303005: Ported cdb copying from GYP to GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 ]
19 args = [
20 rebase_path("$root_out_dir/cdb", root_out_dir),
21 target_cpu,
22 ]
23 }
24 }
25
7 group("telemetry_chrome_test") { 26 group("telemetry_chrome_test") {
8 data_deps = [ 27 data_deps = [
9 # TODO(kbr): this used to be "//chrome". Had to change this to 28 # TODO(kbr): this used to be "//chrome". Had to change this to
10 # chrome_initial temporarily to work around crbug.com/536192. 29 # chrome_initial temporarily to work around crbug.com/536192.
11 "//chrome:chrome_initial", 30 "//chrome:chrome_initial",
12 "//third_party/catapult/telemetry:bitmaptools", 31 "//third_party/catapult/telemetry:bitmaptools",
13 ] 32 ]
14 33
15 data = [ 34 data = [
16 "//tools/perf/chrome_telemetry_build/", 35 "//tools/perf/chrome_telemetry_build/",
17 "//third_party/catapult/", 36 "//third_party/catapult/",
18 ] 37 ]
19 38
20 if (is_win) { 39 if (is_win) {
21 data_deps += [ "//chrome:reorder_imports" ] 40 data_deps += [ "//chrome:reorder_imports" ]
22 data += [ "//components/crash/content/tools/generate_breakpad_symbols.py" ] 41 data += [ "//components/crash/content/tools/generate_breakpad_symbols.py" ]
23 } 42 }
24 43
25 if (is_linux) { 44 if (is_linux) {
26 data_deps += [ 45 data_deps += [
27 "//tools/xdisplaycheck", 46 "//tools/xdisplaycheck",
28 "//breakpad:dump_syms($host_toolchain)", 47 "//breakpad:dump_syms($host_toolchain)",
29 ] 48 ]
30 data += [ "//components/crash/content/tools/generate_breakpad_symbols.py" ] 49 data += [ "//components/crash/content/tools/generate_breakpad_symbols.py" ]
31 } 50 }
32 51
33 if (is_win && (symbol_level == 1 || symbol_level == 2)) { 52 if (is_win && (symbol_level == 1 || symbol_level == 2)) {
34 data_deps += 53 data_deps += [
35 [ "//third_party/crashpad/crashpad/tools:crashpad_database_util" ] 54 ":copy_cdb_to_output",
55 "//third_party/crashpad/crashpad/tools:crashpad_database_util",
56 ]
36 57
37 # TODO(GYP): These should be provided automatically through data_deps. 58 # TODO(GYP): These should be provided automatically through data_deps.
38 data += [ "$root_out_dir/chrome.exe.pdb" ] 59 data += [ "$root_out_dir/chrome.exe.pdb" ]
39 if (is_component_build) { 60 if (is_component_build) {
40 data += [ 61 data += [
41 "$root_out_dir/base.dll.pdb", 62 "$root_out_dir/base.dll.pdb",
42 "$root_out_dir/blink_platform.dll.pdb", 63 "$root_out_dir/blink_platform.dll.pdb",
43 "$root_out_dir/blink_web.dll.pdb", 64 "$root_out_dir/blink_web.dll.pdb",
44 "$root_out_dir/content.dll.pdb", 65 "$root_out_dir/content.dll.pdb",
45 ] 66 ]
46 } 67 }
47 } 68 }
48 } 69 }
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698