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 # Please keep this file in sync with unittests.gyp. | 5 # Please keep this file in sync with unittests.gyp. |
6 | 6 |
7 import("../../gni/v8.gni") | 7 import("../../gni/v8.gni") |
8 | 8 |
9 v8_executable("unittests") { | 9 v8_executable("unittests") { |
10 testonly = true | 10 testonly = true |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 "wasm/loop-assignment-analysis-unittest.cc", | 115 "wasm/loop-assignment-analysis-unittest.cc", |
116 "wasm/module-decoder-unittest.cc", | 116 "wasm/module-decoder-unittest.cc", |
117 "wasm/switch-logic-unittest.cc", | 117 "wasm/switch-logic-unittest.cc", |
118 "wasm/wasm-macro-gen-unittest.cc", | 118 "wasm/wasm-macro-gen-unittest.cc", |
119 ] | 119 ] |
120 | 120 |
121 if (v8_target_arch == "arm") { | 121 if (v8_target_arch == "arm") { |
122 sources += [ "compiler/arm/instruction-selector-arm-unittest.cc" ] | 122 sources += [ "compiler/arm/instruction-selector-arm-unittest.cc" ] |
123 } else if (v8_target_arch == "arm64") { | 123 } else if (v8_target_arch == "arm64") { |
124 sources += [ "compiler/arm64/instruction-selector-arm64-unittest.cc" ] | 124 sources += [ "compiler/arm64/instruction-selector-arm64-unittest.cc" ] |
125 } else if (v8_target_arch == "ia32") { | 125 } else if (v8_target_arch == "x86") { |
126 sources += [ "compiler/ia32/instruction-selector-ia32-unittest.cc" ] | 126 sources += [ "compiler/ia32/instruction-selector-ia32-unittest.cc" ] |
127 } else if (v8_target_arch == "mips" || v8_target_arch == "mipsel") { | 127 } else if (v8_target_arch == "mips" || v8_target_arch == "mipsel") { |
128 sources += [ "compiler/mips/instruction-selector-mips-unittest.cc" ] | 128 sources += [ "compiler/mips/instruction-selector-mips-unittest.cc" ] |
129 } else if (v8_target_arch == "mips64" || v8_target_arch == "mips64el") { | 129 } else if (v8_target_arch == "mips64" || v8_target_arch == "mips64el") { |
130 sources += [ "compiler/mips64/instruction-selector-mips64-unittest.cc" ] | 130 sources += [ "compiler/mips64/instruction-selector-mips64-unittest.cc" ] |
131 } else if (v8_target_arch == "x64") { | 131 } else if (v8_target_arch == "x64") { |
132 sources += [ "compiler/x64/instruction-selector-x64-unittest.cc" ] | 132 sources += [ "compiler/x64/instruction-selector-x64-unittest.cc" ] |
133 } else if (v8_target_arch == "ppc" || v8_target_arch == "ppc64") { | 133 } else if (v8_target_arch == "ppc" || v8_target_arch == "ppc64") { |
134 sources += [ "compiler/ppc/instruction-selector-ppc-unittest.cc" ] | 134 sources += [ "compiler/ppc/instruction-selector-ppc-unittest.cc" ] |
135 } else if (v8_target_arch == "s390" || v8_target_arch == "s390x") { | 135 } else if (v8_target_arch == "s390" || v8_target_arch == "s390x") { |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 | 170 |
171 # Suppress warnings about importing locally defined symbols. | 171 # Suppress warnings about importing locally defined symbols. |
172 if (is_component_build) { | 172 if (is_component_build) { |
173 ldflags = [ | 173 ldflags = [ |
174 "/ignore:4049", | 174 "/ignore:4049", |
175 "/ignore:4217", | 175 "/ignore:4217", |
176 ] | 176 ] |
177 } | 177 } |
178 } | 178 } |
179 } | 179 } |
OLD | NEW |