forked from bazelbuild/apple_support
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
40 lines (32 loc) · 873 Bytes
/
BUILD
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
# Standard constraint_settings and constraint_values for items common to rules_swift and rules_apple.
package(default_visibility = ["//visibility:public"])
licenses(["notice"])
filegroup(
name = "srcs",
srcs = ["BUILD"],
)
# Constraint indicating the target environment (e.g. device, simulator).
constraint_setting(
name = "target_environment",
default_constraint_value = ":device",
visibility = ["//visibility:private"],
)
constraint_value(
name = "device",
constraint_setting = ":target_environment",
)
constraint_value(
name = "simulator",
constraint_setting = ":target_environment",
)
constraint_value(
name = "catalyst",
constraint_setting = ":target_environment",
)
# Consumed by bazel tests.
filegroup(
name = "for_bazel_tests",
testonly = True,
srcs = glob(["**"]),
visibility = ["//:__pkg__"],
)