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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
180 if (is_mac) { | 180 if (is_mac) { |
181 deps += [ "//breakpad" ] | 181 deps += [ "//breakpad" ] |
182 } | 182 } |
183 | 183 |
184 if (is_win) { | 184 if (is_win) { |
185 deps += [ "//breakpad:breakpad_handler" ] | 185 deps += [ "//breakpad:breakpad_handler" ] |
186 libs = [ "userenv.lib" ] | 186 libs = [ "userenv.lib" ] |
187 } | 187 } |
188 } | 188 } |
189 } | 189 } |
190 | |
191 if (is_mac) { | |
192 source_set("breakpad_stubs") { | |
193 sources = [ | |
194 "breakpad_mac.h", | |
195 "breakpad_mac_stubs.mm", | |
196 "crash_reporter_client.cc", | |
197 "crash_reporter_client.h", | |
198 ] | |
199 deps = [ | |
200 "//base", | |
201 ] | |
202 } | |
203 } | |
204 | |
205 source_set("unit_tests") { | |
206 testonly = true | |
207 sources = [ | |
208 "crash_keys_win_unittest.cc", | |
brucedawson
2016/05/06 18:38:36
Note that this is fixing part of bug 604060, so ad
brucedawson
2016/05/09 19:09:18
Also, the file name suggests that this is a Window
brettw
2016/05/09 21:08:34
The platform-filter should remove "*_win_unittest.
| |
209 ] | |
210 deps = [ | |
211 ":lib", | |
212 "//base", | |
213 "//testing/gmock", | |
214 "//testing/gtest", | |
215 ] | |
216 } | |
OLD | NEW |