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

Side by Side Diff: components/crash/core/common/BUILD.gn

Issue 1481933002: Move crash keys for command-line switches to components/crash so they can be set (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@installer_crash_keys
Patch Set: typedef -> using, %lu -> PRIuS Created 5 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/components_tests.gyp ('k') | components/crash/core/common/crash_keys.h » ('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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 source_set("common") { 5 source_set("common") {
6 sources = [ 6 sources = [
7 "crash_keys.cc", 7 "crash_keys.cc",
8 "crash_keys.h", 8 "crash_keys.h",
9 ] 9 ]
10 10
11 deps = [ 11 deps = [
12 "//base", 12 "//base",
13 ] 13 ]
14 14
15 if (is_mac || is_ios) { 15 if (is_mac || is_ios) {
16 sources += [ 16 sources += [
17 "objc_zombie.h", 17 "objc_zombie.h",
18 "objc_zombie.mm", 18 "objc_zombie.mm",
19 ] 19 ]
20 } 20 }
21 } 21 }
22 22
23 source_set("unit_tests") { 23 source_set("unit_tests") {
24 testonly = true 24 testonly = true
25 sources = [
26 "crash_keys_unittest.cc",
27 ]
28
29 deps = [
30 ":common",
31 "//base",
32 "//testing/gtest",
33 ]
34
25 if (is_mac || is_ios) { 35 if (is_mac || is_ios) {
26 sources = [ 36 sources += [ "objc_zombie_unittest.mm" ]
27 "objc_zombie_unittest.mm",
28 ]
29 deps = [
30 ":common",
31 "//base",
32 "//testing/gtest",
33 ]
34 } 37 }
35 } 38 }
OLDNEW
« no previous file with comments | « components/components_tests.gyp ('k') | components/crash/core/common/crash_keys.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698