2021-12-06 03:33:42 +01:00
|
|
|
py_binary(
|
|
|
|
name = "helper_build",
|
|
|
|
srcs = ["helper_build.py"],
|
2021-02-04 10:07:34 +01:00
|
|
|
tags = ["manual"],
|
|
|
|
)
|
|
|
|
|
2021-12-06 03:33:42 +01:00
|
|
|
genrule(
|
2021-02-04 10:07:34 +01:00
|
|
|
name = "helper_dylib",
|
2021-12-06 03:33:42 +01:00
|
|
|
srcs = glob(["*.swift"]),
|
|
|
|
outs = ["libankihelper.dylib"],
|
|
|
|
cmd = "$(location :helper_build) $@ $(COMPILATION_MODE) $(SRCS)",
|
2021-12-06 13:18:53 +01:00
|
|
|
message = "Compiling Swift dylib",
|
2021-02-04 11:41:08 +01:00
|
|
|
tags = ["manual"],
|
2021-12-06 03:33:42 +01:00
|
|
|
tools = [":helper_build"],
|
2021-02-04 10:07:34 +01:00
|
|
|
visibility = ["//qt:__subpackages__"],
|
|
|
|
)
|