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 # Please keep this file in sync with cctest.gyp. | 5 # Please keep this file in sync with cctest.gyp. |
6 | 6 |
7 import("../../gni/v8.gni") | 7 import("../../gni/v8.gni") |
8 | 8 |
9 executable("cctest") { | 9 v8_executable("cctest") { |
10 testonly = true | 10 testonly = true |
11 | 11 |
12 sources = [ | 12 sources = [ |
13 "$target_gen_dir/resources.cc", | 13 "$target_gen_dir/resources.cc", |
14 "cctest.cc", | 14 "cctest.cc", |
15 "compiler/c-signature.h", | 15 "compiler/c-signature.h", |
16 "compiler/codegen-tester.cc", | 16 "compiler/codegen-tester.cc", |
17 "compiler/codegen-tester.h", | 17 "compiler/codegen-tester.h", |
18 "compiler/function-tester.h", | 18 "compiler/function-tester.h", |
19 "compiler/graph-builder-tester.h", | 19 "compiler/graph-builder-tester.h", |
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 sources += [ "test-platform-win32.cc" ] | 276 sources += [ "test-platform-win32.cc" ] |
277 # TODO(machenbach): Translate from gyp. | 277 # TODO(machenbach): Translate from gyp. |
278 # "msvs_settings": { | 278 # "msvs_settings": { |
279 # "VCCLCompilerTool": { | 279 # "VCCLCompilerTool": { |
280 # # MSVS wants this for gay-{precision,shortest}.cc. | 280 # # MSVS wants this for gay-{precision,shortest}.cc. |
281 # "AdditionalOptions": ["/bigobj"], | 281 # "AdditionalOptions": ["/bigobj"], |
282 # }, | 282 # }, |
283 # }, | 283 # }, |
284 } | 284 } |
285 | 285 |
286 configs -= [ "//build/config/compiler:chromium_code" ] | 286 configs = [ |
287 configs += [ "//build/config/compiler:no_chromium_code" ] | |
288 configs += [ | |
289 "../..:external_config", | 287 "../..:external_config", |
290 "../..:internal_config_base", | 288 "../..:internal_config_base", |
291 "../..:features", | |
292 "../..:toolchain", | |
293 ] | 289 ] |
294 | 290 |
295 # TODO(machenbach): Translate from gyp. | 291 # TODO(machenbach): Translate from gyp. |
296 #['v8_target_arch=="ppc" or v8_target_arch=="ppc64" \ | 292 #['v8_target_arch=="ppc" or v8_target_arch=="ppc64" \ |
297 # or v8_target_arch=="arm" or v8_target_arch=="arm64" \ | 293 # or v8_target_arch=="arm" or v8_target_arch=="arm64" \ |
298 # or v8_target_arch=="s390" or v8_target_arch=="s390x"', { | 294 # or v8_target_arch=="s390" or v8_target_arch=="s390x"', { |
299 # # disable fmadd/fmsub so that expected results match generated code in | 295 # # disable fmadd/fmsub so that expected results match generated code in |
300 # # RunFloat64MulAndFloat64Add1 and friends. | 296 # # RunFloat64MulAndFloat64Add1 and friends. |
301 # 'cflags': ['-ffp-contract=off'], | 297 # 'cflags': ['-ffp-contract=off'], |
302 #}], | 298 #}], |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
361 "$target_gen_dir/resources.cc", | 357 "$target_gen_dir/resources.cc", |
362 ] | 358 ] |
363 | 359 |
364 args = [ | 360 args = [ |
365 rebase_path("$target_gen_dir/resources.cc", root_build_dir), | 361 rebase_path("$target_gen_dir/resources.cc", root_build_dir), |
366 "TEST", | 362 "TEST", |
367 ] | 363 ] |
368 args += rebase_path(sources, root_build_dir) | 364 args += rebase_path(sources, root_build_dir) |
369 } | 365 } |
370 # TODO(machenbach): Migrate generate-bytecode-expectations. | 366 # TODO(machenbach): Migrate generate-bytecode-expectations. |
OLD | NEW |