forked from TelegramMessenger/Telegram-iOS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUCK
30 lines (27 loc) · 784 Bytes
/
BUCK
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
load("//Config:buck_rule_macros.bzl", "framework")
public_headers = glob([
"Source/PublicHeaders/AsyncDisplayKit/*.h",
])
private_headers = glob([
"Source/*.h",
])
framework(
name = "AsyncDisplayKit",
srcs = glob([
"Source/**/*.m",
"Source/**/*.mm",
]),
headers = private_headers,
exported_headers = public_headers,
compiler_flags = [
"-DMINIMAL_ASDK",
],
frameworks = [
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
"$SDKROOT/System/Library/Frameworks/UIKit.framework",
"$SDKROOT/System/Library/Frameworks/QuartzCore.framework",
"$SDKROOT/System/Library/Frameworks/CoreMedia.framework",
"$SDKROOT/System/Library/Frameworks/CoreText.framework",
"$SDKROOT/System/Library/Frameworks/CoreGraphics.framework",
]
)