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 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
305 ] | 305 ] |
306 } | 306 } |
307 | 307 |
308 if (is_linux) { | 308 if (is_linux) { |
309 # TODO(machenbach): Translate 'or OS=="qnx"' from gyp. | 309 # TODO(machenbach): Translate 'or OS=="qnx"' from gyp. |
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 no_incremental_linking = true |
| 316 |
315 configs = [ | 317 configs = [ |
316 "../..:external_config", | 318 "../..:external_config", |
317 "../..:internal_config_base", | 319 "../..:internal_config_base", |
318 ] | 320 ] |
319 | 321 |
320 # TODO(machenbach): Translate from gyp. | 322 # TODO(machenbach): Translate from gyp. |
321 #["OS=="aix"", { | 323 #["OS=="aix"", { |
322 # "ldflags": [ "-Wl,-bbigtoc" ], | 324 # "ldflags": [ "-Wl,-bbigtoc" ], |
323 #}], | 325 #}], |
324 | 326 |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
432 if (is_win) { | 434 if (is_win) { |
433 # Suppress warnings about importing locally defined symbols. | 435 # Suppress warnings about importing locally defined symbols. |
434 if (is_component_build) { | 436 if (is_component_build) { |
435 ldflags = [ | 437 ldflags = [ |
436 "/ignore:4049", | 438 "/ignore:4049", |
437 "/ignore:4217", | 439 "/ignore:4217", |
438 ] | 440 ] |
439 } | 441 } |
440 } | 442 } |
441 } | 443 } |
OLD | NEW |