forked from google/macops-molcodesignchecker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
24 lines (21 loc) · 719 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
load("@build_bazel_rules_apple//apple:macos.bzl", "macos_unit_test")
objc_library(
name = "MOLCodesignChecker",
srcs = ["Source/MOLCodesignChecker/MOLCodesignChecker.m"],
hdrs = ["Source/MOLCodesignChecker/MOLCodesignChecker.h"],
includes = ["Source"],
sdk_frameworks = ["Security"],
visibility = ["//visibility:public"],
deps = ["@MOLCertificate//:MOLCertificate"],
)
objc_library(
name = "MOLCodesignCheckerTestsLib",
srcs = ["Tests/MOLCodesignCheckerTest.m"],
deps = [":MOLCodesignChecker"],
)
macos_unit_test(
name = "MOLCodesignCheckerTests",
minimum_os_version = "10.9",
resources = glob(["Tests/Resources/*"]),
deps = [":MOLCodesignCheckerTestsLib"],
)