onos/apps/olt/BUCK
Ray Milkey f9a76971be More app BUCK file refactoring
Change-Id: I97506033c4c0cf145c558df7d4f86f37c7fe8332
2016-04-16 01:28:08 +00:00

36 lines
804 B
Python

COMPILE_DEPS = [
'//lib:CORE_DEPS',
'//lib:javax.ws.rs-api',
'//lib:jersey-client',
'//lib:org.apache.karaf.shell.console',
'//utils/rest:onlab-rest',
'//cli:onos-cli',
'//core/store/serializers:onos-core-serializers',
]
BUNDLES = [
':onos-apps-olt-api',
':onos-apps-olt',
]
osgi_jar_with_tests (
name = 'onos-apps-olt-api',
srcs = glob(['api/' + SRC + '*.java']),
deps = COMPILE_DEPS,
visibility = ['PUBLIC'],
)
osgi_jar_with_tests (
srcs = glob(['app/' + SRC + '*.java']),
deps = COMPILE_DEPS + [':onos-apps-olt-api'],
visibility = ['PUBLIC'],
)
onos_app (
title = 'ONOS OLT REST API',
category = 'Security',
url = 'http://onosproject.org',
description = 'OLT application for CORD.',
included_bundles = BUNDLES,
)