1// Copyright (C) 2020 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
15package {
16    default_team: "trendy_team_android_rubidium",
17    // See: http://go/android-license-faq
18    // A large-scale-change added 'default_applicable_licenses' to import
19    // all of the 'license_kinds' from "packages_modules_ExtServices_license"
20    // to get the below license kinds:
21    //   SPDX-license-identifier-Apache-2.0
22    default_applicable_licenses: ["packages_modules_ExtServices_license"],
23}
24
25apex {
26    name: "com.android.extservices_tplus",
27    apex_available_name: "com.android.extservices",
28    defaults: ["com.android.extservices-defaults"],
29    apps: ["ExtServices-tplus"],
30    manifest: "tplus_apex_manifest.json",
31    variant_version: "3",
32    min_sdk_version: "33",
33}
34
35apex {
36    name: "com.android.extservices",
37    defaults: ["com.android.extservices-defaults"],
38    apps: ["ExtServices-sminus"],
39    java_libs: ["android.ext.adservices"],
40    jni_libs: ["libtflite_support_classifiers_native"],
41}
42
43apex_defaults {
44    name: "com.android.extservices-defaults",
45    defaults: ["r-launched-apex-module"],
46    manifest: "apex_manifest.json",
47    key: "com.android.extservices.key",
48    certificate: ":com.android.extservices.certificate",
49    prebuilts: ["current_sdkinfo"],
50    file_contexts: ":com.android.extservices-file_contexts",
51    // Indicates that pre-installed version of this apex can be compressed.
52    // Whether it actually will be compressed is controlled on per-device basis.
53    compressible: true,
54}
55
56apex_key {
57    name: "com.android.extservices.key",
58    public_key: "com.android.extservices.avbpubkey",
59    private_key: "com.android.extservices.pem",
60}
61
62android_app_certificate {
63    name: "com.android.extservices.certificate",
64    certificate: "com.android.extservices",
65}
66