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

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

Issue 2149483002: Reduce chrome.exe .text size by 50 KB with static_library (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tweaking comments Created 4 years, 5 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
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 assert(!is_ios)
6 if (is_android) { 6 if (is_android) {
7 import("//build/config/android/config.gni") 7 import("//build/config/android/config.gni")
8 } 8 }
9 9
10 static_library("lib") { 10 static_library("lib") {
11 sources = [ 11 sources = [
12 "crash_keys_win.cc", 12 "crash_keys_win.cc",
13 "crash_keys_win.h", 13 "crash_keys_win.h",
14 "crash_reporter_client.cc", 14 "crash_reporter_client.cc",
15 "crash_reporter_client.h", 15 "crash_reporter_client.h",
16 ] 16 ]
17 17
18 include_dirs = [ "../../../../breakpad/src" ] 18 include_dirs = [ "../../../../breakpad/src" ]
19 19
20 deps = [ 20 deps = [
21 "//base", 21 "//base",
22 ] 22 ]
23 23
24 if (is_win) { 24 if (is_win) {
25 deps += [ "//breakpad:breakpad_handler" ] 25 deps += [ "//breakpad:breakpad_handler" ]
26 } 26 }
27 } 27 }
28 28
29 # GYP version: components/crash.gypi:crash_component 29 # GYP version: components/crash.gypi:crash_component
30 source_set("app") { 30 static_library("app") {
31 sources = [ 31 sources = [
32 "crash_switches.cc", 32 "crash_switches.cc",
33 "crash_switches.h", 33 "crash_switches.h",
34 "crashpad.h", 34 "crashpad.h",
35 "crashpad_mac.mm", 35 "crashpad_mac.mm",
36 "crashpad_win.cc", 36 "crashpad_win.cc",
37 "run_as_crashpad_handler_win.cc", 37 "run_as_crashpad_handler_win.cc",
38 "run_as_crashpad_handler_win.h", 38 "run_as_crashpad_handler_win.h",
39 ] 39 ]
40 40
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 ":lib", 205 ":lib",
206 "//base", 206 "//base",
207 "//testing/gmock", 207 "//testing/gmock",
208 "//testing/gtest", 208 "//testing/gtest",
209 ] 209 ]
210 210
211 if (is_win) { 211 if (is_win) {
212 deps += [ "//breakpad:client" ] 212 deps += [ "//breakpad:client" ]
213 } 213 }
214 } 214 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698