1package { 2 default_team: "trendy_team_enterprise", 3 default_applicable_licenses: ["Android-Apache-2.0"], 4} 5 6android_library { 7 name: "EventLib", 8 sdk_version: "system_current", 9 srcs: [ 10 "src/main/java/**/*.java", 11 "src/main/java/**/*.kt", 12 "src/main/aidl/**/I*.aidl", 13 ], 14 aidl: { 15 local_include_dirs: ["src/main/aidl/"], 16 }, 17 static_libs: [ 18 "NeneInternal", 19 "Queryable", 20 ], 21 manifest: "src/main/AndroidManifest.xml", 22 min_sdk_version: "29", 23} 24 25android_test { 26 name: "EventLibTest", 27 srcs: [ 28 "src/test/java/**/*.java", 29 "src/test/java/**/*.kt", 30 ], 31 test_suites: [ 32 "general-tests", 33 ], 34 static_libs: [ 35 "EventLib", 36 "Harrier", 37 "ActivityContext", 38 "androidx.test.ext.junit", 39 "ctstestrunner-axt", 40 "truth", 41 "testng", // for assertThrows 42 "compatibility-device-util-axt", // used for SystemUtil.runShellCommandOrThrow 43 ], 44 resource_dirs: ["src/test/res"], 45 data: [":EventLibTestApp"], 46 manifest: "src/test/AndroidManifest.xml", 47 min_sdk_version: "29", 48} 49