OLD | NEW |
---|---|
(Empty) | |
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 | |
3 # found in the LICENSE file. | |
4 | |
5 import("//build/config/features.gni") | |
Dirk Pranke
2015/02/17 21:22:53
I suggest we use:
configs -= [ "//build/confi
| |
6 | |
7 executable("codesighs") { | |
8 sources = [ | |
9 "codesighs.c", | |
10 ] | |
11 | |
12 if (is_win) { | |
13 cflags = [ "/wd4267" ] | |
14 } | |
15 } | |
16 | |
17 executable("maptsvdifftool") { | |
18 sources = [ | |
19 "maptsvdifftool.c", | |
20 ] | |
21 | |
22 if (is_win) { | |
23 cflags = [ "/wd4267" ] | |
24 } | |
25 } | |
26 | |
27 if (is_win) { | |
28 executable("msmap2tsv") { | |
29 sources = [ | |
30 "msmap2tsv.c", | |
31 ] | |
32 | |
33 libs += [ "dbghelp.lib" ] | |
34 | |
35 if (is_win) { | |
36 cflags = [ "/wd4267" ] | |
37 } | |
38 } | |
39 | |
40 executable("msdump2symdb") { | |
41 sources = [ | |
42 "msdump2symdb.c", | |
43 ] | |
44 | |
45 if (is_win) { | |
46 cflags = [ "/wd4267" ] | |
47 } | |
48 } | |
49 } else { | |
50 executable("nm2tsv") { | |
51 sources = [ | |
52 "nm2tsv.c", | |
53 ] | |
54 | |
55 if (is_win) { | |
56 cflags = [ "/wd4267" ] | |
57 } | |
58 } | |
59 } | |
OLD | NEW |