1package { 2 default_applicable_licenses: ["Android-Apache-2.0"], 3} 4 5android_library { 6 name: "Nene", 7 sdk_version: "test_current", 8 srcs: [ 9 "src/main/java/**/*.java" 10 ], 11 manifest: "src/main/AndroidManifest.xml", 12 static_libs: [ 13 "compatibility-device-util-axt", 14 "guava" 15 ], 16 min_sdk_version: "27" 17} 18 19android_test { 20 name: "NeneTest", 21 srcs: [ 22 "src/test/java/**/*.java" 23 ], 24 test_suites: [ 25 "general-tests", 26 ], 27 static_libs: [ 28 "TestApp", 29 "Nene", 30 "EventLib", 31 "Harrier", 32 "androidx.test.ext.junit", 33 "ctstestrunner-axt", 34 "compatibility-device-util-axt", 35 "truth-prebuilt", 36 "testng" // for assertThrows 37 ], 38 data: [":NeneTestApp1"], 39 manifest: "src/test/AndroidManifest.xml", 40 min_sdk_version: "28" 41} 42 43android_test_helper_app { 44 name: "NeneTestApp1", 45 static_libs: [ 46 "EventLib" 47 ], 48 manifest: "testapps/TestApp1.xml", 49 min_sdk_version: "27" 50} 51