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 | |
Bob Badour | 97e6be2 | 2021-02-12 14:45:04 -0800 | [diff] [blame] | 17 | package { |
| 18 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 19 | } |
| 20 | |
markchien | 0abdd11 | 2019-11-28 10:17:03 +0800 | [diff] [blame] | 21 | apex { |
markchien | 8f831c0 | 2019-12-18 17:47:26 +0800 | [diff] [blame] | 22 | name: "com.android.tethering", |
Lorenzo Colitti | 50caf56 | 2021-02-25 16:49:46 +0900 | [diff] [blame] | 23 | updatable: true, |
| 24 | min_sdk_version: "30", |
| 25 | java_libs: ["framework-tethering"], |
Maciej Żenczykowski | e9810ff | 2021-01-14 20:02:08 -0800 | [diff] [blame] | 26 | bpfs: [ |
| 27 | "offload.o", |
| 28 | "test.o", |
| 29 | ], |
markchien | 0abdd11 | 2019-11-28 10:17:03 +0800 | [diff] [blame] | 30 | apps: ["Tethering"], |
| 31 | manifest: "manifest.json", |
markchien | 8f831c0 | 2019-12-18 17:47:26 +0800 | [diff] [blame] | 32 | key: "com.android.tethering.key", |
markchien | 0abdd11 | 2019-11-28 10:17:03 +0800 | [diff] [blame] | 33 | |
| 34 | androidManifest: "AndroidManifest.xml", |
| 35 | } |
| 36 | |
| 37 | apex_key { |
markchien | 8f831c0 | 2019-12-18 17:47:26 +0800 | [diff] [blame] | 38 | name: "com.android.tethering.key", |
| 39 | public_key: "com.android.tethering.avbpubkey", |
| 40 | private_key: "com.android.tethering.pem", |
markchien | 0abdd11 | 2019-11-28 10:17:03 +0800 | [diff] [blame] | 41 | } |
| 42 | |
| 43 | android_app_certificate { |
markchien | 8f831c0 | 2019-12-18 17:47:26 +0800 | [diff] [blame] | 44 | name: "com.android.tethering.certificate", |
| 45 | certificate: "com.android.tethering", |
markchien | 0abdd11 | 2019-11-28 10:17:03 +0800 | [diff] [blame] | 46 | } |
markchien | dbaff66 | 2020-05-05 17:42:44 +0800 | [diff] [blame] | 47 | |
| 48 | override_apex { |
| 49 | name: "com.android.tethering.inprocess", |
| 50 | base: "com.android.tethering", |
| 51 | package_name: "com.android.tethering.inprocess", |
| 52 | apps: [ |
| 53 | "InProcessTethering", |
| 54 | ], |
| 55 | } |