blob: 5be393373e1914ec08d160d9a06f7ed98992fe2e [file] [log] [blame]
markchien0abdd112019-11-28 10:17:03 +08001//
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 Badour97e6be22021-02-12 14:45:04 -080017package {
18 default_applicable_licenses: ["Android-Apache-2.0"],
19}
20
markchien0abdd112019-11-28 10:17:03 +080021apex {
markchien8f831c02019-12-18 17:47:26 +080022 name: "com.android.tethering",
Remi NGUYEN VAN6d575ca2021-01-13 15:44:38 +090023 compile_multilib: "both",
24 updatable: true,
25 min_sdk_version: "30",
Remi NGUYEN VAN2812f602021-01-08 01:19:44 +000026 java_libs: [
Remi NGUYEN VAN6d575ca2021-01-13 15:44:38 +090027 "framework-connectivity",
Remi NGUYEN VAN2812f602021-01-08 01:19:44 +000028 "framework-tethering",
29 "service-connectivity",
30 ],
Remi NGUYEN VAN6d575ca2021-01-13 15:44:38 +090031 multilib: {
32 first: {
33 jni_libs: ["libservice-connectivity"]
34 },
35 both: {
36 jni_libs: ["libframework-connectivity-jni"],
37 }
38 },
Maciej Żenczykowskie9810ff2021-01-14 20:02:08 -080039 bpfs: [
40 "offload.o",
41 "test.o",
42 ],
Remi NGUYEN VANaffd94b2021-03-08 23:09:31 +090043 apps: [
44 "ServiceConnectivityResources",
45 "Tethering",
46 ],
markchien0abdd112019-11-28 10:17:03 +080047 manifest: "manifest.json",
markchien8f831c02019-12-18 17:47:26 +080048 key: "com.android.tethering.key",
markchien0abdd112019-11-28 10:17:03 +080049
50 androidManifest: "AndroidManifest.xml",
51}
52
53apex_key {
markchien8f831c02019-12-18 17:47:26 +080054 name: "com.android.tethering.key",
55 public_key: "com.android.tethering.avbpubkey",
56 private_key: "com.android.tethering.pem",
markchien0abdd112019-11-28 10:17:03 +080057}
58
59android_app_certificate {
markchien8f831c02019-12-18 17:47:26 +080060 name: "com.android.tethering.certificate",
61 certificate: "com.android.tethering",
markchien0abdd112019-11-28 10:17:03 +080062}
markchiendbaff662020-05-05 17:42:44 +080063
64override_apex {
65 name: "com.android.tethering.inprocess",
66 base: "com.android.tethering",
67 package_name: "com.android.tethering.inprocess",
68 apps: [
Remi NGUYEN VANf0f0cca2021-03-12 15:04:29 +000069 "ServiceConnectivityResources",
markchiendbaff662020-05-05 17:42:44 +080070 "InProcessTethering",
71 ],
72}