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

Side by Side Diff: components/crash/content/app/BUILD.gn

Issue 1957683002: Address more TODO(GYP) in the GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@todo
Patch Set: iOS Created 4 years, 7 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
« no previous file with comments | « components/crash.gypi ('k') | components/metrics/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
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 assert(!is_ios)
5 if (is_android) { 6 if (is_android) {
6 import("//build/config/android/config.gni") 7 import("//build/config/android/config.gni")
7 } 8 }
8 9
9 source_set("lib") { 10 source_set("lib") {
10 sources = [ 11 sources = [
11 "crash_keys_win.cc", 12 "crash_keys_win.cc",
12 "crash_keys_win.h", 13 "crash_keys_win.h",
13 "crash_reporter_client.cc", 14 "crash_reporter_client.cc",
14 "crash_reporter_client.h", 15 "crash_reporter_client.h",
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 if (is_mac) { 181 if (is_mac) {
181 deps += [ "//breakpad" ] 182 deps += [ "//breakpad" ]
182 } 183 }
183 184
184 if (is_win) { 185 if (is_win) {
185 deps += [ "//breakpad:breakpad_handler" ] 186 deps += [ "//breakpad:breakpad_handler" ]
186 libs = [ "userenv.lib" ] 187 libs = [ "userenv.lib" ]
187 } 188 }
188 } 189 }
189 } 190 }
191
192 if (is_mac) {
193 source_set("breakpad_stubs") {
194 sources = [
195 "breakpad_mac.h",
196 "breakpad_mac_stubs.mm",
197 "crash_reporter_client.cc",
198 "crash_reporter_client.h",
199 ]
200 deps = [
201 "//base",
202 ]
203 }
204 }
205
206 source_set("unit_tests") {
207 testonly = true
208 sources = [
209 "crash_keys_win_unittest.cc",
210 ]
211 deps = [
212 ":lib",
213 "//base",
214 "//testing/gmock",
215 "//testing/gtest",
216 ]
217
218 if (is_win) {
219 deps += [ "//breakpad:client" ]
220 }
221 }
OLDNEW
« no previous file with comments | « components/crash.gypi ('k') | components/metrics/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698