anki/qt/mac/BUILD.bazel
2021-02-04 20:41:08 +10:00

21 lines
457 B
Python

load("@rules_cc//cc:defs.bzl", "objc_library")
objc_library(
name = "helper_static",
srcs = ["AnkiHelper.m"],
enable_modules = True,
sdk_frameworks = ["AppKit"],
tags = ["manual"],
alwayslink = True,
)
apple_binary(
name = "helper_dylib",
binary_type = "dylib",
minimum_os_version = "10.14",
platform_type = "macos",
tags = ["manual"],
visibility = ["//qt:__subpackages__"],
deps = ["helper_static"],
)