Update build configuration

This commit is contained in:
Peter
2019-06-10 20:20:30 +01:00
parent b3cbbf58a1
commit 359b2ee7c9

8
BUCK
View File

@@ -1,13 +1,13 @@
load('//tools:buck_utils.bzl', 'config_with_updated_linker_flags', 'configs_with_config')
load('//tools:buck_defs.bzl', 'SHARED_CONFIGS')
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,
configs = configs_with_config({}),
visibility = ['PUBLIC'],
frameworks = [
'$SDKROOT/System/Library/Frameworks/Foundation.framework',
@@ -19,6 +19,7 @@ apple_library(
srcs = glob([
'SSignalKit/*.m',
]),
configs = configs_with_config(combined_config([SHARED_CONFIGS, EXTENSION_LIB_SPECIFIC_CONFIG])),
headers = glob([
'SSignalKit/*.h',
]),
@@ -27,7 +28,6 @@ apple_library(
'SSignalKit/*.h',
]),
modular = True,
configs = configs_with_config({}),
compiler_flags = ['-w'],
preprocessor_flags = ['-fobjc-arc'],
visibility = ['PUBLIC'],