|
48 | 48 | 'type': 'none',
|
49 | 49 | 'toolsets': ['host', 'target'],
|
50 | 50 | 'conditions': [
|
51 |
| - ['OS=="win"', { |
| 51 | + ['OS=="win" and clang==0', { |
52 | 52 | 'direct_dependent_settings': {
|
53 | 53 | 'msvs_precompiled_header': '<(V8_ROOT)/../../tools/msvs/pch/v8_pch.h',
|
54 | 54 | 'msvs_precompiled_source': '<(V8_ROOT)/../../tools/msvs/pch/v8_pch.cc',
|
|
381 | 381 | 'target_name': 'v8_snapshot',
|
382 | 382 | 'type': 'static_library',
|
383 | 383 | 'toolsets': ['target'],
|
384 |
| - 'conditions': [ |
385 |
| - ['want_separate_host_toolset', { |
386 |
| - 'conditions': [ |
387 |
| - ['v8_target_arch=="arm64"', { |
388 |
| - 'msvs_enable_marmasm': 1, |
389 |
| - }] |
390 |
| - ], |
391 |
| - 'dependencies': [ |
392 |
| - 'generate_bytecode_builtins_list', |
393 |
| - 'run_torque', |
394 |
| - 'mksnapshot#host', |
395 |
| - 'v8_maybe_icu', |
396 |
| - # [GYP] added explicitly, instead of inheriting from the other deps |
397 |
| - 'v8_base_without_compiler', |
398 |
| - 'v8_compiler_for_mksnapshot', |
399 |
| - 'v8_initializers', |
400 |
| - 'v8_libplatform', |
401 |
| - ] |
402 |
| - }, { |
403 |
| - 'dependencies': [ |
404 |
| - 'generate_bytecode_builtins_list', |
405 |
| - 'run_torque', |
406 |
| - 'mksnapshot', |
407 |
| - 'v8_maybe_icu', |
408 |
| - # [GYP] added explicitly, instead of inheriting from the other deps |
409 |
| - 'v8_base_without_compiler', |
410 |
| - 'v8_compiler_for_mksnapshot', |
411 |
| - 'v8_initializers', |
412 |
| - 'v8_libplatform', |
413 |
| - ] |
414 |
| - }], |
415 |
| - ], |
416 | 384 | 'sources': [
|
417 | 385 | '<(V8_ROOT)/src/init/setup-isolate-deserialize.cc',
|
418 | 386 | ],
|
|
488 | 456 | ],
|
489 | 457 | },
|
490 | 458 | ],
|
| 459 | + 'conditions': [ |
| 460 | + ['want_separate_host_toolset', { |
| 461 | + 'dependencies': [ |
| 462 | + 'generate_bytecode_builtins_list', |
| 463 | + 'run_torque', |
| 464 | + 'mksnapshot#host', |
| 465 | + 'v8_maybe_icu', |
| 466 | + # [GYP] added explicitly, instead of inheriting from the other deps |
| 467 | + 'v8_base_without_compiler', |
| 468 | + 'v8_compiler_for_mksnapshot', |
| 469 | + 'v8_initializers', |
| 470 | + 'v8_libplatform', |
| 471 | + ] |
| 472 | + }, { |
| 473 | + 'dependencies': [ |
| 474 | + 'generate_bytecode_builtins_list', |
| 475 | + 'run_torque', |
| 476 | + 'mksnapshot', |
| 477 | + 'v8_maybe_icu', |
| 478 | + # [GYP] added explicitly, instead of inheriting from the other deps |
| 479 | + 'v8_base_without_compiler', |
| 480 | + 'v8_compiler_for_mksnapshot', |
| 481 | + 'v8_initializers', |
| 482 | + 'v8_libplatform', |
| 483 | + ] |
| 484 | + }], |
| 485 | + ['OS=="win" and clang==1', { |
| 486 | + 'actions': [ |
| 487 | + { |
| 488 | + 'action_name': 'asm_to_inline_asm', |
| 489 | + 'message': 'generating: >@(_outputs)', |
| 490 | + 'inputs': [ |
| 491 | + '<(INTERMEDIATE_DIR)/embedded.S', |
| 492 | + ], |
| 493 | + 'outputs': [ |
| 494 | + '<(INTERMEDIATE_DIR)/embedded.cc', |
| 495 | + ], |
| 496 | + 'process_outputs_as_sources': 1, |
| 497 | + 'action': [ |
| 498 | + '<(python)', |
| 499 | + '<(V8_ROOT)/tools/snapshot/asm_to_inline_asm.py', |
| 500 | + '<@(_inputs)', |
| 501 | + '<(INTERMEDIATE_DIR)/embedded.cc', |
| 502 | + ], |
| 503 | + }, |
| 504 | + ], |
| 505 | + }], |
| 506 | + ], |
491 | 507 | }, # v8_snapshot
|
492 | 508 | {
|
493 | 509 | 'target_name': 'v8_version',
|
|
1928 | 1944 | }],
|
1929 | 1945 | ]
|
1930 | 1946 | }],
|
1931 |
| - ['OS=="win"', { |
| 1947 | + ['OS=="win" and clang==0', { |
1932 | 1948 | 'conditions': [
|
1933 | 1949 | ['_toolset == "host" and host_arch == "x64" or _toolset == "target" and target_arch=="x64"', {
|
1934 | 1950 | 'sources': [
|
|
0 commit comments