blob: 917bf2116ec3e3f11b73366d5a1ac87d882da129 [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 VAN2812f602021-01-08 01:19:44 +000023 // TODO: make updatable again once this contains only updatable artifacts (in particular, this
24 // cannot build as updatable unless service-connectivity builds against stable API).
Mathew Inwoodadfc9332021-02-16 14:58:27 +000025 updatable: false,
Remi NGUYEN VAN2812f602021-01-08 01:19:44 +000026 // min_sdk_version: "30",
satayev5ba29502021-05-12 13:28:58 +010027 bootclasspath_fragments: [
28 "com.android.tethering-bootclasspath-fragment",
29 ],
Remi NGUYEN VAN2812f602021-01-08 01:19:44 +000030 java_libs: [
Remi NGUYEN VAN2812f602021-01-08 01:19:44 +000031 "service-connectivity",
32 ],
33 jni_libs: [
34 "libservice-connectivity",
35 ],
Maciej Żenczykowskie9810ff2021-01-14 20:02:08 -080036 bpfs: [
37 "offload.o",
38 "test.o",
39 ],
Remi NGUYEN VAN60f4c2f2021-03-08 23:09:31 +090040 apps: [
41 "ServiceConnectivityResources",
42 "Tethering",
43 ],
markchien0abdd112019-11-28 10:17:03 +080044 manifest: "manifest.json",
markchien8f831c02019-12-18 17:47:26 +080045 key: "com.android.tethering.key",
markchien0abdd112019-11-28 10:17:03 +080046
47 androidManifest: "AndroidManifest.xml",
48}
49
50apex_key {
markchien8f831c02019-12-18 17:47:26 +080051 name: "com.android.tethering.key",
52 public_key: "com.android.tethering.avbpubkey",
53 private_key: "com.android.tethering.pem",
markchien0abdd112019-11-28 10:17:03 +080054}
55
56android_app_certificate {
markchien8f831c02019-12-18 17:47:26 +080057 name: "com.android.tethering.certificate",
58 certificate: "com.android.tethering",
markchien0abdd112019-11-28 10:17:03 +080059}
markchiendbaff662020-05-05 17:42:44 +080060
satayev5ba29502021-05-12 13:28:58 +010061// Encapsulate the contributions made by the com.android.tethering to the bootclasspath.
62bootclasspath_fragment {
63 name: "com.android.tethering-bootclasspath-fragment",
64 contents: ["framework-tethering"],
65 apex_available: ["com.android.tethering"],
66}
67
markchiendbaff662020-05-05 17:42:44 +080068override_apex {
69 name: "com.android.tethering.inprocess",
70 base: "com.android.tethering",
71 package_name: "com.android.tethering.inprocess",
72 apps: [
Remi NGUYEN VAN2fb22c22021-03-12 15:04:29 +000073 "ServiceConnectivityResources",
markchiendbaff662020-05-05 17:42:44 +080074 "InProcessTethering",
75 ],
76}