| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
| 6 | 6 |
| 7 executable("codesighs") { | 7 executable("codesighs") { |
| 8 sources = [ | 8 sources = [ |
| 9 "codesighs.c", | 9 "codesighs.c", |
| 10 ] | 10 ] |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 configs -= [ "//build/config/compiler:chromium_code" ] | 21 configs -= [ "//build/config/compiler:chromium_code" ] |
| 22 configs += [ "//build/config/compiler:no_chromium_code" ] | 22 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 23 } | 23 } |
| 24 | 24 |
| 25 if (is_win) { | 25 if (is_win) { |
| 26 executable("msmap2tsv") { | 26 executable("msmap2tsv") { |
| 27 sources = [ | 27 sources = [ |
| 28 "msmap2tsv.c", | 28 "msmap2tsv.c", |
| 29 ] | 29 ] |
| 30 | 30 |
| 31 libs += [ "dbghelp.lib" ] | 31 libs = [ "dbghelp.lib" ] |
| 32 | 32 |
| 33 configs -= [ "//build/config/compiler:chromium_code" ] | 33 configs -= [ "//build/config/compiler:chromium_code" ] |
| 34 configs += [ "//build/config/compiler:no_chromium_code" ] | 34 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 35 } | 35 } |
| 36 | 36 |
| 37 executable("msdump2symdb") { | 37 executable("msdump2symdb") { |
| 38 sources = [ | 38 sources = [ |
| 39 "msdump2symdb.c", | 39 "msdump2symdb.c", |
| 40 ] | 40 ] |
| 41 | 41 |
| 42 configs -= [ "//build/config/compiler:chromium_code" ] | 42 configs -= [ "//build/config/compiler:chromium_code" ] |
| 43 configs += [ "//build/config/compiler:no_chromium_code" ] | 43 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 44 } | 44 } |
| 45 } else { | 45 } else { |
| 46 executable("nm2tsv") { | 46 executable("nm2tsv") { |
| 47 sources = [ | 47 sources = [ |
| 48 "nm2tsv.c", | 48 "nm2tsv.c", |
| 49 ] | 49 ] |
| 50 | 50 |
| 51 configs -= [ "//build/config/compiler:chromium_code" ] | 51 configs -= [ "//build/config/compiler:chromium_code" ] |
| 52 configs += [ "//build/config/compiler:no_chromium_code" ] | 52 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 53 } | 53 } |
| 54 } | 54 } |
| OLD | NEW |