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

git-subtree-dir: submodules/SSignalKit git-subtree-mainline: 4459dc5b47e7db4ea1adb3a43a4324d1c2f9feab git-subtree-split: 359b2ee7c9f20f99f221f78e307369ef5ad0ece2
38 lines
1.1 KiB
Python
38 lines
1.1 KiB
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 = 'SwiftSignalKit',
|
|
srcs = glob([
|
|
'SwiftSignalKit/*.swift'
|
|
]),
|
|
configs = configs_with_config(combined_config([SHARED_CONFIGS, EXTENSION_LIB_SPECIFIC_CONFIG])),
|
|
modular = True,
|
|
visibility = ['PUBLIC'],
|
|
frameworks = [
|
|
'$SDKROOT/System/Library/Frameworks/Foundation.framework',
|
|
],
|
|
)
|
|
|
|
apple_library(
|
|
name = 'SSignalKit',
|
|
srcs = glob([
|
|
'SSignalKit/*.m',
|
|
]),
|
|
configs = configs_with_config(combined_config([SHARED_CONFIGS, EXTENSION_LIB_SPECIFIC_CONFIG])),
|
|
headers = glob([
|
|
'SSignalKit/*.h',
|
|
]),
|
|
header_namespace = 'SSignalKit',
|
|
exported_headers = glob([
|
|
'SSignalKit/*.h',
|
|
]),
|
|
modular = True,
|
|
compiler_flags = ['-w'],
|
|
preprocessor_flags = ['-fobjc-arc'],
|
|
visibility = ['PUBLIC'],
|
|
frameworks = [
|
|
'$SDKROOT/System/Library/Frameworks/Foundation.framework',
|
|
],
|
|
)
|