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 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
318 "../..:internal_config_base", | 318 "../..:internal_config_base", |
319 ] | 319 ] |
320 | 320 |
321 # TODO(machenbach): Translate from gyp. | 321 # TODO(machenbach): Translate from gyp. |
322 #["OS=="aix"", { | 322 #["OS=="aix"", { |
323 # "ldflags": [ "-Wl,-bbigtoc" ], | 323 # "ldflags": [ "-Wl,-bbigtoc" ], |
324 #}], | 324 #}], |
325 | 325 |
326 deps = [ | 326 deps = [ |
327 ":resources", | 327 ":resources", |
| 328 "../..:v8_libbase", |
328 "../..:v8_libplatform", | 329 "../..:v8_libplatform", |
329 "../..:wasm_module_runner", | 330 "../..:wasm_module_runner", |
330 "//build/config/sanitizers:deps", | 331 "//build/config/sanitizers:deps", |
331 "//build/win:default_exe_manifest", | 332 "//build/win:default_exe_manifest", |
332 ] | 333 ] |
333 | 334 |
334 if (is_component_build) { | 335 if (is_component_build) { |
335 # cctest can't be built against a shared library, so we | 336 # cctest can't be built against a shared library, so we |
336 # need to depend on the underlying static target in that case. | 337 # need to depend on the underlying static target in that case. |
337 deps += [ "../..:v8_maybe_snapshot" ] | 338 deps += [ "../..:v8_maybe_snapshot" ] |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
431 if (is_win) { | 432 if (is_win) { |
432 # Suppress warnings about importing locally defined symbols. | 433 # Suppress warnings about importing locally defined symbols. |
433 if (is_component_build) { | 434 if (is_component_build) { |
434 ldflags = [ | 435 ldflags = [ |
435 "/ignore:4049", | 436 "/ignore:4049", |
436 "/ignore:4217", | 437 "/ignore:4217", |
437 ] | 438 ] |
438 } | 439 } |
439 } | 440 } |
440 } | 441 } |
OLD | NEW |