Create skeleton for nearby apex.
The package name needs to be com.android.xxx following guidance from
https://docs.google.com/document/d/1MJM9dgNI3UdRD_5AWviCEO0oHqfJBgXh1dNrqTsMglY/edit#bookmark=id.7d4w1q4lf3hk.
The keys here are test only, thus the private test key is submited (this
is consistent with other mainline modules). On production build system
will use product keys (requested in b/189885284).
Files are generated using system/apex/tools/create_apex_skeleton.sh
(with minor modification).
Bug: 189355156
Test: it compiles
Change-Id: I1db1820708fd38246c9897b1652afde2ddb05d40
diff --git a/nearby/apex/com.android.nearby/Android.bp b/nearby/apex/com.android.nearby/Android.bp
new file mode 100644
index 0000000..9aee502
--- /dev/null
+++ b/nearby/apex/com.android.nearby/Android.bp
@@ -0,0 +1,32 @@
+// Copyright (C) 2021 The Android Open Source Project
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+apex_key {
+ name: "com.android.nearby.key",
+ public_key: "com.android.nearby.avbpubkey",
+ private_key: "com.android.nearby.pem",
+}
+
+android_app_certificate {
+ name: "com.android.nearby.certificate",
+ certificate: "com.android.nearby",
+}
+
+apex {
+ name: "com.android.nearby",
+ manifest: "manifest.json",
+ // TODO(b/189890387): change the SDK version to T when T release is available.
+ min_sdk_version: "S",
+ file_contexts: ":apex.test-file_contexts", // Default, please edit, see go/android-apex-howto
+ key: "com.android.nearby.key",
+}