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

Side by Side Diff: components/breakpad/app/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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « components/breakpad.gypi ('k') | components/breakpad/browser/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 if (is_android) {
6 import("//build/config/android/config.gni")
7 }
8
9 source_set("lib") {
10 sources = [
11 "breakpad_client.cc",
12 "breakpad_client.h",
13 "crash_keys_win.cc",
14 "crash_keys_win.h",
15 ]
16 }
17
18 # Note: if you depend on this target, you need to either link in
19 # content.gyp:content_common, or add content/public/common/content_switches.cc
20 # to your sources.
21 #
22 # GYP version: components/breakpad.gyp:breakpad_component
23 source_set("app") {
24 sources = [
25 "breakpad_linux_impl.h",
26 "breakpad_mac.h",
27 "breakpad_mac.mm",
28 "breakpad_win.cc",
29 "breakpad_win.h",
30 "hard_error_handler_win.cc",
31 "hard_error_handler_win.h",
32 ]
33 if (is_android || is_linux) {
34 # Want these files on both Linux and Android.
35 set_sources_assignment_filter([])
36 sources += [
37 "breakpad_linux.cc",
38 "breakpad_linux.h",
39 ]
40 }
41
42 defines = [ "BREAKPAD_IMPLEMENTATION" ]
43
44 deps = [
45 "//base",
46 ":lib",
47 ]
48
49 if (is_mac) {
50 deps += [ "//breakpad" ]
51 } else if (is_win) {
52 deps += [
53 "//sandbox",
54 #'../breakpad/breakpad.gyp:breakpad_handler', TODO(GYP)
55 #'../breakpad/breakpad.gyp:breakpad_sender', TODO(GYP)
56 ]
57 } else if (is_posix && !is_ios &&
58 (!is_android || !is_android_webview_build)) {
59 deps += [ "//breakpad:client" ]
60 }
61 }
62
63 source_set("test_support") {
64 deps = [ ":lib" ]
65 }
OLDNEW
« no previous file with comments | « components/breakpad.gypi ('k') | components/breakpad/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698