blob: 38d63b2d31b7ea879fea2eba4e4a07422a92bb37 [file] [log] [blame]
java_library(
name = 'aosp',
srcs = glob(['src/**/*.java']),
visibility = [
'PUBLIC',
],
)
TEST_SRC = ['tests/src/**/*Test.java'];
java_library(
name = 'testutils',
srcs = glob(['tests/src/**/*.java'], excludes = TEST_SRC),
deps = [
':aosp',
'//lib:junit',
],
)
java_test(
name = 'tests',
srcs = glob(TEST_SRC),
resources = glob(['tests/src/com/android/manifmerger/data/*']),
deps = [
':aosp',
':testutils',
'//lib:junit',
],
source_under_test = [
':aosp',
],
)