From de9255f002637b5cee9539b8cd211b1667cfc237 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguy=E1=BB=85n?= Date: Wed, 25 Mar 2015 15:07:35 -0700 Subject: Enabled modules in iOS demo app No longer need to explicitly link system frameworks like UIKit. --- gyp/platform-ios.gypi | 6 ++---- gyp/platform-osx.gypi | 3 +-- 2 files changed, 3 insertions(+), 6 deletions(-) (limited to 'gyp') diff --git a/gyp/platform-ios.gypi b/gyp/platform-ios.gypi index de8745bf25..042df591a6 100644 --- a/gyp/platform-ios.gypi +++ b/gyp/platform-ios.gypi @@ -47,16 +47,13 @@ '<@(uv_static_libs)', ], 'ldflags': [ - '-framework CoreGraphics', '-framework CoreLocation', '-framework CoreTelephony', - '-framework ImageIO', '-framework GLKit', + '-framework ImageIO', '-framework MobileCoreServices', - '-framework OpenGLES', '-framework QuartzCore', '-framework SystemConfiguration', - '-framework UIKit', ], }, @@ -67,6 +64,7 @@ 'xcode_settings': { 'OTHER_CPLUSPLUSFLAGS': [ '<@(cflags_cc)' ], 'CLANG_ENABLE_OBJC_ARC': 'YES', + 'CLANG_ENABLE_MODULES': 'YES', }, 'link_settings': { diff --git a/gyp/platform-osx.gypi b/gyp/platform-osx.gypi index 39e18bb839..41a453533f 100644 --- a/gyp/platform-osx.gypi +++ b/gyp/platform-osx.gypi @@ -26,10 +26,8 @@ '<@(uv_static_libs)', ], 'ldflags': [ - '-framework Foundation', '-framework ImageIO', '-framework CoreServices', - '-framework OpenGL', '-framework ApplicationServices', ], }, @@ -42,6 +40,7 @@ 'xcode_settings': { 'OTHER_CPLUSPLUSFLAGS': [ '<@(cflags_cc)' ], 'CLANG_ENABLE_OBJC_ARC': 'YES', + 'CLANG_ENABLE_MODULES': 'YES', }, 'link_settings': { -- cgit v1.2.1