blob: 6e0a90807598e72f58c8729f5a345406a9a45b91 [file] [log] [blame]
Dongwon Kangb188ad82018-11-09 16:05:43 -08001// 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
15apex {
Dongwon Kang1d3b2e72018-11-13 13:58:38 -080016 name: "com.android.media",
Dongwon Kangb188ad82018-11-09 16:05:43 -080017 manifest: "manifest.json",
Dongwon Kang7668c022019-01-15 20:06:35 -080018 java_libs: ["updatable-media"],
Dongwon Kangf707b402019-01-25 09:08:42 -080019 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 Kang1d3b2e72018-11-13 13:58:38 -080044 key: "com.android.media.key",
Jiyong Park3ef4f712019-02-11 11:00:31 +090045 certificate: ":com.android.media.certificate",
Dongwon Kangb188ad82018-11-09 16:05:43 -080046}
47
Chong Zhang0b83feb2018-12-20 17:44:13 -080048apex {
49 name: "com.android.media.swcodec",
Chong Zhang0b83feb2018-12-20 17:44:13 -080050 manifest: "manifest_codec.json",
51 native_shared_libs: [
52 "libmedia_codecserviceregistrant",
53 ],
54 use_vendor: true,
55 key: "com.android.media.swcodec.key",
56}
57
Dongwon Kangb188ad82018-11-09 16:05:43 -080058apex_key {
Dongwon Kang1d3b2e72018-11-13 13:58:38 -080059 name: "com.android.media.key",
Jiyong Park7733ba62018-11-22 16:28:07 +090060 public_key: "com.android.media.avbpubkey",
61 private_key: "com.android.media.pem",
Dongwon Kangb188ad82018-11-09 16:05:43 -080062}
Chong Zhang0b83feb2018-12-20 17:44:13 -080063
64apex_key {
65 name: "com.android.media.swcodec.key",
66 public_key: "com.android.media.swcodec.avbpubkey",
67 private_key: "com.android.media.swcodec.pem",
68}
Jiyong Park3ef4f712019-02-11 11:00:31 +090069
70android_app_certificate {
71 name: "com.android.media.certificate",
72 certificate: "com.android.media",
73}