Fixing yang_model macro to narrow down the dependency list.
Change-Id: I6ae11cec370bfca4a1e4fe0598f84c7e354ea5b8
diff --git a/bucklets/yang.bucklet b/bucklets/yang.bucklet
index 9b27589..93c9000 100644
--- a/bucklets/yang.bucklet
+++ b/bucklets/yang.bucklet
@@ -7,9 +7,15 @@
return ONOS_ARTIFACT_BASE + base_path.replace('/', '-') #TODO Unix-separator
YANG_TOOLS = [
- '//lib:CORE_DEPS',
- '//apps/yang:onos-apps-yang',
+ '//lib:guava',
+ '//lib:onos-yang-model',
+ '//lib:onos-yang-compiler-api',
'//lib:onos-yang-runtime',
+ '//lib:org.apache.felix.scr.annotations',
+ '//apps/yang:onos-apps-yang',
+ # FIXME: This following dependencies MUST be removed for the long-run; they are a violation of the design principle.
+ '//core/api:onos-api',
+ '//apps/config:onos-apps-config',
]
def yang_model(