Fixed Compiler flag error in CocoaSampleApp.gyp

git-svn-id: http://skia.googlecode.com/svn/trunk@2065 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
yangsu@google.com 2011-08-08 19:34:16 +00:00
parent 22b4724d9c
commit 3f69b54d45

View File

@ -166,6 +166,10 @@
],
}],
[ 'skia_os == "mac"', {
'defines': [
# To be removed when SampleApp is ready to move to Cocoa completely
'Sk_MAC_COCOA',
],
'sources!': [
'../samplecode/SampleDecode.cpp',
],
@ -202,10 +206,6 @@
},
'xcode_settings' : {
'INFOPLIST_FILE' : '../experimental/CocoaSampleApp/SampleApp-Info.plist',
# Define the compiler flag using the following line to use Cocoa
# To be removed when SampleApp is ready to move to Cocoa
'GCC_PREPROCESSOR_DEFINITIONS' : 'Sk_MAC_COCOA',
},
'mac_bundle_resources' : [
'../experimental/CocoaSampleApp/SampleApp.xib',