blob: 6bc5f06bc3ade21b7a95ba31fb34d9de814c2b48 [file] [log] [blame]
Sithara Punnassery8b155b22017-03-02 14:13:32 -08001COMPILE_DEPS = [
Vidyashree Rama3c503612017-05-10 13:55:34 +05302 '//lib:CORE_DEPS',
3 '//lib:onos-yang-model',
4 '//lib:onos-yang-compiler-api',
5 '//lib:onos-yang-runtime',
6 '//lib:onos-yang-serializers-json',
7 '//lib:onos-yang-serializers-xml',
8 '//lib:onos-yang-serializers-utils',
9 '//lib:org.apache.servicemix.bundles.dom4j',
Sithara Punnassery8b155b22017-03-02 14:13:32 -080010]
11
12BUNDLES = [
Vidyashree Rama3c503612017-05-10 13:55:34 +053013 '//lib:onos-yang-model',
14 '//lib:onos-yang-compiler-api',
15 '//lib:onos-yang-runtime',
16 '//lib:onos-yang-serializers-json',
17 '//lib:onos-yang-serializers-xml',
18 '//lib:onos-yang-serializers-utils',
19 '//apps/yang:onos-apps-yang',
20 '//apps/yang/web:onos-apps-yang-web',
Bharat saraswal5a2af5e2017-03-23 10:50:17 +053021]
22
23EXCLUDED_BUNDLES = [
Vidyashree Rama3c503612017-05-10 13:55:34 +053024 '//lib:org.apache.servicemix.bundles.dom4j',
GauravAgrawal-Huawei77409ac2017-03-14 08:51:04 +000025]
26
Vidyashree Rama3c503612017-05-10 13:55:34 +053027TEST_DEPS = [
28 '//lib:TEST_ADAPTERS',
29 '//utils/osgi:onlab-osgi-tests',
30]
31
32osgi_jar_with_tests(
33 deps = COMPILE_DEPS,
34 test_deps = TEST_DEPS,
Sithara Punnassery8b155b22017-03-02 14:13:32 -080035)
36
Vidyashree Rama3c503612017-05-10 13:55:34 +053037onos_app(
38 title = 'YANG Compiler and Runtime',
39 category = 'Utility',
40 url = 'http://onosproject.org',
41 description = 'Base application to bring in the YANG libraries and assemble them for other apps to use.',
42 included_bundles = BUNDLES,
43 excluded_bundles = EXCLUDED_BUNDLES,
Sithara Punnassery5deaab52017-03-06 14:23:07 -080044)