@@ -40,9 +40,11 @@ set vcvars32="C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\V
40
40
call %vcvars32%
41
41
42
42
@ rem Build DelayedCreateProcess.exe to the bin directory
43
+ @ echo Building DelayedCreateProcess.exe
43
44
call DelayedCreateProcess\make.bat
44
45
45
46
cd /d %UIforETW% ETWInsights
47
+ @ echo Building ETWInsights
46
48
devenv /rebuild " release|Win32" ETWInsights.sln
47
49
@ if ERRORLEVEL 1 goto BuildFailure
48
50
xcopy Release\flame_graph.exe %UIforETW% \bin /y
@@ -53,15 +55,18 @@ cd /d %UIforETW%UIforETW
53
55
sed " s/UIforETW.vcxproj/UIforETWStatic.vcxproj/" < UIforETW.sln > UIforETWStatic.sln
54
56
@ echo First do a test build with ETW marks disabled to test the inline functions.
55
57
sed " s/_WINDOWS/_WINDOWS;DISABLE_ETW_MARKS/" < UIforETW.vcxproj > UIforETWStatic.vcxproj
58
+ @ echo Building UIforETW 32-bit test build
56
59
devenv /rebuild " release|Win32" UIforETWStatic.sln
57
60
@ if ERRORLEVEL 1 goto BuildFailure
58
61
59
62
@ rem Now prepare for the real builds
60
63
sed " s/UseOfMfc>Dynamic/UseOfMfc>Static/" < UIforETW.vcxproj > UIforETWStatic.vcxproj
61
64
if exist Release rmdir Release /s/q
62
65
if exist x64\Release rmdir x64\Release /s/q
66
+ @ echo Building UIforETW 32-bit official build
63
67
devenv /rebuild " release|Win32" UIforETWStatic.sln
64
68
@ if ERRORLEVEL 1 goto BuildFailure
69
+ @ echo Building UIforETW 64-bit official build
65
70
devenv /rebuild " release|x64" UIforETWStatic.sln
66
71
@ if ERRORLEVEL 1 goto BuildFailure
67
72
@ rem Clean up after building the static version.
@@ -173,11 +178,11 @@ del etwsymserver\refs.ptr /s
173
178
174
179
@ rem Make the redistributable .zip file
175
180
del *.zip 2 > nul
176
- call python make_zip_file.py etwpackage.zip etwpackage
181
+ call python3 make_zip_file.py etwpackage.zip etwpackage
177
182
@ echo on
178
183
179
184
@ rem Rename to the current version.
180
- call python rename_to_version.py UIforETW\Version.h
185
+ call python3 rename_to_version.py UIforETW\Version.h
181
186
@ echo on
182
187
183
188
@ echo Now upload the new etwpackage*.zip
@@ -194,7 +199,7 @@ cd etwsymserver
194
199
@ rem Upload to the randomascii-symbols public symbol server.
195
200
@ echo Final step - ready to upload the symbols?
196
201
@ pause
197
- call python c:\src\depot_tools\gsutil.py cp -Z -R . gs://randomascii-symbols
202
+ call python3 c:\src\depot_tools\gsutil.py cp -Z -R . gs://randomascii-symbols
198
203
cd ..
199
204
@ echo on
200
205
0 commit comments