blob: 9a420160d3fd9476048a7f9ff4f3f408afa7c019 [file] [log] [blame]
Terry Wangf0889372019-11-20 16:48:48 -08001// Copyright (C) 2019 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
Bob Badour5ed3f992021-02-23 13:18:34 -080015package {
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 "frameworks_base_license"
19 // to get the below license kinds:
20 // SPDX-license-identifier-Apache-2.0
21 default_applicable_licenses: ["frameworks_base_license"],
22}
23
Terry Wangf0889372019-11-20 16:48:48 -080024apex {
25 name: "com.android.appsearch",
Terry Wangf0889372019-11-20 16:48:48 -080026 manifest: "apex_manifest.json",
satayev9ba377d2021-05-12 16:44:08 +010027 bootclasspath_fragments: ["com.android.appsearch-bootclasspath-fragment"],
satayev05830582021-05-18 14:43:38 +010028 systemserverclasspath_fragments: ["com.android.appsearch-systemserverclasspath-fragment"],
Terry Wangf0889372019-11-20 16:48:48 -080029 key: "com.android.appsearch.key",
30 certificate: ":com.android.appsearch.certificate",
Mathew Inwood66355f72021-02-23 14:00:23 +000031 updatable: false,
Terry Wangf0889372019-11-20 16:48:48 -080032}
33
34apex_key {
35 name: "com.android.appsearch.key",
36 public_key: "com.android.appsearch.avbpubkey",
37 private_key: "com.android.appsearch.pem",
38}
39
40android_app_certificate {
41 name: "com.android.appsearch.certificate",
42 // This will use com.android.appsearch.x509.pem (the cert) and
43 // com.android.appsearch.pk8 (the private key)
44 certificate: "com.android.appsearch",
45}
satayev9ba377d2021-05-12 16:44:08 +010046
47// Encapsulate the contributions made by the com.android.appsearch to the bootclasspath.
48bootclasspath_fragment {
49 name: "com.android.appsearch-bootclasspath-fragment",
50 contents: ["framework-appsearch"],
51 apex_available: ["com.android.appsearch"],
52}
satayev05830582021-05-18 14:43:38 +010053
54// Encapsulate the contributions made by the com.android.appsearch to the systemserverclasspath.
55systemserverclasspath_fragment {
56 name: "com.android.appsearch-systemserverclasspath-fragment",
57 contents: ["service-appsearch"],
58 apex_available: ["com.android.appsearch"],
59}