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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 "wasm/control-transfer-unittest.cc", | 111 "wasm/control-transfer-unittest.cc", |
112 "wasm/decoder-unittest.cc", | 112 "wasm/decoder-unittest.cc", |
113 "wasm/encoder-unittest.cc", | 113 "wasm/encoder-unittest.cc", |
114 "wasm/leb-helper-unittest.cc", | 114 "wasm/leb-helper-unittest.cc", |
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_cpu == "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_cpu == "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 == "x86") { | 125 } else if (v8_target_cpu == "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_cpu == "mips" || v8_target_cpu == "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_cpu == "mips64" || v8_target_cpu == "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_cpu == "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_cpu == "ppc" || v8_target_cpu == "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_cpu == "s390" || v8_target_cpu == "s390x") { |
136 sources += [ "compiler/s390/instruction-selector-s390-unittest.cc" ] | 136 sources += [ "compiler/s390/instruction-selector-s390-unittest.cc" ] |
137 } | 137 } |
138 | 138 |
139 configs = [ | 139 configs = [ |
140 "../..:external_config", | 140 "../..:external_config", |
141 "../..:internal_config_base", | 141 "../..:internal_config_base", |
142 ] | 142 ] |
143 | 143 |
144 # TODO(machenbach): Translate from gyp. | 144 # TODO(machenbach): Translate from gyp. |
145 #['OS=="aix"', { | 145 #['OS=="aix"', { |
(...skipping 24 matching lines...) Expand all 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 |