Files
Swiftgram/submodules/WatchCommon/BUCK
2019-08-27 00:44:36 +04:00

34 lines
879 B
Python

load("//Config:buck_rule_macros.bzl", "static_library")
static_library(
name = "WatchCommon",
srcs = glob([
"Sources/*.m",
]),
headers = glob([
"Sources/*.h",
], exclude = ["Sources/WatchCommon.h", "Sources/WatchCommonWatch.h"]),
exported_headers = glob([
"Sources/*.h",
], exclude = ["Sources/WatchCommon.h", "Sources/WatchCommonWatch.h"]),
frameworks = [
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
],
)
static_library(
name = "WatchCommonWatch",
srcs = glob([
"Sources/*.m",
]),
headers = glob([
"Sources/*.h",
], exclude = ["Sources/WatchCommonWatch.h"]),
exported_headers = glob([
"Sources/*.h",
], exclude = ["Sources/WatchCommonWatch.h"]),
frameworks = [
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
],
)