|
42 | 42 | {
|
43 | 43 | 'target_name': 'v8',
|
44 | 44 | 'dependencies_traverse': 1,
|
45 |
| - 'dependencies': ['v8_maybe_snapshot'], |
| 45 | + 'dependencies': ['v8_maybe_snapshot', 'v8_dump_build_config'], |
46 | 46 | 'conditions': [
|
47 | 47 | ['want_separate_host_toolset==1', {
|
48 | 48 | 'toolsets': ['host', 'target'],
|
|
2499 | 2499 | }],
|
2500 | 2500 | ],
|
2501 | 2501 | },
|
| 2502 | + { |
| 2503 | + 'target_name': 'v8_dump_build_config', |
| 2504 | + 'type': 'none', |
| 2505 | + 'variables': { |
| 2506 | + }, |
| 2507 | + 'conditions': [ |
| 2508 | + [ 'want_separate_host_toolset==1', { |
| 2509 | + 'toolsets': ['host'], |
| 2510 | + }, { |
| 2511 | + 'toolsets': ['target'], |
| 2512 | + }] |
| 2513 | + ], |
| 2514 | + 'actions': [ |
| 2515 | + { |
| 2516 | + 'action_name': 'v8_dump_build_config', |
| 2517 | + 'inputs': [ |
| 2518 | + '../tools/testrunner/utils/dump_build_config_gyp.py', |
| 2519 | + ], |
| 2520 | + 'outputs': [ |
| 2521 | + '<(PRODUCT_DIR)/v8_build_config.json', |
| 2522 | + ], |
| 2523 | + 'action': [ |
| 2524 | + 'python', |
| 2525 | + '../tools/testrunner/utils/dump_build_config_gyp.py', |
| 2526 | + '<(PRODUCT_DIR)/v8_build_config.json', |
| 2527 | + 'dcheck_always_on=<(dcheck_always_on)', |
| 2528 | + 'is_asan=<(asan)', |
| 2529 | + 'is_cfi=<(cfi_vptr)', |
| 2530 | + 'is_component_build="<(component)"', |
| 2531 | + 'is_debug="<(CONFIGURATION_NAME)"', |
| 2532 | + # Not available in gyp. |
| 2533 | + 'is_gcov_coverage=0', |
| 2534 | + 'is_msan=<(msan)', |
| 2535 | + 'is_tsan=<(tsan)', |
| 2536 | + # Not available in gyp. |
| 2537 | + 'is_ubsan_vptr=0', |
| 2538 | + 'target_cpu="<(target_arch)"', |
| 2539 | + 'v8_enable_i18n_support=<(v8_enable_i18n_support)', |
| 2540 | + 'v8_target_cpu="<(v8_target_arch)"', |
| 2541 | + 'v8_use_snapshot=<(v8_use_snapshot)', |
| 2542 | + ], |
| 2543 | + }, |
| 2544 | + ], |
| 2545 | + }, |
2502 | 2546 | ],
|
2503 | 2547 | }
|
0 commit comments