blob: 3df7f08ee5378dc17c9172e50d8693ca24abe865 [file] [log] [blame]
Wei Wang6f0164e2021-06-01 17:00:02 -07001// Copyright (C) 2021 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.
14apex_key {
15 name: "com.android.nearby.key",
16 public_key: "com.android.nearby.avbpubkey",
17 private_key: "com.android.nearby.pem",
18}
19
20android_app_certificate {
21 name: "com.android.nearby.certificate",
22 certificate: "com.android.nearby",
23}
24
25apex {
26 name: "com.android.nearby",
27 manifest: "manifest.json",
28 // TODO(b/189890387): change the SDK version to T when T release is available.
Wei Wang6b7561d2021-06-03 17:33:14 -070029 min_sdk_version: "current",
30 updatable: true,
Wei Wang6f0164e2021-06-01 17:00:02 -070031 file_contexts: ":apex.test-file_contexts", // Default, please edit, see go/android-apex-howto
32 key: "com.android.nearby.key",
Wei Wang6b7561d2021-06-03 17:33:14 -070033 certificate: ":com.android.nearby.certificate",
34
35 bootclasspath_fragments: ["com.android.nearby-bootclasspath-fragment"],
36 java_libs: [
37 "service-nearby",
38 ],
39}
40
41sdk {
42 name: "nearby-module-sdk",
43 java_sdk_libs: [
44 "framework-nearby",
45 ],
46}
47
48// Encapsulate the contributions made by the com.android.nearby to the bootclasspath.
49bootclasspath_fragment {
50 name: "com.android.nearby-bootclasspath-fragment",
51 contents: ["framework-nearby"],
52 apex_available: ["com.android.nearby"],
Wei Wang6f0164e2021-06-01 17:00:02 -070053}