Swiftgram/buck-files/BUCK_FLAnimatedImage
Huy Nguyen be6faa107a Support Buck build (#2849)
* Support Buck build

* Simplify pod_install hook and buck-file dir's structure

* Update PINRemoteImage's BUCK

* Frameworks linking:
- Weak linking Photos and MapKit.
- Revisit //:Tests' list.
2017-01-04 14:11:28 -08:00

19 lines
679 B
Plaintext
Executable File

apple_library(
name = 'FLAnimatedImage',
exported_headers = glob(['FLAnimatedImage/*.h']),
srcs = glob(['FLAnimatedImage/*.m']),
preprocessor_flags = ['-fobjc-arc', '-Wno-deprecated-declarations'],
lang_preprocessor_flags = {
'C': ['-std=gnu99'],
'CXX': ['-std=gnu++11', '-stdlib=libc++'],
},
frameworks = [
'$SDKROOT/System/Library/Frameworks/Foundation.framework',
'$SDKROOT/System/Library/Frameworks/UIKit.framework',
'$SDKROOT/System/Library/Frameworks/ImageIO.framework',
'$SDKROOT/System/Library/Frameworks/MobileCoreServices.framework',
'$SDKROOT/System/Library/Frameworks/QuartzCore.framework',
],
visibility = ['PUBLIC'],
)