Wei Wang | 6f0164e | 2021-06-01 17:00:02 -0700 | [diff] [blame] | 1 | // 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. |
| 14 | apex_key { |
| 15 | name: "com.android.nearby.key", |
| 16 | public_key: "com.android.nearby.avbpubkey", |
| 17 | private_key: "com.android.nearby.pem", |
| 18 | } |
| 19 | |
| 20 | android_app_certificate { |
| 21 | name: "com.android.nearby.certificate", |
| 22 | certificate: "com.android.nearby", |
| 23 | } |
| 24 | |
| 25 | apex { |
| 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 Wang | 6b7561d | 2021-06-03 17:33:14 -0700 | [diff] [blame^] | 29 | min_sdk_version: "current", |
| 30 | updatable: true, |
Wei Wang | 6f0164e | 2021-06-01 17:00:02 -0700 | [diff] [blame] | 31 | file_contexts: ":apex.test-file_contexts", // Default, please edit, see go/android-apex-howto |
| 32 | key: "com.android.nearby.key", |
Wei Wang | 6b7561d | 2021-06-03 17:33:14 -0700 | [diff] [blame^] | 33 | certificate: ":com.android.nearby.certificate", |
| 34 | |
| 35 | bootclasspath_fragments: ["com.android.nearby-bootclasspath-fragment"], |
| 36 | java_libs: [ |
| 37 | "service-nearby", |
| 38 | ], |
| 39 | } |
| 40 | |
| 41 | sdk { |
| 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. |
| 49 | bootclasspath_fragment { |
| 50 | name: "com.android.nearby-bootclasspath-fragment", |
| 51 | contents: ["framework-nearby"], |
| 52 | apex_available: ["com.android.nearby"], |
Wei Wang | 6f0164e | 2021-06-01 17:00:02 -0700 | [diff] [blame] | 53 | } |