|
Lines 796-815
Link Here
|
| 796 |
args = rebase_path(outputs, root_build_dir) + |
796 |
args = rebase_path(outputs, root_build_dir) + |
| 797 |
rebase_path(sources, root_build_dir) |
797 |
rebase_path(sources, root_build_dir) |
| 798 |
} |
798 |
} |
| 799 |
|
799 |
|
| 800 |
if (v8_use_snapshot) { |
800 |
if (v8_use_snapshot) { |
| 801 |
action("run_mksnapshot") { |
801 |
action("run_mksnapshot") { |
| 802 |
visibility = [ ":*" ] # Only targets in this file can depend on this. |
802 |
visibility = [ ":*" ] # Only targets in this file can depend on this. |
| 803 |
|
803 |
|
| 804 |
deps = [ |
804 |
deps = [ |
| 805 |
":mksnapshot($v8_snapshot_toolchain)", |
805 |
":mksnapshot($v8_snapshot_toolchain)", |
|
|
806 |
":run_paxmark", |
| 806 |
] |
807 |
] |
| 807 |
|
808 |
|
| 808 |
script = "tools/run.py" |
809 |
script = "tools/run.py" |
| 809 |
|
810 |
|
| 810 |
sources = [] |
811 |
sources = [] |
| 811 |
|
812 |
|
| 812 |
outputs = [ |
813 |
outputs = [ |
| 813 |
"$target_gen_dir/snapshot.cc", |
814 |
"$target_gen_dir/snapshot.cc", |
| 814 |
] |
815 |
] |
| 815 |
|
816 |
|
|
Lines 854-873
Link Here
|
| 854 |
} |
855 |
} |
| 855 |
|
856 |
|
| 856 |
if (v8_enable_fast_mksnapshot) { |
857 |
if (v8_enable_fast_mksnapshot) { |
| 857 |
args += [ |
858 |
args += [ |
| 858 |
"--no-turbo-rewrite-far-jumps", |
859 |
"--no-turbo-rewrite-far-jumps", |
| 859 |
"--no-turbo-verify-allocation", |
860 |
"--no-turbo-verify-allocation", |
| 860 |
] |
861 |
] |
| 861 |
} |
862 |
} |
| 862 |
} |
863 |
} |
| 863 |
} |
864 |
} |
|
|
865 |
action("run_paxmark") { |
| 866 |
visibility = [ ":*" ] # Only targets in this file can depend on this. |
| 867 |
|
| 868 |
deps = [ |
| 869 |
":mksnapshot($v8_snapshot_toolchain)", |
| 870 |
] |
| 871 |
|
| 872 |
script = "/usr/sbin/pypaxctl" |
| 873 |
|
| 874 |
sources = [] |
| 875 |
|
| 876 |
outputs = [ |
| 877 |
"$target_out_dir/mksnapshot", |
| 878 |
] |
| 879 |
|
| 880 |
args = [ |
| 881 |
"-sm", |
| 882 |
"./" + rebase_path(get_label_info(":mksnapshot($v8_snapshot_toolchain)", |
| 883 |
"root_out_dir") + "/mksnapshot", |
| 884 |
root_build_dir), |
| 885 |
] |
| 886 |
} |
| 864 |
|
887 |
|
| 865 |
action("v8_dump_build_config") { |
888 |
action("v8_dump_build_config") { |
| 866 |
script = "tools/testrunner/utils/dump_build_config.py" |
889 |
script = "tools/testrunner/utils/dump_build_config.py" |
| 867 |
outputs = [ |
890 |
outputs = [ |
| 868 |
"$root_out_dir/v8_build_config.json", |
891 |
"$root_out_dir/v8_build_config.json", |
| 869 |
] |
892 |
] |
| 870 |
is_gcov_coverage = v8_code_coverage && !is_clang |
893 |
is_gcov_coverage = v8_code_coverage && !is_clang |
| 871 |
args = [ |
894 |
args = [ |
| 872 |
rebase_path("$root_out_dir/v8_build_config.json", root_build_dir), |
895 |
rebase_path("$root_out_dir/v8_build_config.json", root_build_dir), |
| 873 |
"current_cpu=\"$current_cpu\"", |
896 |
"current_cpu=\"$current_cpu\"", |