summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Anton Hansson <hansson@google.com> 2020-02-08 12:31:07 +0000
committer Anton Hansson <hansson@google.com> 2020-02-08 13:11:44 +0000
commit2ce92a9d8260053d80a5ffb16777ae59d3fa2144 (patch)
tree06dca37d79198fa53f62b325468f2fd80f822948
parentca03ef4de62697217fe540504392efb0e2c44329 (diff)
Build updatable media against the module SDK
Bug: 146757305 Test: m Change-Id: Id81e487ae28cc93cd5899cd5354ed9900567d415
-rw-r--r--apex/media/framework/Android.bp21
1 files changed, 1 insertions, 20 deletions
diff --git a/apex/media/framework/Android.bp b/apex/media/framework/Android.bp
index 23ae8afc1694..821dd9e46c19 100644
--- a/apex/media/framework/Android.bp
+++ b/apex/media/framework/Android.bp
@@ -19,21 +19,6 @@ java_library {
":updatable-media-srcs",
],
- aidl: {
- export_include_dirs: [
- "java",
- ],
-
- // It would be great if we don't need to add include_dirs for public
- // parcelable classes. Find a better way.
- include_dirs: [
- // To refer:
- // android.os.Bundle
- // android.os.ResultReceiver
- "frameworks/base/core/java",
- ],
- },
-
permitted_packages: [
"android.media",
],
@@ -46,13 +31,9 @@ java_library {
installable: true,
- // TODO: build against stable API surface. Use core_platform for now to avoid
- // link-check failure with exoplayer building against "current".
- sdk_version: "core_platform",
+ sdk_version: "module_current",
libs: [
- // The order matters. android_system_* library should come later.
"framework_media_annotation",
- "android_system_stubs_current",
],
static_libs: [