Chromium Code Reviews| Index: third_party/codesighs/BUILD.gn |
| diff --git a/third_party/codesighs/BUILD.gn b/third_party/codesighs/BUILD.gn |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..c89d37201edb9b6161c79bd891a4178341cbf10f |
| --- /dev/null |
| +++ b/third_party/codesighs/BUILD.gn |
| @@ -0,0 +1,59 @@ |
| +# Copyright 2014 The Chromium Authors. All rights reserved. |
| +# Use of this source code is governed by a BSD-style license that can be |
| +# found in the LICENSE file. |
| + |
| +import("//build/config/features.gni") |
|
Dirk Pranke
2015/02/17 21:22:53
I suggest we use:
configs -= [ "//build/confi
|
| + |
| +executable("codesighs") { |
| + sources = [ |
| + "codesighs.c", |
| + ] |
| + |
| + if (is_win) { |
| + cflags = [ "/wd4267" ] |
| + } |
| +} |
| + |
| +executable("maptsvdifftool") { |
| + sources = [ |
| + "maptsvdifftool.c", |
| + ] |
| + |
| + if (is_win) { |
| + cflags = [ "/wd4267" ] |
| + } |
| +} |
| + |
| +if (is_win) { |
| + executable("msmap2tsv") { |
| + sources = [ |
| + "msmap2tsv.c", |
| + ] |
| + |
| + libs += [ "dbghelp.lib" ] |
| + |
| + if (is_win) { |
| + cflags = [ "/wd4267" ] |
| + } |
| + } |
| + |
| + executable("msdump2symdb") { |
| + sources = [ |
| + "msdump2symdb.c", |
| + ] |
| + |
| + if (is_win) { |
| + cflags = [ "/wd4267" ] |
| + } |
| + } |
| +} else { |
| + executable("nm2tsv") { |
| + sources = [ |
| + "nm2tsv.c", |
| + ] |
| + |
| + if (is_win) { |
| + cflags = [ "/wd4267" ] |
| + } |
| + } |
| +} |