forked from google/macops-MOLAuthenticatingURLSession
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
42 lines (37 loc) · 1.23 KB
/
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
37
38
39
40
41
42
load("@build_bazel_rules_apple//apple:macos.bzl", "macos_unit_test")
licenses(["notice"])
exports_files(["LICENSE"])
objc_library(
name = "MOLAuthenticatingURLSession",
srcs = [
"Source/MOLAuthenticatingURLSession/MOLAuthenticatingURLSession.m",
"Source/MOLAuthenticatingURLSession/MOLDERDecoder.h",
"Source/MOLAuthenticatingURLSession/MOLDERDecoder.m",
],
hdrs = ["Source/MOLAuthenticatingURLSession/MOLAuthenticatingURLSession.h"],
includes = ["Source"],
sdk_frameworks = ["Security"],
visibility = ["//visibility:public"],
deps = ["@MOLCertificate"],
)
objc_library(
name = "MOLAuthenticatingURLSessionTestsLib",
testonly = 1,
srcs = [
"Source/MOLAuthenticatingURLSession/MOLDERDecoder.h",
"Tests/MOLAuthenticatingURLSessionTest.m",
"Tests/MOLDERDecoderTest.m",
],
data = [
"Tests/dn.plist",
"Tests/example_org_client_cert.pem",
"Tests/example_org_client_cert_old.pem",
"Tests/internet_widgits_client_cert.pem",
],
deps = [":MOLAuthenticatingURLSession"],
)
macos_unit_test(
name = "MOLAuthenticatingURLSessionTests",
minimum_os_version = "10.11",
deps = [":MOLAuthenticatingURLSessionTestsLib"],
)