Fixing yang_model macro to narrow down the dependency list.

Change-Id: I6ae11cec370bfca4a1e4fe0598f84c7e354ea5b8
This commit is contained in:
Thomas Vachuska 2017-03-28 18:23:00 -07:00
parent 450835228b
commit 315ff1c991
2 changed files with 9 additions and 3 deletions

View File

@ -7,9 +7,15 @@ def _get_name():
return ONOS_ARTIFACT_BASE + base_path.replace('/', '-') #TODO Unix-separator return ONOS_ARTIFACT_BASE + base_path.replace('/', '-') #TODO Unix-separator
YANG_TOOLS = [ YANG_TOOLS = [
'//lib:CORE_DEPS', '//lib:guava',
'//apps/yang:onos-apps-yang', '//lib:onos-yang-model',
'//lib:onos-yang-compiler-api',
'//lib:onos-yang-runtime', '//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( def yang_model(

View File

@ -3,7 +3,7 @@
# Patches lib/BUCK file to use locally built YANG tools. # Patches lib/BUCK file to use locally built YANG tools.
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
BVER=1.12.0-b6 BVER=1.12.0-b7
SVER=1.12-SNAPSHOT SVER=1.12-SNAPSHOT
YANG_TOOLS_ROOT=~/onos-yang-tools YANG_TOOLS_ROOT=~/onos-yang-tools