Make "make gyp" work on Windows
git-svn-id: http://skia.googlecode.com/svn/trunk@3482 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/make.py b/make.py
index a4081a2..1e0b7e7 100644
--- a/make.py
+++ b/make.py
@@ -22,6 +22,7 @@
# special targets
TARGET_ALL = 'all'
TARGET_CLEAN = 'clean'
+TARGET_GYP = 'gyp'
LIST_OF_ALL_TARGETS = ['SampleApp', 'bench', 'gm', 'tests', 'tools']
SCRIPT_DIR = os.path.abspath(os.path.dirname(__file__))
@@ -111,6 +112,10 @@
mkdirs(final_output_dir)
for target in targets:
+ # We already built the gypfiles...
+ if target == TARGET_GYP:
+ continue
+
cd(msbuild_working_dir)
runcommand(
('msbuild /nologo /property:Configuration=%s'