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

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

Issue 704363002: XXX test gn format everything (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years 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/content_settings/core/browser/BUILD.gn ('k') | components/crash/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
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
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 }
OLDNEW
« no previous file with comments | « components/content_settings/core/browser/BUILD.gn ('k') | components/crash/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698