diff options
Diffstat (limited to 'Android.bp')
| -rw-r--r-- | Android.bp | 38 |
1 files changed, 6 insertions, 32 deletions
diff --git a/Android.bp b/Android.bp index d298af2ce0b9..26971be0d23e 100644 --- a/Android.bp +++ b/Android.bp @@ -515,6 +515,10 @@ java_library { defaults: ["framework-defaults"], srcs: [":framework-all-sources"], installable: false, + static_libs: [ + // Additional dependencies needed to build the ike API classes. + "ike-internals", + ], apex_available: ["//apex_available:platform"], visibility: [ // DO NOT ADD ANY MORE ENTRIES TO THIS LIST @@ -524,39 +528,9 @@ java_library { ], } -java_library { - name: "framework-annotation-proc", - defaults: ["framework-defaults"], - srcs: [":framework-all-sources"], - libs: [ - "app-compat-annotations", - "unsupportedappusage", - ], - installable: false, - plugins: [ - "compat-changeid-annotation-processor", - ], -} - platform_compat_config { - name: "framework-platform-compat-config", - src: ":framework-annotation-proc", -} - -// A library including just UnsupportedAppUsage.java classes. -// -// Provided for target so that libraries can use it without depending on -// the whole of framework or the core platform API. -// -// Built for host so that the annotation processor can also use this annotation. -java_library { - name: "unsupportedappusage-annotation", - host_supported: true, - srcs: [ - "core/java/android/annotation/IntDef.java", - ], - - sdk_version: "core_current", + name: "framework-platform-compat-config", + src: ":framework-minus-apex", } // A temporary build target that is conditionally included on the bootclasspath if |