From da34cf8f89b36647f5e43a9de72d3cb838c9aa05 Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Sat, 24 Sep 2016 18:10:45 +0000 Subject: [PATCH] Giving up. Fixes Windows? git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3345 ed5197a5-7fde-0310-b194-c3ffbd925b24 --- SConstruct | 2 +- tools/update-deps | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/SConstruct b/SConstruct index faca5818..5b1765be 100644 --- a/SConstruct +++ b/SConstruct @@ -31,7 +31,7 @@ if sys.platform == 'win32': env.Append(CXXFLAGS=['/EHsc', '/MT', '/Zi', '/Gy']) env.Append(CFLAGS=['/EHsc', '/MT', '/Zi', '/Gy']) env.Append(LIBPATH=[ - os.path.join(v8, 'out/native'), + os.path.join(v8, 'out/Release/lib'), os.path.join(uv, 'Release/lib'), ]) env.Append(LINKFLAGS=['/RELEASE', '/OPT:REF', '/OPT:ICF']) diff --git a/tools/update-deps b/tools/update-deps index 4906481e..397c8df7 100755 --- a/tools/update-deps +++ b/tools/update-deps @@ -128,8 +128,8 @@ def updateV8(): elif sys.platform == 'darwin': run(['make', '-j' + str(cores), 'native'], cwd=kV8Work) elif sys.platform == 'win32': - run(['gn' + extension, 'gen', 'out/native', '--args=is_component_build=true'], cwd=kV8Work, env=win32Env) - run(['ninja', '-C', 'out/native'], cwd=kV8Work, env=win32Env) + run(['python', 'gypfiles\\gyp_v8', '-Dtarget_arch=x64'], cwd=kV8Work, env=win32Env) + run(['devenv.com', 'src\\v8.sln', '/Build', 'Release'], cwd=kV8Work) if __name__ == '__main__': updateUv()