diff options
author | epoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-07-01 20:20:07 +0000 |
---|---|---|
committer | epoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-07-01 20:20:07 +0000 |
commit | 8846cb22cea7842d8dafe25a557215e31e9deeec (patch) | |
tree | c71133dcf9565943237ff68ab687ed4d0160161b /gyp/SampleApp.gyp | |
parent | 5351b373b3c68e12aecf4f16378bfebc4a5586a2 (diff) |
Create new 'skia_os' variable to replace use of 'OS' in most places.
http://codereview.appspot.com/4627085
git-svn-id: http://skia.googlecode.com/svn/trunk@1782 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gyp/SampleApp.gyp')
-rw-r--r-- | gyp/SampleApp.gyp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gyp/SampleApp.gyp b/gyp/SampleApp.gyp index 4e01526452..0c4c04cb5e 100644 --- a/gyp/SampleApp.gyp +++ b/gyp/SampleApp.gyp @@ -135,19 +135,19 @@ 'pdf.gyp:pdf', ], 'conditions' : [ - [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris"', { + [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', { 'sources!': [ '../samplecode/SampleDecode.cpp', ], }], - [ 'OS == "win"', { + [ 'skia_os == "win"', { 'sources!': [ # require UNIX functions '../samplecode/SampleEncode.cpp', '../samplecode/SamplePageFlip.cpp', ], }], - [ 'OS == "mac"', { + [ 'skia_os == "mac"', { 'sources!': [ '../samplecode/SampleDecode.cpp', ], |