Heedo Kang | 611a065 | 2017-09-05 12:26:30 +0900 | [diff] [blame] | 1 | SRC = 'src/main/java/org/onosproject/security/**/' |
| 2 | TEST = 'src/test/java/org/onosproject/security/**/' |
| 3 | CURRENT_NAME = 'onos-security' |
| 4 | CURRENT_TARGET = ':' + CURRENT_NAME |
| 5 | |
| 6 | |
Ray Milkey | f80bbb2 | 2016-03-11 10:16:22 -0800 | [diff] [blame] | 7 | COMPILE_DEPS = [ |
| 8 | '//lib:CORE_DEPS', |
Ray Milkey | 446f446 | 2017-08-17 15:36:01 -0700 | [diff] [blame] | 9 | '//lib:KRYO', |
Ray Milkey | f80bbb2 | 2016-03-11 10:16:22 -0800 | [diff] [blame] | 10 | '//core/store/serializers:onos-core-serializers', |
Heedo Kang | 611a065 | 2017-09-05 12:26:30 +0900 | [diff] [blame] | 11 | '//lib:org.apache.felix.framework.security', |
| 12 | '//core/api:onos-api', |
Ray Milkey | f80bbb2 | 2016-03-11 10:16:22 -0800 | [diff] [blame] | 13 | ] |
| 14 | |
| 15 | TEST_DEPS = [ |
| 16 | '//lib:TEST', |
| 17 | ] |
| 18 | |
Brian O'Connor | a6f8589 | 2016-11-11 13:18:47 -0800 | [diff] [blame] | 19 | osgi_jar_with_tests ( |
| 20 | name = 'onos-security', |
Heedo Kang | 611a065 | 2017-09-05 12:26:30 +0900 | [diff] [blame] | 21 | srcs = glob([SRC + '/*.java']), |
Ray Milkey | f80bbb2 | 2016-03-11 10:16:22 -0800 | [diff] [blame] | 22 | deps = COMPILE_DEPS, |
Brian O'Connor | a6f8589 | 2016-11-11 13:18:47 -0800 | [diff] [blame] | 23 | test_deps = TEST_DEPS, |
Ray Milkey | f80bbb2 | 2016-03-11 10:16:22 -0800 | [diff] [blame] | 24 | visibility = ['PUBLIC'], |
| 25 | ) |
Heedo Kang | 611a065 | 2017-09-05 12:26:30 +0900 | [diff] [blame] | 26 | |
| 27 | java_test( |
| 28 | name = 'tests', |
| 29 | srcs = glob([TEST + '/*.java']), |
| 30 | deps = COMPILE_DEPS + |
| 31 | TEST_DEPS + |
| 32 | [CURRENT_TARGET], |
| 33 | ) |