mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00

git-subtree-dir: submodules/lottie-ios git-subtree-mainline: 76e5a7fab6b0222780f346530cdbeeff96f3e105 git-subtree-split: d40e390fbe6d7ef3b417876af6fdce5e4d2aa335
30 lines
888 B
Python
30 lines
888 B
Python
load('//tools:buck_utils.bzl', 'config_with_updated_linker_flags', 'configs_with_config', 'combined_config')
|
|
load('//tools:buck_defs.bzl', 'SHARED_CONFIGS', 'EXTENSION_LIB_SPECIFIC_CONFIG')
|
|
|
|
apple_library(
|
|
name = 'Lottie',
|
|
srcs = glob([
|
|
'lottie-ios/Classes/**/*.m',
|
|
]),
|
|
headers = glob([
|
|
'lottie-ios/Classes/**/*.h',
|
|
]),
|
|
header_namespace = 'HockeySDK',
|
|
exported_headers = glob([
|
|
'lottie-ios/Classes/PublicHeaders/*.h'
|
|
]),
|
|
modular = True,
|
|
configs = configs_with_config(combined_config([SHARED_CONFIGS, EXTENSION_LIB_SPECIFIC_CONFIG])),
|
|
compiler_flags = [
|
|
'-w'
|
|
],
|
|
preprocessor_flags = ['-fobjc-arc'],
|
|
visibility = ['PUBLIC'],
|
|
deps = [
|
|
],
|
|
frameworks = [
|
|
'$SDKROOT/System/Library/Frameworks/Foundation.framework',
|
|
'$SDKROOT/System/Library/Frameworks/UIKit.framework',
|
|
],
|
|
)
|