Allow use of SKIA_OUT on Windows
This works as expected, except that %SKIA_OUT% must be on the same drive
R=djsollen@google.com
Review URL: https://codereview.chromium.org/18467010
git-svn-id: http://skia.googlecode.com/svn/trunk@9972 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gyp_skia b/gyp_skia
index f76c713..9c31978 100755
--- a/gyp_skia
+++ b/gyp_skia
@@ -62,12 +62,10 @@
if not output_dir:
return os.path.join(os.path.abspath(script_dir), 'out')
- if (os.name != 'posix' or
- (sys.platform.startswith('darwin') and
+ if (sys.platform.startswith('darwin') and
(not os.getenv('GYP_GENERATORS') or
- 'make' not in os.getenv('GYP_GENERATORS')))):
- print 'ERROR: variable SKIA_OUT is not valid on Mac (using xcodebuild)' \
- ' or Windows'
+ 'make' not in os.getenv('GYP_GENERATORS'))):
+ print 'ERROR: variable SKIA_OUT is not valid on Mac (using xcodebuild)'
sys.exit(-1);
if os.path.isabs(output_dir):