Peter 9bc996374f Add 'submodules/AsyncDisplayKit/' from commit '02bedc12816e251ad71777f9d2578329b6d2bef6'
git-subtree-dir: submodules/AsyncDisplayKit
git-subtree-mainline: d06f423e0ed3df1fed9bd10d79ee312a9179b632
git-subtree-split: 02bedc12816e251ad71777f9d2578329b6d2bef6
2019-06-11 18:42:43 +01:00

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'],
)