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 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 | 6 |
7 executable("codesighs") { | 7 executable("codesighs") { |
8 sources = [ | 8 sources = [ |
9 "codesighs.c", | 9 "codesighs.c", |
10 ] | 10 ] |
11 | 11 |
12 configs -= [ "//build/config/compiler:chromium_code" ] | 12 configs -= [ "//build/config/compiler:chromium_code" ] |
13 configs += [ "//build/config/compiler:no_chromium_code" ] | 13 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 14 |
| 15 deps = [ |
| 16 "//build/config/sanitizers:deps", |
| 17 ] |
14 } | 18 } |
15 | 19 |
16 executable("maptsvdifftool") { | 20 executable("maptsvdifftool") { |
17 sources = [ | 21 sources = [ |
18 "maptsvdifftool.c", | 22 "maptsvdifftool.c", |
19 ] | 23 ] |
20 | 24 |
21 configs -= [ "//build/config/compiler:chromium_code" ] | 25 configs -= [ "//build/config/compiler:chromium_code" ] |
22 configs += [ "//build/config/compiler:no_chromium_code" ] | 26 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 27 |
| 28 deps = [ |
| 29 "//build/config/sanitizers:deps", |
| 30 ] |
23 } | 31 } |
24 | 32 |
25 if (is_win) { | 33 if (is_win) { |
26 executable("msmap2tsv") { | 34 executable("msmap2tsv") { |
27 sources = [ | 35 sources = [ |
28 "msmap2tsv.c", | 36 "msmap2tsv.c", |
29 ] | 37 ] |
30 | 38 |
31 libs = [ "dbghelp.lib" ] | 39 libs = [ "dbghelp.lib" ] |
32 | 40 |
33 configs -= [ "//build/config/compiler:chromium_code" ] | 41 configs -= [ "//build/config/compiler:chromium_code" ] |
34 configs += [ "//build/config/compiler:no_chromium_code" ] | 42 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 43 |
| 44 deps = [ |
| 45 "//build/config/sanitizers:deps", |
| 46 ] |
35 } | 47 } |
36 | 48 |
37 executable("msdump2symdb") { | 49 executable("msdump2symdb") { |
38 sources = [ | 50 sources = [ |
39 "msdump2symdb.c", | 51 "msdump2symdb.c", |
40 ] | 52 ] |
41 | 53 |
42 configs -= [ "//build/config/compiler:chromium_code" ] | 54 configs -= [ "//build/config/compiler:chromium_code" ] |
43 configs += [ "//build/config/compiler:no_chromium_code" ] | 55 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 56 |
| 57 deps = [ |
| 58 "//build/config/sanitizers:deps", |
| 59 ] |
44 } | 60 } |
45 } else { | 61 } else { |
46 executable("nm2tsv") { | 62 executable("nm2tsv") { |
47 sources = [ | 63 sources = [ |
48 "nm2tsv.c", | 64 "nm2tsv.c", |
49 ] | 65 ] |
50 | 66 |
51 configs -= [ "//build/config/compiler:chromium_code" ] | 67 configs -= [ "//build/config/compiler:chromium_code" ] |
52 configs += [ "//build/config/compiler:no_chromium_code" ] | 68 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 69 |
| 70 deps = [ |
| 71 "//build/config/sanitizers:deps", |
| 72 ] |
53 } | 73 } |
54 } | 74 } |
OLD | NEW |