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

Unified Diff: shell/crash/BUILD.gn

Issue 1227333002: Add breakpad support to mojo shell apk. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Reuse chromium breakpad infrastructure. Created 5 years, 5 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
Index: shell/crash/BUILD.gn
diff --git a/shell/crash/BUILD.gn b/shell/crash/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..f25c18683f97bf705eec199f3c444dd8c3d4f2c9
--- /dev/null
+++ b/shell/crash/BUILD.gn
@@ -0,0 +1,39 @@
+# Copyright 2014 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.
+
+if (is_android) {
+ import("//build/config/android/config.gni")
+}
+
+# Note: if you depend on this target, you need to either link in
+# content.gyp:content_common, or add content/public/common/content_switches.cc
+# to your sources.
+#
+# GYP version: components/crash.gypi:crash_component
+source_set("app") {
+ sources = [
+ "breakpad_linux_impl.h",
+ "hard_error_handler_win.cc",
+ "hard_error_handler_win.h",
+ ]
+
+ if (is_android) {
+ libs = [ "log" ]
+ }
+
+ if (is_android || is_linux) {
+ # Want these files on both Linux and Android.
+ set_sources_assignment_filter([])
+ sources += [
+ "breakpad_linux.cc",
+ "breakpad_linux.h",
+ ]
+ }
+
+ deps = [
+ "//base",
+ "//base:base_static",
+ "//breakpad:client",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698