blob: 2cf902b7f50aa524b959a31b6d6e94d4861c420a [file] [log] [blame]
Sithara Punnassery8b155b22017-03-02 14:13:32 -08001COMPILE_DEPS = [
Vidyashree Rama3c503612017-05-10 13:55:34 +05302 '//lib:CORE_DEPS',
Ray Milkey446f4462017-08-17 15:36:01 -07003 '//lib:JACKSON',
Thomas Vachuska30311982017-05-26 11:11:38 -07004 '//core/api:onos-api',
5 '//core/common:onos-core-common',
6 '//cli:onos-cli',
7 '//lib:org.apache.karaf.shell.console',
8 '//lib:jackson-core',
Vidyashree Rama3c503612017-05-10 13:55:34 +05309 '//lib:onos-yang-model',
10 '//lib:onos-yang-compiler-api',
11 '//lib:onos-yang-runtime',
12 '//lib:onos-yang-serializers-json',
13 '//lib:onos-yang-serializers-xml',
14 '//lib:onos-yang-serializers-utils',
15 '//lib:org.apache.servicemix.bundles.dom4j',
Sithara Punnassery8b155b22017-03-02 14:13:32 -080016]
17
18BUNDLES = [
Vidyashree Rama3c503612017-05-10 13:55:34 +053019 '//lib:onos-yang-model',
20 '//lib:onos-yang-compiler-api',
21 '//lib:onos-yang-runtime',
22 '//lib:onos-yang-serializers-json',
23 '//lib:onos-yang-serializers-xml',
24 '//lib:onos-yang-serializers-utils',
25 '//apps/yang:onos-apps-yang',
26 '//apps/yang/web:onos-apps-yang-web',
Bharat saraswal5a2af5e2017-03-23 10:50:17 +053027]
28
29EXCLUDED_BUNDLES = [
Vidyashree Rama3c503612017-05-10 13:55:34 +053030 '//lib:org.apache.servicemix.bundles.dom4j',
GauravAgrawal-Huawei77409ac2017-03-14 08:51:04 +000031]
32
Vidyashree Rama3c503612017-05-10 13:55:34 +053033TEST_DEPS = [
34 '//lib:TEST_ADAPTERS',
35 '//utils/osgi:onlab-osgi-tests',
36]
37
38osgi_jar_with_tests(
39 deps = COMPILE_DEPS,
40 test_deps = TEST_DEPS,
Sithara Punnassery8b155b22017-03-02 14:13:32 -080041)
42
Vidyashree Rama3c503612017-05-10 13:55:34 +053043onos_app(
44 title = 'YANG Compiler and Runtime',
45 category = 'Utility',
46 url = 'http://onosproject.org',
47 description = 'Base application to bring in the YANG libraries and assemble them for other apps to use.',
48 included_bundles = BUNDLES,
49 excluded_bundles = EXCLUDED_BUNDLES,
Ray Milkey446f4462017-08-17 15:36:01 -070050)