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", |
+ ] |
+} |