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
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):