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 = [ |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 "trace-extension.cc", | 181 "trace-extension.cc", |
182 "trace-extension.h", | 182 "trace-extension.h", |
183 "types-fuzz.h", | 183 "types-fuzz.h", |
184 "wasm/test-run-wasm-64.cc", | 184 "wasm/test-run-wasm-64.cc", |
185 "wasm/test-run-wasm-asmjs.cc", | 185 "wasm/test-run-wasm-asmjs.cc", |
186 "wasm/test-run-wasm-interpreter.cc", | 186 "wasm/test-run-wasm-interpreter.cc", |
187 "wasm/test-run-wasm-js.cc", | 187 "wasm/test-run-wasm-js.cc", |
188 "wasm/test-run-wasm-module.cc", | 188 "wasm/test-run-wasm-module.cc", |
189 "wasm/test-run-wasm-relocation.cc", | 189 "wasm/test-run-wasm-relocation.cc", |
190 "wasm/test-run-wasm.cc", | 190 "wasm/test-run-wasm.cc", |
191 "wasm/test-signatures.h", | |
192 "wasm/test-wasm-function-name-table.cc", | 191 "wasm/test-wasm-function-name-table.cc", |
193 "wasm/test-wasm-stack.cc", | 192 "wasm/test-wasm-stack.cc", |
194 "wasm/test-wasm-trap-position.cc", | 193 "wasm/test-wasm-trap-position.cc", |
195 "wasm/wasm-run-utils.h", | 194 "wasm/wasm-run-utils.h", |
196 ] | 195 ] |
197 | 196 |
198 if (v8_current_cpu == "arm") { | 197 if (v8_current_cpu == "arm") { |
199 sources += [ ### gcmole(arch:arm) ### | 198 sources += [ ### gcmole(arch:arm) ### |
200 "test-assembler-arm.cc", | 199 "test-assembler-arm.cc", |
201 "test-code-stubs-arm.cc", | 200 "test-code-stubs-arm.cc", |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
320 # TODO(machenbach): Translate from gyp. | 319 # TODO(machenbach): Translate from gyp. |
321 #["OS=="aix"", { | 320 #["OS=="aix"", { |
322 # "ldflags": [ "-Wl,-bbigtoc" ], | 321 # "ldflags": [ "-Wl,-bbigtoc" ], |
323 #}], | 322 #}], |
324 | 323 |
325 deps = [ | 324 deps = [ |
326 ":resources", | 325 ":resources", |
327 "../..:v8_libbase", | 326 "../..:v8_libbase", |
328 "../..:v8_libplatform", | 327 "../..:v8_libplatform", |
329 "../..:wasm_module_runner", | 328 "../..:wasm_module_runner", |
| 329 "../..:wasm_test_signatures", |
330 "//build/config/sanitizers:deps", | 330 "//build/config/sanitizers:deps", |
331 "//build/win:default_exe_manifest", | 331 "//build/win:default_exe_manifest", |
332 ] | 332 ] |
333 | 333 |
334 if (is_component_build) { | 334 if (is_component_build) { |
335 # cctest can't be built against a shared library, so we | 335 # cctest can't be built against a shared library, so we |
336 # need to depend on the underlying static target in that case. | 336 # need to depend on the underlying static target in that case. |
337 deps += [ "../..:v8_maybe_snapshot" ] | 337 deps += [ "../..:v8_maybe_snapshot" ] |
338 } else { | 338 } else { |
339 deps += [ "../..:v8" ] | 339 deps += [ "../..:v8" ] |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
431 if (is_win) { | 431 if (is_win) { |
432 # Suppress warnings about importing locally defined symbols. | 432 # Suppress warnings about importing locally defined symbols. |
433 if (is_component_build) { | 433 if (is_component_build) { |
434 ldflags = [ | 434 ldflags = [ |
435 "/ignore:4049", | 435 "/ignore:4049", |
436 "/ignore:4217", | 436 "/ignore:4217", |
437 ] | 437 ] |
438 } | 438 } |
439 } | 439 } |
440 } | 440 } |
OLD | NEW |