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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 } else if (v8_current_cpu == "mips64" || v8_current_cpu == "mips64el") { | 141 } else if (v8_current_cpu == "mips64" || v8_current_cpu == "mips64el") { |
142 sources += [ "compiler/mips64/instruction-selector-mips64-unittest.cc" ] | 142 sources += [ "compiler/mips64/instruction-selector-mips64-unittest.cc" ] |
143 } else if (v8_current_cpu == "x64") { | 143 } else if (v8_current_cpu == "x64") { |
144 sources += [ "compiler/x64/instruction-selector-x64-unittest.cc" ] | 144 sources += [ "compiler/x64/instruction-selector-x64-unittest.cc" ] |
145 } else if (v8_current_cpu == "ppc" || v8_current_cpu == "ppc64") { | 145 } else if (v8_current_cpu == "ppc" || v8_current_cpu == "ppc64") { |
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 no_incremental_linking = true |
| 152 |
151 configs = [ | 153 configs = [ |
152 "../..:external_config", | 154 "../..:external_config", |
153 "../..:internal_config_base", | 155 "../..:internal_config_base", |
154 ] | 156 ] |
155 | 157 |
156 # TODO(machenbach): Translate from gyp. | 158 # TODO(machenbach): Translate from gyp. |
157 #['OS=="aix"', { | 159 #['OS=="aix"', { |
158 # 'ldflags': [ '-Wl,-bbigtoc' ], | 160 # 'ldflags': [ '-Wl,-bbigtoc' ], |
159 #}], | 161 #}], |
160 | 162 |
(...skipping 22 matching lines...) Expand all Loading... |
183 | 185 |
184 # Suppress warnings about importing locally defined symbols. | 186 # Suppress warnings about importing locally defined symbols. |
185 if (is_component_build) { | 187 if (is_component_build) { |
186 ldflags = [ | 188 ldflags = [ |
187 "/ignore:4049", | 189 "/ignore:4049", |
188 "/ignore:4217", | 190 "/ignore:4217", |
189 ] | 191 ] |
190 } | 192 } |
191 } | 193 } |
192 } | 194 } |
OLD | NEW |