Dongwon Kang | 43c88f3 | 2018-11-28 13:25:30 -0800 | [diff] [blame] | 1 | java_library { |
Sungsoo Lim | bb3b401 | 2019-01-23 13:17:53 +0900 | [diff] [blame] | 2 | name: "updatable-media", |
Insun Kang | b3517bf | 2019-01-16 17:21:05 +0900 | [diff] [blame] | 3 | |
| 4 | srcs: [ |
| 5 | ":media1-srcs", |
Sungsoo Lim | bb3b401 | 2019-01-23 13:17:53 +0900 | [diff] [blame] | 6 | ":mediasession2-srcs", |
| 7 | ":mediaplayer2-srcs", |
| 8 | ":framework-media-annotation-srcs", |
Insun Kang | b3517bf | 2019-01-16 17:21:05 +0900 | [diff] [blame] | 9 | ], |
| 10 | |
Sungsoo Lim | bb3b401 | 2019-01-23 13:17:53 +0900 | [diff] [blame] | 11 | static_libs: [ |
| 12 | "mediaplayer2-protos", |
| 13 | ], |
| 14 | |
| 15 | aidl: { |
| 16 | export_include_dirs: [ |
| 17 | "apex/java", |
| 18 | ], |
| 19 | |
| 20 | include_dirs: [ |
| 21 | "frameworks/base/core/java", |
| 22 | "frameworks/base/media/java", |
| 23 | ], |
| 24 | }, |
| 25 | |
| 26 | installable: true, |
| 27 | |
| 28 | // Make sure that the implementaion only relies on SDK or system APIs. |
Insun Kang | b3517bf | 2019-01-16 17:21:05 +0900 | [diff] [blame] | 29 | sdk_version: "system_current", |
| 30 | } |
| 31 | |
| 32 | filegroup { |
| 33 | name: "media1-srcs", |
| 34 | srcs: [ |
Sungsoo Lim | bb3b401 | 2019-01-23 13:17:53 +0900 | [diff] [blame] | 35 | "apex/java/android/media/MediaMetadata.java", |
| 36 | "apex/java/android/media/MediaParceledListSlice.java", |
| 37 | "apex/java/android/media/VolumeProvider.java", |
Sungsoo Lim | 4e47543 | 2019-01-24 03:14:12 +0900 | [diff] [blame^] | 38 | "apex/java/android/media/browse/MediaBrowser.java", |
| 39 | "apex/java/android/media/browse/MediaBrowserUtils.java", |
Sungsoo Lim | bb3b401 | 2019-01-23 13:17:53 +0900 | [diff] [blame] | 40 | "apex/java/android/media/session/ControllerCallbackLink.java", |
| 41 | "apex/java/android/media/session/ControllerLink.java", |
| 42 | "apex/java/android/media/session/ISession.aidl", |
| 43 | "apex/java/android/media/session/ISessionCallback.aidl", |
| 44 | "apex/java/android/media/session/ISessionController.aidl", |
| 45 | "apex/java/android/media/session/ISessionControllerCallback.aidl", |
| 46 | "apex/java/android/media/session/MediaController.java", |
| 47 | "apex/java/android/media/session/MediaSessionEngine.java", |
| 48 | "apex/java/android/media/session/MediaSessionProviderService.java", |
| 49 | "apex/java/android/media/session/PlaybackState.java", |
| 50 | "apex/java/android/media/session/SessionCallbackLink.java", |
| 51 | "apex/java/android/media/session/SessionLink.java", |
Sungsoo Lim | 4e47543 | 2019-01-24 03:14:12 +0900 | [diff] [blame^] | 52 | "apex/java/android/service/media/IMediaBrowserService.aidl", |
| 53 | "apex/java/android/service/media/IMediaBrowserServiceCallbacks.aidl", |
| 54 | "apex/java/android/service/media/MediaBrowserService.java", |
Sungsoo Lim | bb3b401 | 2019-01-23 13:17:53 +0900 | [diff] [blame] | 55 | ], |
| 56 | } |
| 57 | |
| 58 | filegroup { |
| 59 | name: "media1-stubs-srcs", |
| 60 | srcs: [ |
| 61 | ":media1-srcs", |
| 62 | ], |
| 63 | exclude_srcs: [ |
| 64 | "apex/java/android/media/session/ISession.aidl", |
| 65 | "apex/java/android/media/session/ISessionCallback.aidl", |
| 66 | "apex/java/android/media/session/ISessionController.aidl", |
| 67 | "apex/java/android/media/session/ISessionControllerCallback.aidl", |
Sungsoo Lim | 4e47543 | 2019-01-24 03:14:12 +0900 | [diff] [blame^] | 68 | "apex/java/android/service/media/IMediaBrowserService.aidl", |
| 69 | "apex/java/android/service/media/IMediaBrowserServiceCallbacks.aidl", |
Insun Kang | b3517bf | 2019-01-16 17:21:05 +0900 | [diff] [blame] | 70 | ], |
| 71 | } |
| 72 | |
Insun Kang | f86a56c | 2019-01-22 17:16:07 +0900 | [diff] [blame] | 73 | filegroup { |
| 74 | name: "mediasession2-srcs", |
| 75 | srcs: [ |
| 76 | "apex/java/android/media/Controller2Link.java", |
| 77 | "apex/java/android/media/IMediaController2.aidl", |
| 78 | "apex/java/android/media/IMediaSession2.aidl", |
| 79 | "apex/java/android/media/IMediaSession2Service.aidl", |
| 80 | "apex/java/android/media/MediaConstants.java", |
| 81 | "apex/java/android/media/MediaController2.java", |
| 82 | "apex/java/android/media/MediaItem2.java", |
| 83 | "apex/java/android/media/MediaSession2.java", |
| 84 | "apex/java/android/media/MediaSession2Service.java", |
| 85 | "apex/java/android/media/Session2Command.java", |
| 86 | "apex/java/android/media/Session2CommandGroup.java", |
| 87 | "apex/java/android/media/Session2Link.java", |
| 88 | "apex/java/android/media/Session2Token.java", |
| 89 | ], |
| 90 | } |
| 91 | |
| 92 | filegroup { |
| 93 | name: "mediasession2-stubs-srcs", |
| 94 | srcs: [ |
| 95 | ":mediasession2-srcs", |
| 96 | ], |
| 97 | exclude_srcs: [ |
| 98 | "apex/java/android/media/IMediaController2.aidl", |
| 99 | "apex/java/android/media/IMediaSession2.aidl", |
| 100 | "apex/java/android/media/IMediaSession2Service.aidl", |
| 101 | ], |
| 102 | } |
| 103 | |
Dongwon Kang | 43c88f3 | 2018-11-28 13:25:30 -0800 | [diff] [blame] | 104 | filegroup { |
Insun Kang | f86a56c | 2019-01-22 17:16:07 +0900 | [diff] [blame] | 105 | name: "mediaplayer2-srcs", |
Dongwon Kang | 43c88f3 | 2018-11-28 13:25:30 -0800 | [diff] [blame] | 106 | srcs: [ |
Dongwon Kang | 8afd531 | 2019-01-15 20:04:51 -0800 | [diff] [blame] | 107 | "apex/java/android/media/CloseGuard.java", |
| 108 | "apex/java/android/media/DataSourceCallback.java", |
| 109 | "apex/java/android/media/DataSourceDesc.java", |
| 110 | "apex/java/android/media/UriDataSourceDesc.java", |
| 111 | "apex/java/android/media/FileDataSourceDesc.java", |
| 112 | "apex/java/android/media/CallbackDataSourceDesc.java", |
| 113 | "apex/java/android/media/VideoSize.java", |
| 114 | "apex/java/android/media/Media2Utils.java", |
| 115 | "apex/java/android/media/MediaPlayer2Utils.java", |
| 116 | "apex/java/android/media/MediaPlayer2.java", |
| 117 | "apex/java/android/media/Media2HTTPService.java", |
| 118 | "apex/java/android/media/Media2HTTPConnection.java", |
| 119 | "apex/java/android/media/RoutingDelegate.java", |
| 120 | "apex/java/android/media/BufferingParams.java", |
Dongwon Kang | 43c88f3 | 2018-11-28 13:25:30 -0800 | [diff] [blame] | 121 | ], |
| 122 | } |