Dongwon Kang 8afd5319b0 Separate out mediaplayer2 code from framework
"media2.jar" is renamed to "updatable-media.jar" in order to
show its purpose clearly.

Test: build & boot & MediaPlayer2Test
Bug: 112766913
Change-Id: Ia2ea05e0ed1a8bb2cfea20c9e2585e3d3cbfffd9
2019-01-17 13:33:58 -08:00

56 lines
1.5 KiB
Plaintext

java_library {
name: "media1",
srcs: [
":media1-srcs",
],
sdk_version: "system_current",
}
filegroup {
name: "media1-srcs",
srcs: [
"java/android/media/session/MediaSessionProviderService.java",
],
}
java_library {
// TODO: include updatable-media.jar in the media apex and add it to the bootclasspath.
name: "updatable-media",
srcs: [
":media2-srcs",
":framework-media-annotation-srcs",
],
static_libs: [
"mediaplayer2-protos",
],
installable: true,
// Make sure that the implementaion only relies on SDK or system APIs.
sdk_version: "system_current",
}
filegroup {
name: "media2-srcs",
srcs: [
"apex/java/android/media/CloseGuard.java",
"apex/java/android/media/DataSourceCallback.java",
"apex/java/android/media/DataSourceDesc.java",
"apex/java/android/media/UriDataSourceDesc.java",
"apex/java/android/media/FileDataSourceDesc.java",
"apex/java/android/media/CallbackDataSourceDesc.java",
"apex/java/android/media/VideoSize.java",
"apex/java/android/media/Media2Utils.java",
"apex/java/android/media/MediaPlayer2Utils.java",
"apex/java/android/media/MediaPlayer2.java",
"apex/java/android/media/Media2HTTPService.java",
"apex/java/android/media/Media2HTTPConnection.java",
"apex/java/android/media/RoutingDelegate.java",
"apex/java/android/media/BufferingParams.java",
],
}