| OLD | NEW |
| 1 # Copyright 2016 The V8 project authors. All rights reserved. | 1 # Copyright 2016 The V8 project 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("../../gni/v8.gni") | 5 import("../../gni/v8.gni") |
| 6 | 6 |
| 7 v8_executable("unittests") { | 7 v8_executable("unittests") { |
| 8 testonly = true | 8 testonly = true |
| 9 | 9 |
| 10 sources = [ | 10 sources = [ |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 sources += [ "compiler/ppc/instruction-selector-ppc-unittest.cc" ] | 146 sources += [ "compiler/ppc/instruction-selector-ppc-unittest.cc" ] |
| 147 } else if (v8_current_cpu == "s390" || v8_current_cpu == "s390x") { | 147 } else if (v8_current_cpu == "s390" || v8_current_cpu == "s390x") { |
| 148 sources += [ "compiler/s390/instruction-selector-s390-unittest.cc" ] | 148 sources += [ "compiler/s390/instruction-selector-s390-unittest.cc" ] |
| 149 } | 149 } |
| 150 | 150 |
| 151 configs = [ | 151 configs = [ |
| 152 "../..:external_config", | 152 "../..:external_config", |
| 153 "../..:internal_config_base", | 153 "../..:internal_config_base", |
| 154 ] | 154 ] |
| 155 | 155 |
| 156 if (is_win) { |
| 157 remove_configs = [ "//build/config/win:default_incremental_linking" ] |
| 158 configs += [ "//build/config/win:no_incremental_linking" ] |
| 159 } |
| 160 |
| 156 # TODO(machenbach): Translate from gyp. | 161 # TODO(machenbach): Translate from gyp. |
| 157 #['OS=="aix"', { | 162 #['OS=="aix"', { |
| 158 # 'ldflags': [ '-Wl,-bbigtoc' ], | 163 # 'ldflags': [ '-Wl,-bbigtoc' ], |
| 159 #}], | 164 #}], |
| 160 | 165 |
| 161 deps = [ | 166 deps = [ |
| 162 "../..:v8_libbase", | 167 "../..:v8_libbase", |
| 163 "../..:v8_libplatform", | 168 "../..:v8_libplatform", |
| 164 "//build/config/sanitizers:deps", | 169 "//build/config/sanitizers:deps", |
| 165 "//build/win:default_exe_manifest", | 170 "//build/win:default_exe_manifest", |
| (...skipping 17 matching lines...) Expand all Loading... |
| 183 | 188 |
| 184 # Suppress warnings about importing locally defined symbols. | 189 # Suppress warnings about importing locally defined symbols. |
| 185 if (is_component_build) { | 190 if (is_component_build) { |
| 186 ldflags = [ | 191 ldflags = [ |
| 187 "/ignore:4049", | 192 "/ignore:4049", |
| 188 "/ignore:4217", | 193 "/ignore:4217", |
| 189 ] | 194 ] |
| 190 } | 195 } |
| 191 } | 196 } |
| 192 } | 197 } |
| OLD | NEW |