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
This commit is contained in:
parent
e4dbe21bd9
commit
072ee7d45c
8
gyp_skia
8
gyp_skia
@ -62,12 +62,10 @@ def get_output_dir():
|
||||
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):
|
||||
|
Loading…
Reference in New Issue
Block a user