fix gyp-generated xcode project files for SampleApp and other targets
see http://codereview.appspot.com/4515181/



git-svn-id: http://skia.googlecode.com/svn/trunk@1482 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gyp/core.gyp b/gyp/core.gyp
index 3c207a9..c0d8944 100644
--- a/gyp/core.gyp
+++ b/gyp/core.gyp
@@ -289,8 +289,14 @@
             '../src/ports/SkThread_pthread.cpp',
             '../src/ports/SkTime_Unix.cpp',
 
+            # TODO(epoger): why are we building this here?
             '../src/utils/mac/SkCreateCGImageRef.cpp',
           ],
+          'link_settings': {
+            'libraries': [
+              '$(SDKROOT)/System/Library/Frameworks/Carbon.framework',
+            ],
+          },
         }],
         [ 'OS == "win"', {
           'include_dirs': [