ONOS-7152 Buck build of gNMI auto-generated gRPC stubs
Change-Id: I214a1e28aaee456f2d48ddcda1af18619275e863
diff --git a/protocols/gnmi/BUCK b/protocols/gnmi/BUCK
new file mode 100644
index 0000000..6c80b9b
--- /dev/null
+++ b/protocols/gnmi/BUCK
@@ -0,0 +1,15 @@
+BUNDLES = [
+ '//protocols/gnmi/stub:onos-protocols-gnmi-stub',
+]
+
+onos_app(
+ app_name = 'org.onosproject.protocols.gnmi',
+ title = 'gNMI Protocol Subsystem',
+ category = 'Protocol',
+ url = 'http://onosproject.org',
+ description = 'ONOS gNMI protocol subsystem',
+ included_bundles = BUNDLES,
+ required_apps = [
+ 'org.onosproject.protocols.grpc'
+ ],
+)