1package {
2    default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
5android_library {
6    name: "RemoteFrameworkClasses",
7    sdk_version: "test_current",
8    srcs: [
9        "src/types/main/java/**/*.java"
10    ],
11    static_libs: [
12        "RemoteFrameworkClasses_Annotations",
13        "ConnectedAppsSDK_Annotations",
14        "ConnectedAppsSDK"
15    ],
16    manifest: "src/types/main/AndroidManifest.xml",
17    min_sdk_version: "27",
18    plugins: ["ConnectedAppsSDK_Processor", "RemoteFrameworkClasses_Processor"],
19}
20
21java_library {
22    name: "RemoteFrameworkClasses_Annotations",
23    srcs: [
24        "src/processor/main/java/com/android/bedstead/remoteframeworkclasses/processor/annotations/*.java"
25    ],
26    host_supported: true
27}
28
29java_plugin {
30    name: "RemoteFrameworkClasses_Processor",
31    processor_class: "com.android.bedstead.remoteframeworkclasses.processor.Processor",
32    static_libs: [
33        "guava",
34        "javapoet",
35        "auto_service_annotations",
36        "RemoteFrameworkClasses_Annotations",
37        "ConnectedAppsSDK_Annotations"
38    ],
39    srcs: [
40        "src/processor/main/java/com/android/bedstead/remoteframeworkclasses/processor/*.java"
41    ],
42    plugins: ["auto_service_plugin"],
43    generates_api: true,
44    java_resource_dirs: [
45        "src/processor/res"
46    ],
47}