Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: createsolution.bat

Issue 10945039: Switch to gyp (Closed)
Patch Set: Final version Created June 21, 2013, 2:16 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build_release.py ('k') | defaults.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: createsolution.bat
===================================================================
--- a/createsolution.bat
+++ b/createsolution.bat
@@ -1,6 +1,13 @@
@echo off
+set version=%1
+set type=%2
+if "%type%"=="" set type=devbuild
+
pushd %~dp0
-python libadblockplus\msvs_gyp_wrapper.py --depth=build\ia32 -f msvs --generator-output=build\ia32 -G msvs_version=2012 -Dtarget_arch=ia32 adblockplus.gyp
-python libadblockplus\msvs_gyp_wrapper.py --depth=build\x64 -f msvs --generator-output=build\x64 -G msvs_version=2012 -Dtarget_arch=x64 adblockplus.gyp
+if NOT EXIST build\ia32\libadblockplus\shell\nul mkdir build\ia32\libadblockplus\shell
+if NOT EXIST build\x64\libadblockplus\shell\nul mkdir build\x64\libadblockplus\shell
+
+python libadblockplus\msvs_gyp_wrapper.py --depth=build\ia32 -f msvs -I libadblockplus\common.gypi --generator-output=build\ia32 -G msvs_version=2012 -Dtarget_arch=ia32 -Dbuild_type=%type% -Dbuild_version=%version% adblockplus.gyp
+python libadblockplus\msvs_gyp_wrapper.py --depth=build\x64 -f msvs -I libadblockplus\common.gypi --generator-output=build\x64 -G msvs_version=2012 -Dtarget_arch=x64 -Dbuild_type=%type% -Dbuild_version=%version% adblockplus.gyp
popd
« no previous file with comments | « build_release.py ('k') | defaults.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld