Peter 3b155750f5 Add 'submodules/lottie-ios/' from commit 'd40e390fbe6d7ef3b417876af6fdce5e4d2aa335'
git-subtree-dir: submodules/lottie-ios
git-subtree-mainline: 76e5a7fab6b0222780f346530cdbeeff96f3e105
git-subtree-split: d40e390fbe6d7ef3b417876af6fdce5e4d2aa335
2019-06-11 18:54:21 +01:00

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