Merge "Build updatable media against the module SDK"

This commit is contained in:
Anton Hansson
2020-02-12 16:56:23 +00:00
committed by Android (Google) Code Review

View File

@@ -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: [