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

Unified Diff: components/breakpad/browser/BUILD.gn

Issue 413863002: Add breakpad component to GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
« no previous file with comments | « components/breakpad/app/BUILD.gn ('k') | components/breakpad/tools/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/breakpad/browser/BUILD.gn
diff --git a/components/breakpad/browser/BUILD.gn b/components/breakpad/browser/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..198efce456db82586027aecc11d57cdaa92a118a
--- /dev/null
+++ b/components/breakpad/browser/BUILD.gn
@@ -0,0 +1,33 @@
+# 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.
+
+source_set("browser") {
+ sources = [
+ "crash_dump_manager_android.cc",
+ "crash_dump_manager_android.h",
+ ]
+
+ if (is_linux || is_android) {
+ set_sources_assignment_filter([])
+ # Want this file on both Linux and Android.
+ sources += [
+ "crash_handler_host_linux.cc",
+ "crash_handler_host_linux.h",
+ ]
+ }
+
+ deps = [
+ "//base",
+ "//components/breakpad/app",
+ "//content/public/browser",
+ "//content/public/common",
+ ]
+
+ # This is not in the GYP build but this target includes breakpad client
+ # headers, so add the dependency here.
+ if (is_posix && !is_ios &&
+ (!is_android || !is_android_webview_build)) {
+ deps += [ "//breakpad:client" ]
+ }
+}
« no previous file with comments | « components/breakpad/app/BUILD.gn ('k') | components/breakpad/tools/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698