Skip to content

Commit 8962c6c

Browse files
committed
Add BUILD file to build the Obj-C part
1 parent 6081e86 commit 8962c6c

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

OHHTTPStubs/Sources/BUILD

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
_PUBLIC_HEADERS = [
2+
"Compatibility.h",
3+
"JSON/OHHTTPStubsResponse+JSON.h",
4+
"NSURLSession/NSURLRequest+HTTPBodyTesting.h",
5+
"OHHTTPStubs.h",
6+
"OHHTTPStubsResponse.h",
7+
"OHPathHelpers/OHPathHelpers.h",
8+
]
9+
10+
objc_library(
11+
name = "OHHTTPStubs",
12+
srcs = glob(
13+
[
14+
"**/*.h",
15+
"**/*.m",
16+
],
17+
exclude = _PUBLIC_HEADERS,
18+
),
19+
hdrs = _PUBLIC_HEADERS,
20+
includes = [
21+
".",
22+
"HTTPMessage",
23+
"JSON",
24+
"NSURLSession",
25+
"OHPathHelpers",
26+
],
27+
)

0 commit comments

Comments
 (0)