Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / codesighs / BUILD.gn
bloba1ffdb700dc8275363101f7e97374ca820fe0d6d
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.
5 import("//build/config/features.gni")
7 executable("codesighs") {
8   sources = [
9     "codesighs.c",
10   ]
12   configs -= [ "//build/config/compiler:chromium_code" ]
13   configs += [ "//build/config/compiler:no_chromium_code" ]
15   deps = [
16     "//build/config/sanitizers:deps",
17   ]
20 executable("maptsvdifftool") {
21   sources = [
22     "maptsvdifftool.c",
23   ]
25   configs -= [ "//build/config/compiler:chromium_code" ]
26   configs += [ "//build/config/compiler:no_chromium_code" ]
28   deps = [
29     "//build/config/sanitizers:deps",
30   ]
33 if (is_win) {
34   executable("msmap2tsv") {
35     sources = [
36       "msmap2tsv.c",
37     ]
39     libs = [ "dbghelp.lib" ]
41     configs -= [ "//build/config/compiler:chromium_code" ]
42     configs += [ "//build/config/compiler:no_chromium_code" ]
44     deps = [
45       "//build/config/sanitizers:deps",
46     ]
47   }
49   executable("msdump2symdb") {
50     sources = [
51       "msdump2symdb.c",
52     ]
54     configs -= [ "//build/config/compiler:chromium_code" ]
55     configs += [ "//build/config/compiler:no_chromium_code" ]
57     deps = [
58       "//build/config/sanitizers:deps",
59     ]
60   }
61 } else {
62   executable("nm2tsv") {
63     sources = [
64       "nm2tsv.c",
65     ]
67     configs -= [ "//build/config/compiler:chromium_code" ]
68     configs += [ "//build/config/compiler:no_chromium_code" ]
70     deps = [
71       "//build/config/sanitizers:deps",
72     ]
73   }