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..6706e3bcfd188c8255afce4bea1aea3267a7d995 |
--- /dev/null |
+++ b/third_party/codesighs/BUILD.gn |
@@ -0,0 +1,54 @@ |
+# 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") |
+ |
+executable("codesighs") { |
+ sources = [ |
+ "codesighs.c", |
+ ] |
+ |
+ configs -= [ "//build/config/compiler:chromium_code" ] |
+ configs += [ "//build/config/compiler:no_chromium_code" ] |
+} |
+ |
+executable("maptsvdifftool") { |
+ sources = [ |
+ "maptsvdifftool.c", |
+ ] |
+ |
+ configs -= [ "//build/config/compiler:chromium_code" ] |
+ configs += [ "//build/config/compiler:no_chromium_code" ] |
+} |
+ |
+if (is_win) { |
+ executable("msmap2tsv") { |
+ sources = [ |
+ "msmap2tsv.c", |
+ ] |
+ |
+ libs += [ "dbghelp.lib" ] |
+ |
+ configs -= [ "//build/config/compiler:chromium_code" ] |
+ configs += [ "//build/config/compiler:no_chromium_code" ] |
+ } |
+ |
+ executable("msdump2symdb") { |
+ sources = [ |
+ "msdump2symdb.c", |
+ ] |
+ |
+ configs -= [ "//build/config/compiler:chromium_code" ] |
+ configs += [ "//build/config/compiler:no_chromium_code" ] |
+ } |
+} else { |
+ executable("nm2tsv") { |
+ sources = [ |
+ "nm2tsv.c", |
+ ] |
+ |
+ configs -= [ "//build/config/compiler:chromium_code" ] |
+ configs += [ "//build/config/compiler:no_chromium_code" ] |
+ } |
+} |