1package { 2 default_applicable_licenses: ["Android-Apache-2.0"], 3} 4 5android_library { 6 name: "RemoteFrameworkClasses", 7 sdk_version: "system_current", 8 srcs: [ 9 "src/types/main/java/**/*.java", 10 "src/types/main/java/**/*.kt", 11 ], 12 static_libs: [ 13 "RemoteFrameworkClasses_Annotations", 14 "ConnectedAppsSDK_Annotations", 15 "ConnectedAppsSDK", 16 "TestApisReflection", 17 ], 18 manifest: "src/types/main/AndroidManifest.xml", 19 min_sdk_version: "29", 20 plugins: [ 21 "TestApisReflection_Processor", 22 "ConnectedAppsSDK_Processor", 23 "RemoteFrameworkClasses_Processor", 24 ], 25} 26 27java_library { 28 name: "RemoteFrameworkClasses_Annotations", 29 sdk_version: "current", 30 srcs: [ 31 "src/processor/main/java/com/android/bedstead/remoteframeworkclasses/processor/annotations/*.java", 32 "src/processor/main/java/com/android/bedstead/remoteframeworkclasses/processor/annotations/*.kt", 33 ], 34 host_supported: true, 35} 36 37java_library_host { 38 name: "RemoteFrameworkClasses_Processor_Src", 39 srcs: [ 40 "src/processor/main/java/com/android/bedstead/remoteframeworkclasses/processor/*.java", 41 "src/processor/main/java/com/android/bedstead/remoteframeworkclasses/processor/*.kt", 42 ], 43 static_libs: [ 44 "guava", 45 "javapoet", 46 "auto_service_annotations", 47 "RemoteFrameworkClasses_Annotations", 48 "ConnectedAppsSDK_Annotations", 49 "TestApisReflection_Annotations", 50 ], 51 java_resource_dirs: [ 52 "java/", 53 ], 54 plugins: ["auto_service_plugin"], 55} 56 57java_plugin { 58 name: "RemoteFrameworkClasses_Processor", 59 processor_class: "com.android.bedstead.remoteframeworkclasses.processor.Processor", 60 static_libs: [ 61 "RemoteFrameworkClasses_Processor_Src", 62 ], 63 generates_api: true, 64} 65