mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
34 lines
856 B
Python
34 lines
856 B
Python
load("//Config:buck_rule_macros.bzl", "static_library")
|
|
|
|
static_library(
|
|
name = "RLottieBinding",
|
|
srcs = glob([
|
|
"rlottie/src/**/*.cpp",
|
|
], exclude = [
|
|
"rlottie/src/vector/vdrawhelper_neon.cpp",
|
|
"rlottie/src/vector/stb/**/*",
|
|
]) + [
|
|
"LottieInstance.mm"
|
|
],
|
|
compiler_flags = [
|
|
"-Dpixman_region_selfcheck(x)=1",
|
|
"-DLOTTIE_DISABLE_ARM_NEON=1",
|
|
],
|
|
headers = glob([
|
|
"rlottie/src/**/*.h",
|
|
"rlottie/inc/**/*.h",
|
|
], exclude = [
|
|
"rlottie/src/lottie/rapidjson/msinttypes/**/*",
|
|
]) + [
|
|
"LottieInstance.h",
|
|
"config.h",
|
|
],
|
|
exported_headers = [
|
|
"LottieInstance.h"
|
|
],
|
|
frameworks = [
|
|
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
|
"$SDKROOT/System/Library/Frameworks/UIKit.framework",
|
|
],
|
|
)
|