| Dongwon Kang | b188ad8 | 2018-11-09 16:05:43 -0800 | [diff] [blame] | 1 | // Copyright (C) 2018 The Android Open Source Project | 
 | 2 | // | 
 | 3 | // Licensed under the Apache License, Version 2.0 (the "License"); | 
 | 4 | // you may not use this file except in compliance with the License. | 
 | 5 | // You may obtain a copy of the License at | 
 | 6 | // | 
 | 7 | //     http://www.apache.org/licenses/LICENSE-2.0 | 
 | 8 | // | 
 | 9 | // Unless required by applicable law or agreed to in writing, software | 
 | 10 | // distributed under the License is distributed on an "AS IS" BASIS, | 
 | 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 
 | 12 | // See the License for the specific language governing permissions and | 
 | 13 | // limitations under the License. | 
 | 14 |  | 
 | 15 | apex { | 
| Dongwon Kang | 1d3b2e7 | 2018-11-13 13:58:38 -0800 | [diff] [blame] | 16 |     name: "com.android.media", | 
| Dongwon Kang | b188ad8 | 2018-11-09 16:05:43 -0800 | [diff] [blame] | 17 |     manifest: "manifest.json", | 
| Dongwon Kang | 7668c02 | 2019-01-15 20:06:35 -0800 | [diff] [blame] | 18 |     java_libs: ["updatable-media"], | 
| Dongwon Kang | f707b40 | 2019-01-25 09:08:42 -0800 | [diff] [blame] | 19 |     compile_multilib: "both", | 
 | 20 |     multilib: { | 
 | 21 |         first: { | 
 | 22 |             // Extractor process runs only with the primary ABI. | 
 | 23 |             native_shared_libs: [ | 
 | 24 |                 // Extractor plugins | 
 | 25 |                 "libaacextractor", | 
 | 26 |                 "libamrextractor", | 
 | 27 |                 "libflacextractor", | 
 | 28 |                 "libmidiextractor", | 
 | 29 |                 "libmkvextractor", | 
 | 30 |                 "libmp3extractor", | 
 | 31 |                 "libmp4extractor", | 
 | 32 |                 "libmpeg2extractor", | 
 | 33 |                 "liboggextractor", | 
 | 34 |                 "libwavextractor", | 
 | 35 |             ], | 
 | 36 |         }, | 
 | 37 |         both: { | 
 | 38 |             native_shared_libs: [ | 
 | 39 |                 // MediaPlayer2 | 
 | 40 |                 "libmedia2_jni", | 
 | 41 |             ], | 
 | 42 |         }, | 
 | 43 |     }, | 
| Dongwon Kang | 1d3b2e7 | 2018-11-13 13:58:38 -0800 | [diff] [blame] | 44 |     key: "com.android.media.key", | 
| Dongwon Kang | b188ad8 | 2018-11-09 16:05:43 -0800 | [diff] [blame] | 45 | } | 
 | 46 |  | 
| Chong Zhang | 0b83feb | 2018-12-20 17:44:13 -0800 | [diff] [blame] | 47 | apex { | 
 | 48 |     name: "com.android.media.swcodec", | 
| Chong Zhang | 0b83feb | 2018-12-20 17:44:13 -0800 | [diff] [blame] | 49 |     manifest: "manifest_codec.json", | 
 | 50 |     native_shared_libs: [ | 
 | 51 |         "libmedia_codecserviceregistrant", | 
 | 52 |     ], | 
 | 53 |     use_vendor: true, | 
 | 54 |     key: "com.android.media.swcodec.key", | 
 | 55 | } | 
 | 56 |  | 
| Dongwon Kang | b188ad8 | 2018-11-09 16:05:43 -0800 | [diff] [blame] | 57 | apex_key { | 
| Dongwon Kang | 1d3b2e7 | 2018-11-13 13:58:38 -0800 | [diff] [blame] | 58 |     name: "com.android.media.key", | 
| Jiyong Park | 7733ba6 | 2018-11-22 16:28:07 +0900 | [diff] [blame] | 59 |     public_key: "com.android.media.avbpubkey", | 
 | 60 |     private_key: "com.android.media.pem", | 
| Dongwon Kang | b188ad8 | 2018-11-09 16:05:43 -0800 | [diff] [blame] | 61 | } | 
| Chong Zhang | 0b83feb | 2018-12-20 17:44:13 -0800 | [diff] [blame] | 62 |  | 
 | 63 | apex_key { | 
 | 64 |     name: "com.android.media.swcodec.key", | 
 | 65 |     public_key: "com.android.media.swcodec.avbpubkey", | 
 | 66 |     private_key: "com.android.media.swcodec.pem", | 
 | 67 | } |