diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-02-21 17:15:46 +0200 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-02-21 17:34:34 +0200 |
commit | 59c70f7d7c0cdd1393914cc3855892ec6394a063 (patch) | |
tree | 771ad47cf6facfaa3a59946c0767eff604db1c04 /gyp | |
parent | 0c57efb9a864c3c270dc8af9853f7dc35958d9ca (diff) | |
download | qtlocation-mapboxgl-59c70f7d7c0cdd1393914cc3855892ec6394a063.tar.gz |
[gyp] Check for gyp variable conditions on OS X
Diffstat (limited to 'gyp')
-rw-r--r-- | gyp/osx.gyp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gyp/osx.gyp b/gyp/osx.gyp index 4a5accda6e..18d5fe1524 100644 --- a/gyp/osx.gyp +++ b/gyp/osx.gyp @@ -4,8 +4,11 @@ '../platform/osx/sdk/framework-osx.gypi', '../platform/osx/test/osxtest.gypi', '../platform/linux/mapboxgl-app.gypi', - '../test/test.gypi', - '../bin/render.gypi', - '../bin/offline.gypi', + ], + + 'conditions': [ + ['test', { 'includes': [ '../test/test.gypi' ] } ], + ['offline', { 'includes': [ '../bin/offline.gypi' ] } ], + ['render', { 'includes': [ '../bin/render.gypi' ] } ], ], } |