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") |
| 6 |
| 7 executable("codesighs") { |
| 8 sources = [ |
| 9 "codesighs.c", |
| 10 ] |
| 11 |
| 12 configs -= [ "//build/config/compiler:chromium_code" ] |
| 13 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 14 } |
| 15 |
| 16 executable("maptsvdifftool") { |
| 17 sources = [ |
| 18 "maptsvdifftool.c", |
| 19 ] |
| 20 |
| 21 configs -= [ "//build/config/compiler:chromium_code" ] |
| 22 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 23 } |
| 24 |
| 25 if (is_win) { |
| 26 executable("msmap2tsv") { |
| 27 sources = [ |
| 28 "msmap2tsv.c", |
| 29 ] |
| 30 |
| 31 libs += [ "dbghelp.lib" ] |
| 32 |
| 33 configs -= [ "//build/config/compiler:chromium_code" ] |
| 34 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 35 } |
| 36 |
| 37 executable("msdump2symdb") { |
| 38 sources = [ |
| 39 "msdump2symdb.c", |
| 40 ] |
| 41 |
| 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 ] |
| 50 |
| 51 configs -= [ "//build/config/compiler:chromium_code" ] |
| 52 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 53 } |
| 54 } |
OLD | NEW |