blob: 9455290e4e1e2de317e2399e354b1a0e28c9be60 [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",
Jiyong Park3ef4f712019-02-11 11:00:31 +090044 certificate: ":com.android.media.certificate",
Dongwon Kangb188ad82018-11-09 16:05:43 -080045}
46
Chong Zhang0b83feb2018-12-20 17:44:13 -080047apex {
Dongwon Kang28052d52019-02-14 21:49:08 -080048 name: "com.android.media",
49 manifest: "manifest.json",
50 defaults: ["com.android.media-defaults"],
51}
52
53apex_defaults {
54 name: "com.android.media.swcodec-defaults",
Chong Zhang0b83feb2018-12-20 17:44:13 -080055 native_shared_libs: [
56 "libmedia_codecserviceregistrant",
57 ],
58 use_vendor: true,
59 key: "com.android.media.swcodec.key",
Jiyong Park77057912019-02-11 12:30:20 +090060 certificate: ":com.android.media.swcodec.certificate",
Chong Zhang0b83feb2018-12-20 17:44:13 -080061}
62
Dongwon Kang28052d52019-02-14 21:49:08 -080063apex {
64 name: "com.android.media.swcodec",
65 manifest: "manifest_codec.json",
66 defaults: ["com.android.media.swcodec-defaults"],
67}
68
Dongwon Kangb188ad82018-11-09 16:05:43 -080069apex_key {
Dongwon Kang1d3b2e72018-11-13 13:58:38 -080070 name: "com.android.media.key",
Jiyong Park7733ba62018-11-22 16:28:07 +090071 public_key: "com.android.media.avbpubkey",
72 private_key: "com.android.media.pem",
Dongwon Kangb188ad82018-11-09 16:05:43 -080073}
Chong Zhang0b83feb2018-12-20 17:44:13 -080074
75apex_key {
76 name: "com.android.media.swcodec.key",
77 public_key: "com.android.media.swcodec.avbpubkey",
78 private_key: "com.android.media.swcodec.pem",
79}
Jiyong Park3ef4f712019-02-11 11:00:31 +090080
81android_app_certificate {
82 name: "com.android.media.certificate",
83 certificate: "com.android.media",
84}
Jiyong Park77057912019-02-11 12:30:20 +090085
86android_app_certificate {
87 name: "com.android.media.swcodec.certificate",
88 certificate: "com.android.media.swcodec",
89}