blob: f6b0da3c43158037ce5bdb2b14c867c160aca0cf [file] [log] [blame]
Heedo Kang611a0652017-09-05 12:26:30 +09001SRC = 'src/main/java/org/onosproject/security/**/'
2TEST = 'src/test/java/org/onosproject/security/**/'
3CURRENT_NAME = 'onos-security'
4CURRENT_TARGET = ':' + CURRENT_NAME
5
6
Ray Milkeyf80bbb22016-03-11 10:16:22 -08007COMPILE_DEPS = [
8 '//lib:CORE_DEPS',
Ray Milkey446f4462017-08-17 15:36:01 -07009 '//lib:KRYO',
Ray Milkeyf80bbb22016-03-11 10:16:22 -080010 '//core/store/serializers:onos-core-serializers',
Heedo Kang611a0652017-09-05 12:26:30 +090011 '//lib:org.apache.felix.framework.security',
12 '//core/api:onos-api',
Ray Milkeyf80bbb22016-03-11 10:16:22 -080013]
14
15TEST_DEPS = [
16 '//lib:TEST',
17]
18
Brian O'Connora6f85892016-11-11 13:18:47 -080019osgi_jar_with_tests (
20 name = 'onos-security',
Heedo Kang611a0652017-09-05 12:26:30 +090021 srcs = glob([SRC + '/*.java']),
Ray Milkeyf80bbb22016-03-11 10:16:22 -080022 deps = COMPILE_DEPS,
Brian O'Connora6f85892016-11-11 13:18:47 -080023 test_deps = TEST_DEPS,
Ray Milkeyf80bbb22016-03-11 10:16:22 -080024 visibility = ['PUBLIC'],
25)
Heedo Kang611a0652017-09-05 12:26:30 +090026
27java_test(
28 name = 'tests',
29 srcs = glob([TEST + '/*.java']),
30 deps = COMPILE_DEPS +
31 TEST_DEPS +
32 [CURRENT_TARGET],
33)