mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-15 18:59:54 +00:00
* 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.
24 lines
652 B
Plaintext
Executable File
24 lines
652 B
Plaintext
Executable File
apple_library(
|
|
name = 'PINCache',
|
|
exported_headers = glob(['PINCache/*.h']),
|
|
# PINDiskCache.m should be compiled with '-fobjc-arc-exceptions' (#105)
|
|
srcs =
|
|
glob(['PINCache/*.m'], excludes = ['PINCache/PINDiskCache.m']) +
|
|
[('PINCache/PINDiskCache.m', ['-fobjc-arc-exceptions'])],
|
|
preprocessor_flags = ['-fobjc-arc'],
|
|
lang_preprocessor_flags = {
|
|
'C': ['-std=gnu99'],
|
|
'CXX': ['-std=gnu++11', '-stdlib=libc++'],
|
|
},
|
|
linker_flags = [
|
|
'-weak_framework',
|
|
'UIKit',
|
|
'-weak_framework',
|
|
'AppKit',
|
|
],
|
|
frameworks = [
|
|
'$SDKROOT/System/Library/Frameworks/Foundation.framework',
|
|
],
|
|
visibility = ['PUBLIC'],
|
|
)
|