diff --git a/build_tools/scripts/core_common/modules/v8.py.orig b/build_tools/scripts/core_common/modules/v8.py index f185baa..ed86e58 100644 --- a/build_tools/scripts/core_common/modules/v8.py.orig +++ b/build_tools/scripts/core_common/modules/v8.py @@ -73,7 +73,6 @@ def make(): use_v8_89 = True if (use_v8_89): - v8_89.make() return print("[fetch & build]: v8") @@ -167,34 +166,6 @@ def make(): base_args64 = "target_cpu=\\\"x64\\\" v8_target_cpu=\\\"x64\\\" v8_static_library=true is_component_build=false v8_use_snapshot=false" base_args32 = "target_cpu=\\\"x86\\\" v8_target_cpu=\\\"x86\\\" v8_static_library=true is_component_build=false v8_use_snapshot=false" - if config.check_option("platform", "linux_64"): - base.cmd2("gn", ["gen", "out.gn/linux_64", "--args=\"is_debug=false " + base_args64 + " is_clang=" + is_use_clang() + " use_sysroot=false treat_warnings_as_errors=false\""]) - base.cmd("ninja", ["-C", "out.gn/linux_64"]) - - if config.check_option("platform", "linux_32"): - base.cmd2("gn", ["gen", "out.gn/linux_32", "--args=\"is_debug=false " + base_args32 + " is_clang=" + is_use_clang() + " use_sysroot=false treat_warnings_as_errors=false\""]) - base.cmd("ninja", ["-C", "out.gn/linux_32"]) - - if config.check_option("platform", "mac_64"): - base.cmd2("gn", ["gen", "out.gn/mac_64", "--args=\"is_debug=false " + base_args64 + "\""]) - base.cmd("ninja", ["-C", "out.gn/mac_64"]) - - if config.check_option("platform", "win_64"): - if (-1 != config.option("config").lower().find("debug")): - base.cmd2("gn", ["gen", "out.gn/win_64/debug", "--args=\"is_debug=true " + base_args64 + " is_clang=false\""]) - base.cmd("ninja", ["-C", "out.gn/win_64/debug"]) - - base.cmd2("gn", ["gen", "out.gn/win_64/release", "--args=\"is_debug=false " + base_args64 + " is_clang=false\""]) - base.cmd("ninja", ["-C", "out.gn/win_64/release"]) - - if config.check_option("platform", "win_32"): - if (-1 != config.option("config").lower().find("debug")): - base.cmd2("gn", ["gen", "out.gn/win_32/debug", "--args=\"is_debug=true " + base_args32 + " is_clang=false\""]) - base.cmd("ninja", ["-C", "out.gn/win_32/debug"]) - - base.cmd2("gn", ["gen", "out.gn/win_32/release", "--args=\"is_debug=false " + base_args32 + " is_clang=false\""]) - base.cmd("ninja", ["-C", "out.gn/win_32/release"]) - os.chdir(old_cur) os.environ.clear() os.environ.update(old_env)