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

Unified Diff: chrome/tools/crash_service/BUILD.gn

Issue 1921973006: Revert of Remove CAPS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « build/gn_migration.gypi ('k') | chrome/tools/crash_service/OWNERS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/tools/crash_service/BUILD.gn
diff --git a/chrome/tools/crash_service/BUILD.gn b/chrome/tools/crash_service/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..d24cb07f3f1828da96c54a2d4426ec735334e526
--- /dev/null
+++ b/chrome/tools/crash_service/BUILD.gn
@@ -0,0 +1,49 @@
+# Copyright 2015 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+assert(is_win)
+
+executable("crash_service") {
+ sources = [
+ "main.cc",
+ ]
+
+ configs -= [ "//build/config/win:console" ]
+ configs += [ "//build/config/win:windowed" ]
+
+ deps = [
+ "//base",
+ "//chrome/common:constants",
+ "//chrome/installer/util:with_no_strings",
+ "//components/crash/content/tools:crash_service",
+ "//content/public/common:static_switches",
+ ]
+}
+
+if (target_cpu == "x86" && current_cpu == "x86") {
+ # Cross-compile a 64-bit version when compiling a 64-bit target.
+ copy("crash_service_win64") {
+ if (is_clang) {
+ maybe_clang = "clang_"
+ } else {
+ maybe_clang = ""
+ }
+ crash_service_64_target =
+ ":crash_service(//build/toolchain/win:${maybe_clang}x64)"
+
+ sources = [
+ # It would be nice if get_target_outputs would work on the executable,
+ # but instead we have to manually compute the executable name.
+ get_label_info(crash_service_64_target, "root_out_dir") +
+ "/crash_service.exe",
+ ]
+ outputs = [
+ "$root_build_dir/crash_service_win64.exe",
+ ]
+
+ deps = [
+ crash_service_64_target,
+ ]
+ }
+}
« no previous file with comments | « build/gn_migration.gypi ('k') | chrome/tools/crash_service/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698