-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathBUILD
More file actions
35 lines (32 loc) · 839 Bytes
/
BUILD
File metadata and controls
35 lines (32 loc) · 839 Bytes
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
load("@build_bazel_rules_apple//apple:resources.bzl", "apple_metal_library", "apple_resource_bundle")
load("@build_bazel_rules_swift//swift:swift.bzl", "swift_library")
swift_library(
name = "LiquidGlassKit",
module_name = "LiquidGlassKit",
srcs = glob([
"Sources/**/*.swift",
]),
copts = [
"-warnings-as-errors",
],
data = [
":LiquidGlassKitShaderResources",
],
deps = [],
visibility = [
"//visibility:public",
],
)
apple_metal_library(
name = "LiquidGlassKitShaders",
srcs = glob([
"Sources/**/*.metal",
]),
out = "default.metallib",
)
apple_resource_bundle(
name = "LiquidGlassKitShaderResources",
bundle_id = "com.DnV1eX.LiquidGlassKitShaders",
infoplists = ["Info.plist"],
resources = [":LiquidGlassKitShaders"],
)