OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 if (is_android) { | 5 if (is_android) { |
6 import("//build/config/android/config.gni") | 6 import("//build/config/android/config.gni") |
7 } | 7 } |
8 | 8 |
9 source_set("lib") { | 9 source_set("lib") { |
10 sources = [ | 10 sources = [ |
11 "crash_reporter_client.cc", | 11 "crash_reporter_client.cc", |
12 "crash_reporter_client.h", | 12 "crash_reporter_client.h", |
13 "crash_keys_win.cc", | 13 "crash_keys_win.cc", |
14 "crash_keys_win.h", | 14 "crash_keys_win.h", |
15 ] | 15 ] |
16 | 16 |
17 include_dirs = [ | 17 include_dirs = [ "../../../breakpad/src" ] |
18 "../../../breakpad/src", | |
19 ] | |
20 } | 18 } |
21 | 19 |
22 # Note: if you depend on this target, you need to either link in | 20 # Note: if you depend on this target, you need to either link in |
23 # content.gyp:content_common, or add content/public/common/content_switches.cc | 21 # content.gyp:content_common, or add content/public/common/content_switches.cc |
24 # to your sources. | 22 # to your sources. |
25 # | 23 # |
26 # GYP version: components/crash.gypi:crash_component | 24 # GYP version: components/crash.gypi:crash_component |
27 source_set("app") { | 25 source_set("app") { |
28 sources = [ | 26 sources = [ |
29 "breakpad_linux_impl.h", | 27 "breakpad_linux_impl.h", |
(...skipping 23 matching lines...) Expand all Loading... |
53 if (is_android) { | 51 if (is_android) { |
54 defines += [ "CHROME_BUILD_ID=" + android_chrome_build_id ] | 52 defines += [ "CHROME_BUILD_ID=" + android_chrome_build_id ] |
55 } | 53 } |
56 | 54 |
57 if (is_mac) { | 55 if (is_mac) { |
58 deps += [ "//breakpad" ] | 56 deps += [ "//breakpad" ] |
59 } else if (is_win) { | 57 } else if (is_win) { |
60 deps += [ | 58 deps += [ |
61 "//sandbox", | 59 "//sandbox", |
62 "//breakpad:breakpad_handler", | 60 "//breakpad:breakpad_handler", |
| 61 |
63 #'../breakpad/breakpad.gyp:breakpad_sender', TODO(GYP) | 62 #'../breakpad/breakpad.gyp:breakpad_sender', TODO(GYP) |
64 ] | 63 ] |
65 } else if (is_posix && !is_ios && (!is_android || !is_android_webview_build))
{ | 64 } else if (is_posix && !is_ios && (!is_android || !is_android_webview_build))
{ |
66 deps += [ "//breakpad:client" ] | 65 deps += [ "//breakpad:client" ] |
67 } | 66 } |
68 } | 67 } |
69 | 68 |
70 source_set("test_support") { | 69 source_set("test_support") { |
71 deps = [ ":lib" ] | 70 deps = [ |
| 71 ":lib", |
| 72 ] |
72 } | 73 } |
OLD | NEW |