Skip to content
Snippets Groups Projects
Commit 82e71652 authored by Paul Duffin's avatar Paul Duffin
Browse files

Cleanup packages/Tethering/common/TetheringLib

Merge the otherwise unused tethering-aidl-interfaces into
framework-tethering.

This is in preparation for converting to use java_sdk_library.

Bug: 155164730
Test: m droid
Change-Id: I4583539d11ba69320aa5a0dfcfee072c81affac2
parent 469314ec
No related branches found
No related tags found
No related merge requests found
...@@ -13,49 +13,11 @@ ...@@ -13,49 +13,11 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
// AIDL interfaces between the core system and the tethering mainline module.
aidl_interface {
name: "tethering-aidl-interfaces",
unstable: true,
local_include_dir: "src",
include_dirs: ["frameworks/base/core/java"], // For framework parcelables.
srcs: [
// @JavaOnlyStableParcelable aidl declarations must not be listed here, as this would cause
// compilation to fail (b/148001843).
"src/android/net/IIntResultListener.aidl",
"src/android/net/ITetheringConnector.aidl",
"src/android/net/ITetheringEventCallback.aidl",
"src/android/net/TetheringCallbackStartedParcel.aidl",
"src/android/net/TetheringConfigurationParcel.aidl",
"src/android/net/TetheringRequestParcel.aidl",
"src/android/net/TetherStatesParcel.aidl",
],
backend: {
ndk: {
enabled: false,
},
cpp: {
enabled: false,
},
java: {
apex_available: [
"//apex_available:platform",
"com.android.tethering",
],
},
},
}
java_library { java_library {
name: "framework-tethering", name: "framework-tethering",
sdk_version: "module_current", sdk_version: "module_current",
srcs: [ srcs: [
"src/android/net/TetheredClient.java", ":framework-tethering-srcs",
"src/android/net/TetheringManager.java",
"src/android/net/TetheringConstants.java",
],
static_libs: [
"tethering-aidl-interfaces-java",
], ],
jarjar_rules: "jarjar-rules.txt", jarjar_rules: "jarjar-rules.txt",
installable: true, installable: true,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment