aboutsummaryrefslogtreecommitdiffhomepage
path: root/BUILD
diff options
context:
space:
mode:
authorGravatar Jorge Canizales <jcanizales@google.com>2015-06-19 16:30:31 -0700
committerGravatar Jorge Canizales <jcanizales@google.com>2015-06-23 21:38:24 -0700
commit44dc423f99330cc2266b5c18c6e89becf7c88684 (patch)
tree85c2fc440ffa50573418ec6390486542cff69423 /BUILD
parent870af21d65b6b21bb2dd6127797eee86c1aef727 (diff)
Add BUILD target for Objective-C's RxLibrary
Diffstat (limited to 'BUILD')
-rw-r--r--BUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/BUILD b/BUILD
index d7f0e5a588..ff07cd1132 100644
--- a/BUILD
+++ b/BUILD
@@ -853,3 +853,30 @@ cc_binary(
+
+objc_path = "src/objective-c"
+
+rx_library_path = objc_path + "/RxLibrary"
+
+objc_library(
+ name = "rx_library",
+ hdrs = glob([
+ rx_library_path + "/*.h",
+ rx_library_path + "/transformations/*.h",
+ ]),
+ srcs = glob([
+ rx_library_path + "/*.m",
+ rx_library_path + "/transformations/*.m",
+ ]),
+ includes = [objc_path],
+ deps = [
+ ":rx_library_private",
+ ],
+)
+
+objc_library(
+ name = "rx_library_private",
+ hdrs = glob([rx_library_path + "/private/*.h"]),
+ srcs = glob([rx_library_path + "/private/*.m"]),
+ visibility = ["//visibility:private"],
+)