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

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

Issue 1351923002: Revert of Turn components/crash into a layered component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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/app/hard_error_handler_win.cc ('k') | components/crash/browser/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/crash/browser/BUILD.gn
diff --git a/components/crash/browser/BUILD.gn b/components/crash/browser/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..05e0c0536649951b237022f31a10203f62152b2d
--- /dev/null
+++ b/components/crash/browser/BUILD.gn
@@ -0,0 +1,38 @@
+# 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")
+}
+
+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/crash/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) {
+ configs += [ "//breakpad:client_config" ]
+ public_configs = [ "//breakpad:client_config" ]
+ }
+}
« no previous file with comments | « components/crash/app/hard_error_handler_win.cc ('k') | components/crash/browser/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698