2019-08-27 10:19:38 +08:00
|
|
|
//
|
|
|
|
|
// Copyright (C) 2019 The Android Open Source Project
|
|
|
|
|
//
|
|
|
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
|
// you may not use this file except in compliance with the License.
|
|
|
|
|
// You may obtain a copy of the License at
|
|
|
|
|
//
|
|
|
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
//
|
|
|
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
|
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
|
// See the License for the specific language governing permissions and
|
|
|
|
|
// limitations under the License.
|
|
|
|
|
|
2021-02-12 14:45:04 -08:00
|
|
|
package {
|
|
|
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
|
|
|
}
|
|
|
|
|
|
2020-05-13 12:28:49 +01:00
|
|
|
java_sdk_library {
|
2019-12-16 20:15:20 +08:00
|
|
|
name: "framework-tethering",
|
2020-05-13 12:28:49 +01:00
|
|
|
defaults: ["framework-module-defaults"],
|
2020-10-29 02:11:55 +00:00
|
|
|
impl_library_visibility: [
|
|
|
|
|
"//packages/modules/Connectivity/Tethering:__subpackages__",
|
|
|
|
|
],
|
2020-06-02 11:36:56 +01:00
|
|
|
|
2020-08-18 12:52:51 +01:00
|
|
|
srcs: [":framework-tethering-srcs"],
|
2021-03-24 22:50:35 +09:00
|
|
|
libs: ["framework-connectivity.stubs.module_lib"],
|
|
|
|
|
stub_only_libs: ["framework-connectivity.stubs.module_lib"],
|
2021-01-15 20:26:28 +09:00
|
|
|
aidl: {
|
|
|
|
|
include_dirs: [
|
2021-05-23 16:38:40 +00:00
|
|
|
"packages/modules/Connectivity/framework/aidl-export",
|
2021-01-15 20:26:28 +09:00
|
|
|
],
|
|
|
|
|
},
|
2020-05-13 12:28:49 +01:00
|
|
|
|
2019-12-16 20:15:20 +08:00
|
|
|
jarjar_rules: "jarjar-rules.txt",
|
|
|
|
|
installable: true,
|
|
|
|
|
|
2020-01-06 13:30:59 +09:00
|
|
|
hostdex: true, // for hiddenapi check
|
|
|
|
|
apex_available: ["com.android.tethering"],
|
2020-03-25 11:19:36 +00:00
|
|
|
permitted_packages: ["android.net"],
|
2020-10-31 22:41:41 +00:00
|
|
|
min_sdk_version: "30",
|
2019-08-27 10:19:38 +08:00
|
|
|
}
|
2019-09-30 14:40:57 +08:00
|
|
|
|
|
|
|
|
filegroup {
|
2019-12-16 20:15:20 +08:00
|
|
|
name: "framework-tethering-srcs",
|
|
|
|
|
srcs: [
|
2020-01-20 21:26:34 +09:00
|
|
|
"src/android/net/TetheredClient.aidl",
|
|
|
|
|
"src/android/net/TetheredClient.java",
|
2019-12-16 20:15:20 +08:00
|
|
|
"src/android/net/TetheringManager.java",
|
2020-01-21 13:11:06 +08:00
|
|
|
"src/android/net/TetheringConstants.java",
|
2019-12-16 20:15:20 +08:00
|
|
|
"src/android/net/IIntResultListener.aidl",
|
|
|
|
|
"src/android/net/ITetheringEventCallback.aidl",
|
|
|
|
|
"src/android/net/ITetheringConnector.aidl",
|
2020-01-21 13:11:06 +08:00
|
|
|
"src/android/net/TetheringCallbackStartedParcel.aidl",
|
2019-12-16 20:15:20 +08:00
|
|
|
"src/android/net/TetheringConfigurationParcel.aidl",
|
2020-01-20 19:31:56 +08:00
|
|
|
"src/android/net/TetheringRequestParcel.aidl",
|
2019-12-16 20:15:20 +08:00
|
|
|
"src/android/net/TetherStatesParcel.aidl",
|
2021-05-17 20:43:41 +08:00
|
|
|
"src/android/net/TetheringInterface.aidl",
|
|
|
|
|
"src/android/net/TetheringInterface.java",
|
2019-12-16 20:15:20 +08:00
|
|
|
],
|
|
|
|
|
path: "src"
|
2019-09-30 14:40:57 +08:00
|
|
|
}
|