diff --git a/Makefile b/Makefile index 434645c81..14f78ed0f 100644 --- a/Makefile +++ b/Makefile @@ -5,6 +5,7 @@ ANDROID_ABI ?= arm-v7 ifeq ($(shell uname -s), Darwin) HOST ?= osx +HEADLESS ?= cgl JOBS ?= $(shell sysctl -n hw.ncpu) endif HOST ?= linux diff --git a/gyp/styles.gypi b/gyp/styles.gypi index e1cd344fe..2c8772a87 100644 --- a/gyp/styles.gypi +++ b/gyp/styles.gypi @@ -19,7 +19,7 @@ 'hard_dependency': 1, 'dependencies': [ 'touch_styles' ], # required for xcode http://openradar.appspot.com/7232149 'conditions': [ - ['OS == "mac"', { + ['platform_lib == "osx"', { 'direct_dependent_settings': { 'mac_bundle_resources': [ '../styles/styles' ], }