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    // See: http://go/android-license-faq
17    // A large-scale-change added 'default_applicable_licenses' to import
18    // all of the 'license_kinds' from "packages_modules_ExtServices_license"
19    // to get the below license kinds:
20    //   SPDX-license-identifier-Apache-2.0
21    default_applicable_licenses: ["packages_modules_ExtServices_license"],
22}
23
24apex {
25    name: "com.android.extservices",
26    defaults: ["com.android.extservices-defaults"],
27    manifest: "apex_manifest.json",
28}
29
30apex_defaults {
31    name: "com.android.extservices-defaults",
32    updatable: true,
33    min_sdk_version: "30",
34    key: "com.android.extservices.key",
35    certificate: ":com.android.extservices.certificate",
36    apps: ["ExtServices"],
37    // Indicates that pre-installed version of this apex can be compressed.
38    // Whether it actually will be compressed is controlled on per-device basis.
39    compressible: true,
40}
41
42apex_key {
43    name: "com.android.extservices.key",
44    public_key: "com.android.extservices.avbpubkey",
45    private_key: "com.android.extservices.pem",
46}
47
48android_app_certificate {
49    name: "com.android.extservices.certificate",
50    certificate: "com.android.extservices",
51}
52