-
Notifications
You must be signed in to change notification settings - Fork 34
/
BUILD.bazel
50 lines (46 loc) · 1.17 KB
/
BUILD.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
load(
"@rules_apple//apple:ios.bzl",
"ios_framework",
"ios_unit_test",
)
load(
"@rules_swift//swift:swift.bzl",
"swift_library",
)
swift_library(
name = "Paralayout.lib",
srcs = glob(["Paralayout/**/*.swift"]),
module_name = "Paralayout",
copts = ["-strict-concurrency=complete"],
tags = ["manual"],
visibility = ["//visibility:public"],
deps = [],
)
swift_library(
name = "ParalayoutTests.lib",
testonly = True,
srcs = glob(["ParalayoutTests/**/*.swift"]),
module_name = "ParalayoutTests",
copts = ["-strict-concurrency=complete"],
tags = ["manual"],
deps = [":Paralayout.lib"],
)
ios_framework(
name = "Paralayout",
bundle_id = "com.squareup.Paralayout",
families = [
"iphone",
"ipad",
],
infoplists = ["Paralayout/Info.plist"],
minimum_os_version = "13.0",
visibility = ["//visibility:public"],
deps = [":Paralayout.lib"],
)
ios_unit_test(
name = "ParalayoutTests",
bundle_name = "ParalayoutTests",
minimum_os_version = "13.0",
runner = "@rules_apple//apple/testing/default_runner:ios_xctestrun_ordered_runner",
deps = [":ParalayoutTests.lib"],
)