| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -827,6 +827,7 @@ action("v8_dump_build_config") { | |||
| 827 | 827 | is_gcov_coverage = v8_code_coverage && !is_clang | |
| 828 | 828 | args = [ | |
| 829 | 829 | rebase_path("$root_out_dir/v8_build_config.json", root_build_dir), | |
| 830 | + "current_cpu=\"$current_cpu\"", | ||
| 830 | 831 | "dcheck_always_on=$dcheck_always_on", | |
| 831 | 832 | "is_asan=$is_asan", | |
| 832 | 833 | "is_cfi=$is_cfi", | |
@@ -837,6 +838,7 @@ action("v8_dump_build_config") { | |||
| 837 | 838 | "is_tsan=$is_tsan", | |
| 838 | 839 | "is_ubsan_vptr=$is_ubsan_vptr", | |
| 839 | 840 | "target_cpu=\"$target_cpu\"", | |
| 841 | + "v8_current_cpu=\"$v8_current_cpu\"", | ||
| 840 | 842 | "v8_enable_i18n_support=$v8_enable_i18n_support", | |
| 841 | 843 | "v8_target_cpu=\"$v8_target_cpu\"", | |
| 842 | 844 | "v8_use_snapshot=$v8_use_snapshot", | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -156,6 +156,8 @@ template("v8_isolate_run") { | |||
| 156 | 156 | "--config-variable", | |
| 157 | 157 | "icu_use_data_file_flag=$icu_use_data_file_flag", | |
| 158 | 158 | "--config-variable", | |
| 159 | + "is_gn=1", | ||
| 160 | + "--config-variable", | ||
| 159 | 161 | "msan=$msan", | |
| 160 | 162 | "--config-variable", | |
| 161 | 163 | "tsan=$tsan", | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -74,6 +74,7 @@ | |||
| 74 | 74 | '--config-variable', 'gcmole=<(gcmole)', | |
| 75 | 75 | '--config-variable', 'has_valgrind=<(has_valgrind)', | |
| 76 | 76 | '--config-variable', 'icu_use_data_file_flag=<(icu_use_data_file_flag)', | |
| 77 | + '--config-variable', 'is_gn=0', | ||
| 77 | 78 | '--config-variable', 'msan=<(msan)', | |
| 78 | 79 | '--config-variable', 'tsan=<(tsan)', | |
| 79 | 80 | '--config-variable', 'coverage=<(coverage)', | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -32,7 +32,6 @@ | |||
| 32 | 32 | 'msvs_use_common_release': 0, | |
| 33 | 33 | 'clang%': 0, | |
| 34 | 34 | 'asan%': 0, | |
| 35 | - 'cfi_vptr%': 0, | ||
| 36 | 35 | 'lsan%': 0, | |
| 37 | 36 | 'msan%': 0, | |
| 38 | 37 | 'tsan%': 0, | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,7 @@ | |||
| 11 | 11 | #define V8_MAJOR_VERSION 6 | |
| 12 | 12 | #define V8_MINOR_VERSION 2 | |
| 13 | 13 | #define V8_BUILD_NUMBER 414 | |
| 14 | - #define V8_PATCH_LEVEL 33 | ||
| 14 | + #define V8_PATCH_LEVEL 32 | ||
| 15 | 15 | ||
| 16 | 16 | // Use 1 for candidates and 0 otherwise. | |
| 17 | 17 | // (Boolean macro values are not supported by all preprocessors.) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -42,7 +42,7 @@ | |||
| 42 | 42 | { | |
| 43 | 43 | 'target_name': 'v8', | |
| 44 | 44 | 'dependencies_traverse': 1, | |
| 45 | - 'dependencies': ['v8_maybe_snapshot', 'v8_dump_build_config'], | ||
| 45 | + 'dependencies': ['v8_maybe_snapshot'], | ||
| 46 | 46 | 'conditions': [ | |
| 47 | 47 | ['want_separate_host_toolset==1', { | |
| 48 | 48 | 'toolsets': ['host', 'target'], | |
@@ -2499,49 +2499,5 @@ | |||
| 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 | - }, | ||
| 2546 | 2502 | ], | |
| 2547 | 2503 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -127,7 +127,7 @@ def infer_arch(d8): | |||
| 127 | 127 | executable. | |
| 128 | 128 | """ | |
| 129 | 129 | with open(os.path.join(os.path.dirname(d8), 'v8_build_config.json')) as f: | |
| 130 | - arch = json.load(f)['v8_target_cpu'] | ||
| 130 | + arch = json.load(f)['v8_current_cpu'] | ||
| 131 | 131 | return 'ia32' if arch == 'x86' else arch | |
| 132 | 132 | ||
| 133 | 133 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -7,7 +7,6 @@ | |||
| 7 | 7 | '../run-tests.py', | |
| 8 | 8 | ], | |
| 9 | 9 | 'files': [ | |
| 10 | - '<(PRODUCT_DIR)/v8_build_config.json', | ||
| 11 | 10 | '../run-tests.py', | |
| 12 | 11 | './' | |
| 13 | 12 | ], | |
@@ -21,5 +20,12 @@ | |||
| 21 | 20 | ], | |
| 22 | 21 | }, | |
| 23 | 22 | }], | |
| 23 | + ['is_gn==1', { | ||
| 24 | + 'variables': { | ||
| 25 | + 'files': [ | ||
| 26 | + '<(PRODUCT_DIR)/v8_build_config.json', | ||
| 27 | + ], | ||
| 28 | + }, | ||
| 29 | + }], | ||
| 24 | 30 | ], | |
| 25 | 31 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -15,12 +15,12 @@ | |||
| 15 | 15 | import os | |
| 16 | 16 | import sys | |
| 17 | 17 | ||
| 18 | - assert len(sys.argv) > 2 | ||
| 18 | + assert len(sys.argv) > 1 | ||
| 19 | 19 | ||
| 20 | 20 | def as_json(kv): | |
| 21 | 21 | assert '=' in kv | |
| 22 | 22 | k, v = kv.split('=', 1) | |
| 23 | 23 | return k, json.loads(v) | |
| 24 | 24 | ||
| 25 | 25 | with open(sys.argv[1], 'w') as f: | |
| 26 | - json.dump(dict(map(as_json, sys.argv[2:])), f) | ||
| 26 | + json.dump(dict(as_json(kv) for kv in sys.argv[2:]), f) | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments