File tree 2 files changed +11
-1
lines changed
2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
'variables' : {
3
- 'v8_use_snapshot' : 'true' ,
3
+ 'v8_use_snapshot% ' : 'true' ,
4
4
# Turn off -Werror in V8
5
5
# See http://codereview.chromium.org/8159015
6
6
'werror' : '' ,
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ set target=Build
17
17
set noprojgen =
18
18
set nobuild =
19
19
set nosign =
20
+ set nosnapshot =
20
21
set test =
21
22
set test_args =
22
23
set msi =
@@ -30,6 +31,7 @@ if /i "%1"=="clean" set target=Clean&goto arg-ok
30
31
if /i " %1 " == " noprojgen" set noprojgen = 1& goto arg-ok
31
32
if /i " %1 " == " nobuild" set nobuild = 1& goto arg-ok
32
33
if /i " %1 " == " nosign" set nosign = 1& goto arg-ok
34
+ if /i " %1 " == " nosnapshot" set nosnapshot = 1& goto arg-ok
33
35
if /i " %1 " == " test-uv" set test = test-uv& goto arg-ok
34
36
if /i " %1 " == " test-internet" set test=test-internet& goto arg-ok
35
37
if /i " %1 " == " test-pummel" set test = test-pummel& goto arg-ok
@@ -53,10 +55,18 @@ if defined upload goto upload
53
55
if defined noprojgen goto msbuild
54
56
55
57
@ rem Generate the VS project.
58
+ if defined nosnapshot goto nosnapshotgen
56
59
python tools\gyp_node -f msvs -G msvs_version=2010
57
60
if errorlevel 1 goto create-msvs-files-failed
58
61
if not exist node.sln goto create-msvs-files-failed
59
62
echo Project files generated.
63
+ goto msbuild
64
+
65
+ :nosnapshotgen
66
+ python tools\gyp_node -f msvs -G msvs_version=2010 -D v8_use_snapshot='false'
67
+ if errorlevel 1 goto create-msvs-files-failed
68
+ if not exist node.sln goto create-msvs-files-failed
69
+ echo Project files generated.
60
70
61
71
:msbuild
62
72
@ rem Skip project generation if requested.
You can’t perform that action at this time.
0 commit comments