Refactoring file structure for protobufs.
Change-Id: I50daf100d54750f97158304d87813e67861b1422
diff --git a/incubator/protobuf/models/BUCK b/incubator/protobuf/models/BUCK
new file mode 100644
index 0000000..6bfac3d
--- /dev/null
+++ b/incubator/protobuf/models/BUCK
@@ -0,0 +1,30 @@
+
+COMPILE_DEPS = [
+ '//lib:CORE_DEPS',
+ ':onos-incubator-protobuf-models-proto',
+ '//lib:protobuf-java-3.2.0',
+ '//lib:GRPC_1.3'
+]
+
+GRPC_DEPS = [
+ '//lib:GRPC_1.3',
+ '//lib:protobuf-java-3.2.0',
+ '//lib:guava'
+]
+
+BUNDLES = [
+ ':onos-incubator-protobuf-models',
+ ':onos-incubator-protobuf-models-proto',
+ '//lib:protobuf-java-3.2.0',
+]
+
+grpc_jar(
+ name = 'onos-incubator-protobuf-models-proto',
+ deps = GRPC_DEPS,
+ proto_paths = ["$ONOS_ROOT/incubator/protobuf/models/src/main/proto"]
+)
+
+osgi_jar_with_tests(
+ deps = COMPILE_DEPS,
+ visibility = ['PUBLIC'],
+)