anki/qt/mac/BUILD.bazel

21 lines
457 B
Python
Raw Normal View History

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