mirror of
https://github.com/ONLYOFFICE/build_tools.git
synced 2026-04-07 14:06:31 +08:00
Fix bugs
This commit is contained in:
@ -156,30 +156,30 @@ def make_xp():
|
||||
]);
|
||||
|
||||
if config.check_option("platform", "win_64_xp"):
|
||||
if not base.is_dir("win_32_xp/release") and not base.is_dir("win_64_xp/release"):
|
||||
if not base.is_dir("win_64/release"):
|
||||
base.run_as_bat(["call python v8/build/gyp_v8 -Dtarget_arch=x64", "call python v8/build/common_xp.py", "call devenv v8/tools/gyp/v8.sln /Rebuild Release"])
|
||||
base.create_dir("win_64_xp/release")
|
||||
base.copy_files("v8/build/Release/lib/*", "win_64_xp/release/")
|
||||
base.copy_file("v8/build/Release/icudt.dll", "win_64_xp/release/icudt.dll")
|
||||
base.create_dir("win_64/release")
|
||||
base.copy_files("v8/build/Release/lib/*", "win_64/release/")
|
||||
base.copy_file("v8/build/Release/icudt.dll", "win_64/release/icudt.dll")
|
||||
|
||||
if (-1 != config.option("config").lower().find("debug")) and not base.is_dir("win_64_xp/debug"):
|
||||
if (-1 != config.option("config").lower().find("debug")) and not base.is_dir("win_64/debug"):
|
||||
base.run_as_bat(["call python v8/build/gyp_v8 -Dtarget_arch=x64", "call python v8/build/common_xp.py", "call devenv v8/tools/gyp/v8.sln /Rebuild Debug"])
|
||||
base.create_dir("win_64_xp/debug")
|
||||
base.copy_files("v8/build/Debug/lib/*", "win_64_xp/debug/")
|
||||
base.copy_file("v8/build/Debug/icudt.dll", "win_64_xp/debug/icudt.dll")
|
||||
base.create_dir("win_64/debug")
|
||||
base.copy_files("v8/build/Debug/lib/*", "win_64/debug/")
|
||||
base.copy_file("v8/build/Debug/icudt.dll", "win_64/debug/icudt.dll")
|
||||
|
||||
if config.check_option("platform", "win_32_xp"):
|
||||
if not base.is_dir("win_32_xp/release"):
|
||||
if not base.is_dir("win_32/release"):
|
||||
base.run_as_bat(["call python v8/build/gyp_v8", "call python v8/build/common_xp.py", "call devenv v8/tools/gyp/v8.sln /Rebuild Release"])
|
||||
base.create_dir("win_32_xp/release")
|
||||
base.copy_files("v8/build/Release/lib/*", "win_32_xp/release/")
|
||||
base.copy_file("v8/build/Release/icudt.dll", "win_32_xp/release/icudt.dll")
|
||||
base.create_dir("win_32/release")
|
||||
base.copy_files("v8/build/Release/lib/*", "win_32/release/")
|
||||
base.copy_file("v8/build/Release/icudt.dll", "win_32/release/icudt.dll")
|
||||
|
||||
if (-1 != config.option("config").lower().find("debug")) and not base.is_dir("win_32_xp/debug"):
|
||||
if (-1 != config.option("config").lower().find("debug")) and not base.is_dir("win_32/debug"):
|
||||
base.run_as_bat(["call python v8/build/gyp_v8", "call python v8/build/common_xp.py", "call devenv v8/tools/gyp/v8.sln /Rebuild Debug"])
|
||||
base.create_dir("win_32_xp/debug")
|
||||
base.copy_files("v8/build/Debug/lib/*", "win_32_xp/debug/")
|
||||
base.copy_file("v8/build/Debug/icudt.dll", "win_32_xp/debug/icudt.dll")
|
||||
base.create_dir("win_32/debug")
|
||||
base.copy_files("v8/build/Debug/lib/*", "win_32/debug/")
|
||||
base.copy_file("v8/build/Debug/icudt.dll", "win_32/debug/icudt.dll")
|
||||
|
||||
os.environ["PATH"] = old_path
|
||||
os.chdir(old_cur)
|
||||
|
||||
Reference in New Issue
Block a user