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

Unified Diff: components/crash/content/app/BUILD.gn

Issue 1957683002: Address more TODO(GYP) in the GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@todo
Patch Set: iOS Created 4 years, 7 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 | « components/crash.gypi ('k') | components/metrics/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/crash/content/app/BUILD.gn
diff --git a/components/crash/content/app/BUILD.gn b/components/crash/content/app/BUILD.gn
index 8d871fe8b6572eea1a72a08d3bdab496012805c5..7662d852183b51aa843d3975deefc16cc4bb3bf5 100644
--- a/components/crash/content/app/BUILD.gn
+++ b/components/crash/content/app/BUILD.gn
@@ -2,6 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+assert(!is_ios)
if (is_android) {
import("//build/config/android/config.gni")
}
@@ -187,3 +188,34 @@ source_set("app_breakpad_mac_win_to_be_deleted") {
}
}
}
+
+if (is_mac) {
+ source_set("breakpad_stubs") {
+ sources = [
+ "breakpad_mac.h",
+ "breakpad_mac_stubs.mm",
+ "crash_reporter_client.cc",
+ "crash_reporter_client.h",
+ ]
+ deps = [
+ "//base",
+ ]
+ }
+}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "crash_keys_win_unittest.cc",
+ ]
+ deps = [
+ ":lib",
+ "//base",
+ "//testing/gmock",
+ "//testing/gtest",
+ ]
+
+ if (is_win) {
+ deps += [ "//breakpad:client" ]
+ }
+}
« no previous file with comments | « components/crash.gypi ('k') | components/metrics/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698