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("cctest") { | 7 v8_executable("cctest") { |
8 testonly = true | 8 testonly = true |
9 | 9 |
10 sources = [ | 10 sources = [ |
11 "$target_gen_dir/resources.cc", | 11 "$target_gen_dir/resources.cc", |
| 12 |
| 13 ### gcmole(all) ### |
12 "asmjs/test-asm-typer.cc", | 14 "asmjs/test-asm-typer.cc", |
13 "ast-types-fuzz.h", | 15 "ast-types-fuzz.h", |
14 "cctest.cc", | 16 "cctest.cc", |
15 "cctest.h", | 17 "cctest.h", |
16 "compiler/c-signature.h", | 18 "compiler/c-signature.h", |
17 "compiler/call-tester.h", | 19 "compiler/call-tester.h", |
18 "compiler/code-assembler-tester.h", | 20 "compiler/code-assembler-tester.h", |
19 "compiler/codegen-tester.cc", | 21 "compiler/codegen-tester.cc", |
20 "compiler/codegen-tester.h", | 22 "compiler/codegen-tester.h", |
21 "compiler/function-tester.cc", | 23 "compiler/function-tester.cc", |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 "wasm/test-run-wasm-relocation.cc", | 189 "wasm/test-run-wasm-relocation.cc", |
188 "wasm/test-run-wasm.cc", | 190 "wasm/test-run-wasm.cc", |
189 "wasm/test-signatures.h", | 191 "wasm/test-signatures.h", |
190 "wasm/test-wasm-function-name-table.cc", | 192 "wasm/test-wasm-function-name-table.cc", |
191 "wasm/test-wasm-stack.cc", | 193 "wasm/test-wasm-stack.cc", |
192 "wasm/test-wasm-trap-position.cc", | 194 "wasm/test-wasm-trap-position.cc", |
193 "wasm/wasm-run-utils.h", | 195 "wasm/wasm-run-utils.h", |
194 ] | 196 ] |
195 | 197 |
196 if (v8_current_cpu == "arm") { | 198 if (v8_current_cpu == "arm") { |
197 sources += [ | 199 sources += [ ### gcmole(arch:arm) ### |
198 "test-assembler-arm.cc", | 200 "test-assembler-arm.cc", |
199 "test-code-stubs-arm.cc", | 201 "test-code-stubs-arm.cc", |
200 "test-code-stubs.cc", | 202 "test-code-stubs.cc", |
201 "test-code-stubs.h", | 203 "test-code-stubs.h", |
202 "test-disasm-arm.cc", | 204 "test-disasm-arm.cc", |
203 "test-macro-assembler-arm.cc", | 205 "test-macro-assembler-arm.cc", |
204 "test-run-wasm-relocation-arm.cc", | 206 "test-run-wasm-relocation-arm.cc", |
205 ] | 207 ] |
206 } else if (v8_current_cpu == "arm64") { | 208 } else if (v8_current_cpu == "arm64") { |
207 sources += [ | 209 sources += [ ### gcmole(arch:arm64) ### |
208 "test-assembler-arm64.cc", | 210 "test-assembler-arm64.cc", |
209 "test-code-stubs-arm64.cc", | 211 "test-code-stubs-arm64.cc", |
210 "test-code-stubs.cc", | 212 "test-code-stubs.cc", |
211 "test-code-stubs.h", | 213 "test-code-stubs.h", |
212 "test-disasm-arm64.cc", | 214 "test-disasm-arm64.cc", |
213 "test-fuzz-arm64.cc", | 215 "test-fuzz-arm64.cc", |
214 "test-javascript-arm64.cc", | 216 "test-javascript-arm64.cc", |
215 "test-js-arm64-variables.cc", | 217 "test-js-arm64-variables.cc", |
216 "test-run-wasm-relocation-arm64.cc", | 218 "test-run-wasm-relocation-arm64.cc", |
217 "test-utils-arm64.cc", | 219 "test-utils-arm64.cc", |
218 "test-utils-arm64.h", | 220 "test-utils-arm64.h", |
219 ] | 221 ] |
220 } else if (v8_current_cpu == "x86") { | 222 } else if (v8_current_cpu == "x86") { |
221 sources += [ | 223 sources += [ ### gcmole(arch:ia32) ### |
222 "test-assembler-ia32.cc", | 224 "test-assembler-ia32.cc", |
223 "test-code-stubs-ia32.cc", | 225 "test-code-stubs-ia32.cc", |
224 "test-code-stubs.cc", | 226 "test-code-stubs.cc", |
225 "test-code-stubs.h", | 227 "test-code-stubs.h", |
226 "test-disasm-ia32.cc", | 228 "test-disasm-ia32.cc", |
227 "test-log-stack-tracer.cc", | 229 "test-log-stack-tracer.cc", |
228 "test-macro-assembler-ia32.cc", | 230 "test-macro-assembler-ia32.cc", |
229 "test-run-wasm-relocation-ia32.cc", | 231 "test-run-wasm-relocation-ia32.cc", |
230 ] | 232 ] |
231 } else if (v8_current_cpu == "mips") { | 233 } else if (v8_current_cpu == "mips") { |
232 sources += [ | 234 sources += [ ### gcmole(arch:mips) ### |
233 "test-assembler-mips.cc", | 235 "test-assembler-mips.cc", |
234 "test-code-stubs-mips.cc", | 236 "test-code-stubs-mips.cc", |
235 "test-code-stubs.cc", | 237 "test-code-stubs.cc", |
236 "test-code-stubs.h", | 238 "test-code-stubs.h", |
237 "test-disasm-mips.cc", | 239 "test-disasm-mips.cc", |
238 "test-macro-assembler-mips.cc", | 240 "test-macro-assembler-mips.cc", |
239 ] | 241 ] |
240 } else if (v8_current_cpu == "mipsel") { | 242 } else if (v8_current_cpu == "mipsel") { |
241 sources += [ | 243 sources += [ ### gcmole(arch:mipsel) ### |
242 "test-assembler-mips.cc", | 244 "test-assembler-mips.cc", |
243 "test-code-stubs-mips.cc", | 245 "test-code-stubs-mips.cc", |
244 "test-code-stubs.cc", | 246 "test-code-stubs.cc", |
245 "test-code-stubs.h", | 247 "test-code-stubs.h", |
246 "test-disasm-mips.cc", | 248 "test-disasm-mips.cc", |
247 "test-macro-assembler-mips.cc", | 249 "test-macro-assembler-mips.cc", |
248 ] | 250 ] |
249 } else if (v8_current_cpu == "mips64") { | 251 } else if (v8_current_cpu == "mips64") { |
250 sources += [ | 252 sources += [ ### gcmole(arch:mips64) ### |
251 "test-assembler-mips64.cc", | 253 "test-assembler-mips64.cc", |
252 "test-code-stubs-mips64.cc", | 254 "test-code-stubs-mips64.cc", |
253 "test-code-stubs.cc", | 255 "test-code-stubs.cc", |
254 "test-code-stubs.h", | 256 "test-code-stubs.h", |
255 "test-disasm-mips64.cc", | 257 "test-disasm-mips64.cc", |
256 "test-macro-assembler-mips64.cc", | 258 "test-macro-assembler-mips64.cc", |
257 ] | 259 ] |
258 } else if (v8_current_cpu == "mips64el") { | 260 } else if (v8_current_cpu == "mips64el") { |
259 sources += [ | 261 sources += [ ### gcmole(arch:mips64el) ### |
260 "test-assembler-mips64.cc", | 262 "test-assembler-mips64.cc", |
261 "test-code-stubs-mips64.cc", | 263 "test-code-stubs-mips64.cc", |
262 "test-code-stubs.cc", | 264 "test-code-stubs.cc", |
263 "test-code-stubs.h", | 265 "test-code-stubs.h", |
264 "test-disasm-mips64.cc", | 266 "test-disasm-mips64.cc", |
265 "test-macro-assembler-mips64.cc", | 267 "test-macro-assembler-mips64.cc", |
266 ] | 268 ] |
267 } else if (v8_current_cpu == "x64") { | 269 } else if (v8_current_cpu == "x64") { |
268 sources += [ | 270 sources += [ ### gcmole(arch:x64) ### |
269 "test-assembler-x64.cc", | 271 "test-assembler-x64.cc", |
270 "test-code-stubs-x64.cc", | 272 "test-code-stubs-x64.cc", |
271 "test-code-stubs.cc", | 273 "test-code-stubs.cc", |
272 "test-code-stubs.h", | 274 "test-code-stubs.h", |
273 "test-disasm-x64.cc", | 275 "test-disasm-x64.cc", |
274 "test-log-stack-tracer.cc", | 276 "test-log-stack-tracer.cc", |
275 "test-macro-assembler-x64.cc", | 277 "test-macro-assembler-x64.cc", |
276 "test-run-wasm-relocation-x64.cc", | 278 "test-run-wasm-relocation-x64.cc", |
277 "wasm/test-run-wasm-simd.cc", | 279 "wasm/test-run-wasm-simd.cc", |
278 ] | 280 ] |
279 } else if (v8_current_cpu == "x87") { | 281 } else if (v8_current_cpu == "x87") { |
280 sources += [ | 282 sources += [ ### gcmole(arch:x87) ### |
281 "test-assembler-x87.cc", | 283 "test-assembler-x87.cc", |
282 "test-code-stubs-x87.cc", | 284 "test-code-stubs-x87.cc", |
283 "test-code-stubs.cc", | 285 "test-code-stubs.cc", |
284 "test-code-stubs.h", | 286 "test-code-stubs.h", |
285 "test-disasm-x87.cc", | 287 "test-disasm-x87.cc", |
286 "test-log-stack-tracer.cc", | 288 "test-log-stack-tracer.cc", |
287 "test-macro-assembler-x87.cc", | 289 "test-macro-assembler-x87.cc", |
288 "test-run-wasm-relocation-x87.cc", | 290 "test-run-wasm-relocation-x87.cc", |
289 ] | 291 ] |
290 } else if (v8_current_cpu == "ppc" || v8_current_cpu == "ppc64") { | 292 } else if (v8_current_cpu == "ppc" || v8_current_cpu == "ppc64") { |
291 sources += [ | 293 sources += [ ### gcmole(arch:ppc) ### |
292 "test-assembler-ppc.cc", | 294 "test-assembler-ppc.cc", |
293 "test-code-stubs.cc", | 295 "test-code-stubs.cc", |
294 "test-code-stubs.h", | 296 "test-code-stubs.h", |
295 "test-disasm-ppc.cc", | 297 "test-disasm-ppc.cc", |
296 ] | 298 ] |
297 } else if (v8_current_cpu == "s390" || v8_current_cpu == "s390x") { | 299 } else if (v8_current_cpu == "s390" || v8_current_cpu == "s390x") { |
298 sources += [ | 300 sources += [ ### gcmole(arch:s390) ### |
299 "test-assembler-s390.cc", | 301 "test-assembler-s390.cc", |
300 "test-code-stubs.cc", | 302 "test-code-stubs.cc", |
301 "test-code-stubs.h", | 303 "test-code-stubs.h", |
302 "test-disasm-s390.cc", | 304 "test-disasm-s390.cc", |
303 ] | 305 ] |
304 } | 306 } |
305 | 307 |
306 if (is_linux) { | 308 if (is_linux) { |
307 # TODO(machenbach): Translate 'or OS=="qnx"' from gyp. | 309 # TODO(machenbach): Translate 'or OS=="qnx"' from gyp. |
308 sources += [ "test-platform-linux.cc" ] | 310 sources += [ "test-platform-linux.cc" ] |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
428 if (is_win) { | 430 if (is_win) { |
429 # Suppress warnings about importing locally defined symbols. | 431 # Suppress warnings about importing locally defined symbols. |
430 if (is_component_build) { | 432 if (is_component_build) { |
431 ldflags = [ | 433 ldflags = [ |
432 "/ignore:4049", | 434 "/ignore:4049", |
433 "/ignore:4217", | 435 "/ignore:4217", |
434 ] | 436 ] |
435 } | 437 } |
436 } | 438 } |
437 } | 439 } |
OLD | NEW |