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 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
310 sources += [ "test-platform-linux.cc" ] | 310 sources += [ "test-platform-linux.cc" ] |
311 } else if (is_win) { | 311 } else if (is_win) { |
312 sources += [ "test-platform-win32.cc" ] | 312 sources += [ "test-platform-win32.cc" ] |
313 } | 313 } |
314 | 314 |
315 configs = [ | 315 configs = [ |
316 "../..:external_config", | 316 "../..:external_config", |
317 "../..:internal_config_base", | 317 "../..:internal_config_base", |
318 ] | 318 ] |
319 | 319 |
| 320 if (is_win) { |
| 321 remove_configs = [ "//build/config/win:default_incremental_linking" ] |
| 322 configs += [ "//build/config/win:no_incremental_linking" ] |
| 323 } |
| 324 |
320 # TODO(machenbach): Translate from gyp. | 325 # TODO(machenbach): Translate from gyp. |
321 #["OS=="aix"", { | 326 #["OS=="aix"", { |
322 # "ldflags": [ "-Wl,-bbigtoc" ], | 327 # "ldflags": [ "-Wl,-bbigtoc" ], |
323 #}], | 328 #}], |
324 | 329 |
325 deps = [ | 330 deps = [ |
326 ":resources", | 331 ":resources", |
327 "../..:v8_libbase", | 332 "../..:v8_libbase", |
328 "../..:v8_libplatform", | 333 "../..:v8_libplatform", |
329 "../..:wasm_module_runner", | 334 "../..:wasm_module_runner", |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
432 if (is_win) { | 437 if (is_win) { |
433 # Suppress warnings about importing locally defined symbols. | 438 # Suppress warnings about importing locally defined symbols. |
434 if (is_component_build) { | 439 if (is_component_build) { |
435 ldflags = [ | 440 ldflags = [ |
436 "/ignore:4049", | 441 "/ignore:4049", |
437 "/ignore:4217", | 442 "/ignore:4217", |
438 ] | 443 ] |
439 } | 444 } |
440 } | 445 } |
441 } | 446 } |
OLD | NEW |