blob: c077a77e25b0e40fdf1accdb492d0045f389c7e8 [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",
Dongwon Kangb188ad82018-11-09 16:05:43 -080045}
46
Chong Zhang0b83feb2018-12-20 17:44:13 -080047apex {
48 name: "com.android.media.swcodec",
Chong Zhang0b83feb2018-12-20 17:44:13 -080049 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 Kangb188ad82018-11-09 16:05:43 -080057apex_key {
Dongwon Kang1d3b2e72018-11-13 13:58:38 -080058 name: "com.android.media.key",
Jiyong Park7733ba62018-11-22 16:28:07 +090059 public_key: "com.android.media.avbpubkey",
60 private_key: "com.android.media.pem",
Dongwon Kangb188ad82018-11-09 16:05:43 -080061}
Chong Zhang0b83feb2018-12-20 17:44:13 -080062
63apex_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}