Dongwon Kang | 43c88f3 | 2018-11-28 13:25:30 -0800 | [diff] [blame] | 1 | java_library { |
| 2 | // TODO: include media2.jar in the media apex and add it to the bootclasspath. |
| 3 | name: "media2", |
| 4 | |
| 5 | srcs: [ |
| 6 | ":media2-srcs", |
| 7 | ":framework-media-annotation-srcs", |
| 8 | ], |
| 9 | |
| 10 | static_libs: [ |
| 11 | "mediaplayer2-protos", |
| 12 | ], |
| 13 | |
| 14 | // Make sure that the implementaion only relies on SDK or system APIs. |
| 15 | sdk_version: "system_current", |
| 16 | } |
| 17 | |
| 18 | filegroup { |
| 19 | name: "media2-srcs", |
| 20 | srcs: [ |
| 21 | "java/android/media/CloseGuard.java", |
| 22 | "java/android/media/DataSourceCallback.java", |
| 23 | "java/android/media/DataSourceDesc.java", |
| 24 | "java/android/media/UriDataSourceDesc.java", |
| 25 | "java/android/media/FileDataSourceDesc.java", |
| 26 | "java/android/media/CallbackDataSourceDesc.java", |
| 27 | "java/android/media/VideoSize.java", |
| 28 | "java/android/media/Media2Utils.java", |
| 29 | "java/android/media/MediaPlayer2Utils.java", |
| 30 | "java/android/media/MediaPlayer2.java", |
| 31 | "java/android/media/Media2HTTPService.java", |
| 32 | "java/android/media/Media2HTTPConnection.java", |
| 33 | "java/android/media/RoutingDelegate.java", |
| 34 | "java/android/media/BufferingParams.java", |
| 35 | ], |
| 36 | } |