Adding build tools for gRPC compilation.
ONOS-6095
Change-Id: I80687eb2a91ad60c4dbec0bb966e917555d46151
diff --git a/incubator/protobuf/BUCK b/incubator/protobuf/BUCK
new file mode 100644
index 0000000..3422455
--- /dev/null
+++ b/incubator/protobuf/BUCK
@@ -0,0 +1,25 @@
+
+COMPILE_DEPS = [
+ '//lib:CORE_DEPS',
+ ':onos-incubator-grpc',
+ '//lib:protobuf-java-3.2.0',
+]
+
+GRPC_DEPS = [
+ '//lib:GRPC_1.3',
+ '//lib:protobuf-java-3.2.0',
+ '//lib:guava'
+]
+
+grpc_jar(
+ name = 'onos-incubator-grpc',
+ deps = GRPC_DEPS,
+ proto_paths = ["$ONOS_ROOT/incubator/protobuf/src/main/proto"]
+)
+
+osgi_jar_with_tests(
+ deps = COMPILE_DEPS,
+ visibility = ['PUBLIC'],
+)
+
+