blob: c316c9f59c704b4956764995b862dfeb2ceac610 [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
Dongwon Kang28052d52019-02-14 21:49:08 -080015apex_defaults {
16 name: "com.android.media-defaults",
Dongwon Kang7668c022019-01-15 20:06:35 -080017 java_libs: ["updatable-media"],
Dongwon Kangf707b402019-01-25 09:08:42 -080018 compile_multilib: "both",
19 multilib: {
20 first: {
21 // Extractor process runs only with the primary ABI.
22 native_shared_libs: [
23 // Extractor plugins
24 "libaacextractor",
25 "libamrextractor",
26 "libflacextractor",
27 "libmidiextractor",
28 "libmkvextractor",
29 "libmp3extractor",
30 "libmp4extractor",
31 "libmpeg2extractor",
32 "liboggextractor",
33 "libwavextractor",
34 ],
35 },
36 both: {
37 native_shared_libs: [
38 // MediaPlayer2
39 "libmedia2_jni",
40 ],
41 },
42 },
Dongwon Kang1d3b2e72018-11-13 13:58:38 -080043 key: "com.android.media.key",
Dongwon Kangb188ad82018-11-09 16:05:43 -080044}
45
Chong Zhang0b83feb2018-12-20 17:44:13 -080046apex {
Dongwon Kang28052d52019-02-14 21:49:08 -080047 name: "com.android.media",
48 manifest: "manifest.json",
49 defaults: ["com.android.media-defaults"],
50}
51
52apex_defaults {
53 name: "com.android.media.swcodec-defaults",
Chong Zhang0b83feb2018-12-20 17:44:13 -080054 native_shared_libs: [
55 "libmedia_codecserviceregistrant",
56 ],
57 use_vendor: true,
58 key: "com.android.media.swcodec.key",
59}
60
Dongwon Kang28052d52019-02-14 21:49:08 -080061apex {
62 name: "com.android.media.swcodec",
63 manifest: "manifest_codec.json",
64 defaults: ["com.android.media.swcodec-defaults"],
65}
66
Dongwon Kangb188ad82018-11-09 16:05:43 -080067apex_key {
Dongwon Kang1d3b2e72018-11-13 13:58:38 -080068 name: "com.android.media.key",
Jiyong Park7733ba62018-11-22 16:28:07 +090069 public_key: "com.android.media.avbpubkey",
70 private_key: "com.android.media.pem",
Dongwon Kangb188ad82018-11-09 16:05:43 -080071}
Chong Zhang0b83feb2018-12-20 17:44:13 -080072
73apex_key {
74 name: "com.android.media.swcodec.key",
75 public_key: "com.android.media.swcodec.avbpubkey",
76 private_key: "com.android.media.swcodec.pem",
77}