From 4f8d6d0834ef7132aa9702f4c83033daf42f9d06 Mon Sep 17 00:00:00 2001 From: Paddy Byers Date: Tue, 15 Nov 2011 23:52:23 +0000 Subject: [PATCH] build: fix gyp xcode project generator Only attempt to generate FrameworkPhase output for code targets. --- tools/gyp/pylib/gyp/generator/xcode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gyp/pylib/gyp/generator/xcode.py b/tools/gyp/pylib/gyp/generator/xcode.py index 066bb9f02f8..f905efdd896 100644 --- a/tools/gyp/pylib/gyp/generator/xcode.py +++ b/tools/gyp/pylib/gyp/generator/xcode.py @@ -1161,7 +1161,7 @@ exit 1 if support_xct: support_xct.AddDependency(xcode_targets[dependency]) - if 'libraries' in spec: + if spec['type'] != 'none' and 'libraries' in spec: for library in spec['libraries']: xct.FrameworksPhase().AddFile(library) # Add the library's directory to LIBRARY_SEARCH_PATHS if necessary.