From 59c70f7d7c0cdd1393914cc3855892ec6394a063 Mon Sep 17 00:00:00 2001 From: Bruno de Oliveira Abinader Date: Sun, 21 Feb 2016 17:15:46 +0200 Subject: [gyp] Check for gyp variable conditions on OS X --- gyp/osx.gyp | 9 ++++++--- 1 file 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' ] } ], ], } -- cgit v1.2.1