-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathBUILD
36 lines (31 loc) · 894 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
load("@build_bazel_rules_apple//apple:macos.bzl", "macos_unit_test")
licenses(["notice"])
exports_files(["LICENSE"])
objc_library(
name = "MOLCodesignChecker",
srcs = ["Source/MOLCodesignChecker/MOLCodesignChecker.m"],
hdrs = ["Source/MOLCodesignChecker/MOLCodesignChecker.h"],
includes = ["Source"],
sdk_frameworks = [
"Foundation",
"Security",
],
visibility = ["//visibility:public"],
deps = ["@MOLCertificate//:MOLCertificate"],
)
objc_library(
name = "MOLCodesignCheckerTestsLib",
srcs = ["Tests/MOLCodesignCheckerTest.m"],
testonly = 1,
sdk_frameworks = [
"Foundation",
"XCTest"
],
deps = [":MOLCodesignChecker"],
)
macos_unit_test(
name = "MOLCodesignCheckerTests",
minimum_os_version = "10.13",
resources = glob(["Tests/Resources/*"]),
deps = [":MOLCodesignCheckerTestsLib"],
)