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