aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp/SampleApp.gyp
diff options
context:
space:
mode:
authorGravatar epoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-07-01 20:20:07 +0000
committerGravatar epoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-07-01 20:20:07 +0000
commit8846cb22cea7842d8dafe25a557215e31e9deeec (patch)
treec71133dcf9565943237ff68ab687ed4d0160161b /gyp/SampleApp.gyp
parent5351b373b3c68e12aecf4f16378bfebc4a5586a2 (diff)
Create new 'skia_os' variable to replace use of 'OS' in most places.
Diffstat (limited to 'gyp/SampleApp.gyp')
-rw-r--r--gyp/SampleApp.gyp6
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',
],