Adding Bazel support for YANG models.
Change-Id: Icdb620bdb99ae9eeb042a84a8ca7563588c813c1
diff --git a/models/openconfig/BUILD b/models/openconfig/BUILD
new file mode 100644
index 0000000..c8b2d33
--- /dev/null
+++ b/models/openconfig/BUILD
@@ -0,0 +1,17 @@
+load("//tools/build/bazel:yang.bzl", "yang_model")
+
+COMPILE_DEPS = [
+ "//models/ietf:onos-models-ietf",
+]
+
+APPS = [
+ "org.onosproject.models.ietf",
+]
+
+yang_model(
+ app_name = "org.onosproject.models.openconfig",
+ title = "OpenConfig YANG Models",
+ custom_registrator = True,
+ deps = COMPILE_DEPS,
+ required_apps = APPS,
+)