markchien | 0abdd11 | 2019-11-28 10:17:03 +0800 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2019 The Android Open Source Project |
| 3 | // |
| 4 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | // you may not use this file except in compliance with the License. |
| 6 | // You may obtain a copy of the License at |
| 7 | // |
| 8 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | // |
| 10 | // Unless required by applicable law or agreed to in writing, software |
| 11 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | // See the License for the specific language governing permissions and |
| 14 | // limitations under the License. |
| 15 | // |
| 16 | |
| 17 | apex { |
markchien | 8f831c0 | 2019-12-18 17:47:26 +0800 | [diff] [blame] | 18 | name: "com.android.tethering", |
Remi NGUYEN VAN | 2812f60 | 2021-01-08 01:19:44 +0000 | [diff] [blame] | 19 | // TODO: make updatable again once this contains only updatable artifacts (in particular, this |
| 20 | // cannot build as updatable unless service-connectivity builds against stable API). |
| 21 | // updatable: true, |
| 22 | // min_sdk_version: "30", |
| 23 | java_libs: [ |
| 24 | "framework-tethering", |
| 25 | "service-connectivity", |
| 26 | ], |
| 27 | jni_libs: [ |
| 28 | "libservice-connectivity", |
| 29 | ], |
Hungming Chen | 56c632c | 2020-09-10 15:42:58 +0800 | [diff] [blame] | 30 | bpfs: ["offload.o"], |
markchien | 0abdd11 | 2019-11-28 10:17:03 +0800 | [diff] [blame] | 31 | apps: ["Tethering"], |
| 32 | manifest: "manifest.json", |
markchien | 8f831c0 | 2019-12-18 17:47:26 +0800 | [diff] [blame] | 33 | key: "com.android.tethering.key", |
markchien | 0abdd11 | 2019-11-28 10:17:03 +0800 | [diff] [blame] | 34 | |
| 35 | androidManifest: "AndroidManifest.xml", |
| 36 | } |
| 37 | |
| 38 | apex_key { |
markchien | 8f831c0 | 2019-12-18 17:47:26 +0800 | [diff] [blame] | 39 | name: "com.android.tethering.key", |
| 40 | public_key: "com.android.tethering.avbpubkey", |
| 41 | private_key: "com.android.tethering.pem", |
markchien | 0abdd11 | 2019-11-28 10:17:03 +0800 | [diff] [blame] | 42 | } |
| 43 | |
| 44 | android_app_certificate { |
markchien | 8f831c0 | 2019-12-18 17:47:26 +0800 | [diff] [blame] | 45 | name: "com.android.tethering.certificate", |
| 46 | certificate: "com.android.tethering", |
markchien | 0abdd11 | 2019-11-28 10:17:03 +0800 | [diff] [blame] | 47 | } |
markchien | dbaff66 | 2020-05-05 17:42:44 +0800 | [diff] [blame] | 48 | |
| 49 | override_apex { |
| 50 | name: "com.android.tethering.inprocess", |
| 51 | base: "com.android.tethering", |
| 52 | package_name: "com.android.tethering.inprocess", |
| 53 | apps: [ |
| 54 | "InProcessTethering", |
| 55 | ], |
| 56 | } |