Add gNMI device state subscriber
Also disable some gNMI/P4-related BUCK files that break the BUCK build
for ONOS 1.14
Change-Id: I20cb5e130f4e416bf8678aab2e5268faf24ad06b
diff --git a/providers/general/device/BUILD b/providers/general/device/BUILD
index 2807457..40957b1 100644
--- a/providers/general/device/BUILD
+++ b/providers/general/device/BUILD
@@ -1,4 +1,9 @@
-COMPILE_DEPS = CORE_DEPS + JACKSON
+COMPILE_DEPS = CORE_DEPS + JACKSON + [
+ "//protocols/gnmi/stub:onos-protocols-gnmi-stub",
+ "//protocols/gnmi/api:onos-protocols-gnmi-api",
+ "@com_google_protobuf//:protobuf_java",
+ "//protocols/grpc/api:onos-protocols-grpc-api",
+]
osgi_jar_with_tests(
test_deps = TEST_ADAPTERS,