blob: 06a5eb70247aaa98144db5f61db6c9aba0a1a270 [file] [log] [blame]
Sithara Punnassery8b155b22017-03-02 14:13:32 -08001COMPILE_DEPS = [
Vidyashree Rama3c503612017-05-10 13:55:34 +05302 '//lib:CORE_DEPS',
Thomas Vachuskae2385bb2017-05-26 11:11:38 -07003 '//core/api:onos-api',
4 '//core/common:onos-core-common',
5 '//cli:onos-cli',
6 '//lib:org.apache.karaf.shell.console',
7 '//lib:jackson-core',
Vidyashree Rama3c503612017-05-10 13:55:34 +05308 '//lib:onos-yang-model',
9 '//lib:onos-yang-compiler-api',
10 '//lib:onos-yang-runtime',
11 '//lib:onos-yang-serializers-json',
12 '//lib:onos-yang-serializers-xml',
13 '//lib:onos-yang-serializers-utils',
14 '//lib:org.apache.servicemix.bundles.dom4j',
Sithara Punnassery8b155b22017-03-02 14:13:32 -080015]
16
17BUNDLES = [
Vidyashree Rama3c503612017-05-10 13:55:34 +053018 '//lib:onos-yang-model',
19 '//lib:onos-yang-compiler-api',
20 '//lib:onos-yang-runtime',
21 '//lib:onos-yang-serializers-json',
22 '//lib:onos-yang-serializers-xml',
23 '//lib:onos-yang-serializers-utils',
24 '//apps/yang:onos-apps-yang',
25 '//apps/yang/web:onos-apps-yang-web',
Bharat saraswal5a2af5e2017-03-23 10:50:17 +053026]
27
28EXCLUDED_BUNDLES = [
Vidyashree Rama3c503612017-05-10 13:55:34 +053029 '//lib:org.apache.servicemix.bundles.dom4j',
GauravAgrawal-Huawei77409ac2017-03-14 08:51:04 +000030]
31
Vidyashree Rama3c503612017-05-10 13:55:34 +053032TEST_DEPS = [
33 '//lib:TEST_ADAPTERS',
34 '//utils/osgi:onlab-osgi-tests',
35]
36
37osgi_jar_with_tests(
38 deps = COMPILE_DEPS,
39 test_deps = TEST_DEPS,
Sithara Punnassery8b155b22017-03-02 14:13:32 -080040)
41
Vidyashree Rama3c503612017-05-10 13:55:34 +053042onos_app(
43 title = 'YANG Compiler and Runtime',
44 category = 'Utility',
45 url = 'http://onosproject.org',
46 description = 'Base application to bring in the YANG libraries and assemble them for other apps to use.',
47 included_bundles = BUNDLES,
48 excluded_bundles = EXCLUDED_BUNDLES,
Sithara Punnassery5deaab52017-03-06 14:23:07 -080049)