Fixes for Android GN build input/outputs
[chromium-blink-merge.git] / third_party / codesighs / BUILD.gn
blob0fbba4651b894f1e2a89ea80dedfbff56de1248c
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" ]
16 executable("maptsvdifftool") {
17   sources = [
18     "maptsvdifftool.c",
19   ]
21   configs -= [ "//build/config/compiler:chromium_code" ]
22   configs += [ "//build/config/compiler:no_chromium_code" ]
25 if (is_win) {
26   executable("msmap2tsv") {
27     sources = [
28       "msmap2tsv.c",
29     ]
31     libs = [ "dbghelp.lib" ]
33     configs -= [ "//build/config/compiler:chromium_code" ]
34     configs += [ "//build/config/compiler:no_chromium_code" ]
35   }
37   executable("msdump2symdb") {
38     sources = [
39       "msdump2symdb.c",
40     ]
42     configs -= [ "//build/config/compiler:chromium_code" ]
43     configs += [ "//build/config/compiler:no_chromium_code" ]
44   }
45 } else {
46   executable("nm2tsv") {
47     sources = [
48       "nm2tsv.c",
49     ]
51     configs -= [ "//build/config/compiler:chromium_code" ]
52     configs += [ "//build/config/compiler:no_chromium_code" ]
53   }