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 = [ |
(...skipping 27 matching lines...) Expand all Loading... |
38 sources += [ | 38 sources += [ |
39 "breakpad_linux.cc", | 39 "breakpad_linux.cc", |
40 "breakpad_linux.h", | 40 "breakpad_linux.h", |
41 ] | 41 ] |
42 } | 42 } |
43 | 43 |
44 defines = [ "CRASH_IMPLEMENTATION" ] | 44 defines = [ "CRASH_IMPLEMENTATION" ] |
45 | 45 |
46 deps = [ | 46 deps = [ |
47 "//base", | 47 "//base", |
| 48 "//base:base_static", |
48 ":lib", | 49 ":lib", |
49 ] | 50 ] |
50 | 51 |
51 if (is_android) { | 52 if (is_android) { |
52 defines += [ "CHROME_BUILD_ID=" + android_chrome_build_id ] | 53 defines += [ "CHROME_BUILD_ID=" + android_chrome_build_id ] |
53 } | 54 } |
54 | 55 |
55 if (is_mac) { | 56 if (is_mac) { |
56 deps += [ "//breakpad" ] | 57 deps += [ "//breakpad" ] |
57 } else if (is_win) { | 58 } else if (is_win) { |
58 deps += [ | 59 deps += [ |
59 "//sandbox", | 60 "//sandbox", |
60 "//breakpad:breakpad_handler", | 61 "//breakpad:breakpad_handler", |
61 | 62 |
62 #'../breakpad/breakpad.gyp:breakpad_sender', TODO(GYP) | 63 #'../breakpad/breakpad.gyp:breakpad_sender', TODO(GYP) |
63 ] | 64 ] |
64 } else if (is_posix && !is_ios) { | 65 } else if (is_posix && !is_ios) { |
65 deps += [ "//breakpad:client" ] | 66 deps += [ "//breakpad:client" ] |
66 } | 67 } |
67 } | 68 } |
68 | 69 |
69 source_set("test_support") { | 70 source_set("test_support") { |
70 deps = [ | 71 deps = [ |
71 ":lib", | 72 ":lib", |
72 ] | 73 ] |
73 } | 74 } |
OLD | NEW |