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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/chrome_telemetry_build/BUILD.gn
diff --git a/tools/perf/chrome_telemetry_build/BUILD.gn b/tools/perf/chrome_telemetry_build/BUILD.gn
index 6756cd8b70fd1244a2ded8eb304b0812b99aa5c0..6883c55b471851e48d0d36e71e38d1fb33eee33a 100644
--- a/tools/perf/chrome_telemetry_build/BUILD.gn
+++ b/tools/perf/chrome_telemetry_build/BUILD.gn
@@ -4,6 +4,25 @@
import("//build/config/compiler/compiler.gni")
+if (is_win) {
+ action("copy_cdb_to_output") {
+ script = "//build/win/copy_cdb_to_output.py"
+ inputs = [
+ script,
+ ]
+ outputs = [
+ "$root_out_dir/cdb/cdb.exe",
+ "$root_out_dir/cdb/dbgeng.dll",
+ "$root_out_dir/cdb/dbghelp.dll",
+ "$root_out_dir/cdb/dbgmodel.dll",
+ ]
+ args = [
+ rebase_path("$root_out_dir/cdb", root_out_dir),
+ target_cpu,
+ ]
+ }
+}
+
group("telemetry_chrome_test") {
data_deps = [
# TODO(kbr): this used to be "//chrome". Had to change this to
@@ -31,8 +50,10 @@ group("telemetry_chrome_test") {
}
if (is_win && (symbol_level == 1 || symbol_level == 2)) {
- data_deps +=
- [ "//third_party/crashpad/crashpad/tools:crashpad_database_util" ]
+ data_deps += [
+ ":copy_cdb_to_output",
+ "//third_party/crashpad/crashpad/tools:crashpad_database_util",
+ ]
# TODO(GYP): These should be provided automatically through data_deps.
data += [ "$root_out_dir/chrome.exe.pdb" ]
« 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