Fixes Windows?

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3353 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
Cory McWilliams 2016-12-19 02:42:20 +00:00
parent da64737bb5
commit d1f96da2ae
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ else:
]) ])
if sys.platform == 'win32': if sys.platform == 'win32':
env.Command('icudtl.dat', os.path.join(v8, 'build/Release/icudtl.dat'), Copy("$TARGET", "$SOURCE")) env.Command('icudtl.dat', os.path.join(v8, 'x64.release/icudtl.dat'), Copy("$TARGET", "$SOURCE"))
else: else:
env.Command('icudtl.dat', os.path.join(v8, 'out/native/icudtl.dat'), Copy("$TARGET", "$SOURCE")) env.Command('icudtl.dat', os.path.join(v8, 'out/native/icudtl.dat'), Copy("$TARGET", "$SOURCE"))

View File

@ -129,7 +129,7 @@ def updateV8():
elif sys.platform == 'darwin': elif sys.platform == 'darwin':
run(['make', '-j' + str(cores), 'native'], cwd=kV8Work) run(['make', '-j' + str(cores), 'native'], cwd=kV8Work)
elif sys.platform == 'win32': elif sys.platform == 'win32':
run(['gn.bat', 'gen', 'x64.release', 'is_component_build=false'], cwd=kV8Work, env=win32Env) run(['gn.bat', 'gen', 'x64.release', "--args=is_component_build=false"], cwd=kV8Work, env=win32Env)
run(['ninja', '-C', 'x64.release'], cwd=kV8Work) run(['ninja', '-C', 'x64.release'], cwd=kV8Work)
if __name__ == '__main__': if __name__ == '__main__':