blob: 408725c8658b95c7da8383d91f699597120ebf19 [file] [log] [blame]
markchien932da862019-08-27 10:19:38 +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.
markchien932da862019-08-27 10:19:38 +080015
Paul Duffine0b78572020-05-13 12:28:49 +010016java_sdk_library {
markchiene7ccfca2019-12-16 20:15:20 +080017 name: "framework-tethering",
Paul Duffine0b78572020-05-13 12:28:49 +010018 defaults: ["framework-module-defaults"],
markchiene7ccfca2019-12-16 20:15:20 +080019 srcs: [
Paul Duffin82e71652020-05-13 09:56:18 +010020 ":framework-tethering-srcs",
markchien932da862019-08-27 10:19:38 +080021 ],
Paul Duffine0b78572020-05-13 12:28:49 +010022
23 // TODO(b/155480189) - Remove naming_scheme once references have been resolved.
24 // Temporary java_sdk_library component naming scheme to use to ease the transition from separate
25 // modules to java_sdk_library.
26 naming_scheme: "framework-modules",
27
markchiene7ccfca2019-12-16 20:15:20 +080028 jarjar_rules: "jarjar-rules.txt",
29 installable: true,
30
Jiyong Park489e09a2020-01-06 13:30:59 +090031 hostdex: true, // for hiddenapi check
markchien44fc26d2020-02-06 19:23:26 +080032 visibility: ["//frameworks/base/packages/Tethering:__subpackages__"],
Paul Duffine0b78572020-05-13 12:28:49 +010033 stubs_library_visibility: ["//visibility:public"],
Jiyong Park489e09a2020-01-06 13:30:59 +090034 apex_available: ["com.android.tethering"],
Vladimir Marko577707e2020-03-25 11:19:36 +000035 permitted_packages: ["android.net"],
markchien932da862019-08-27 10:19:38 +080036}
markchien2c4cc6f2019-09-30 14:40:57 +080037
markchien2c4cc6f2019-09-30 14:40:57 +080038filegroup {
markchiene7ccfca2019-12-16 20:15:20 +080039 name: "framework-tethering-srcs",
40 srcs: [
Remi NGUYEN VAN2781c802020-01-20 21:26:34 +090041 "src/android/net/TetheredClient.aidl",
42 "src/android/net/TetheredClient.java",
markchiene7ccfca2019-12-16 20:15:20 +080043 "src/android/net/TetheringManager.java",
markchien5786b6d2020-01-21 13:11:06 +080044 "src/android/net/TetheringConstants.java",
markchiene7ccfca2019-12-16 20:15:20 +080045 "src/android/net/IIntResultListener.aidl",
46 "src/android/net/ITetheringEventCallback.aidl",
47 "src/android/net/ITetheringConnector.aidl",
markchien5786b6d2020-01-21 13:11:06 +080048 "src/android/net/TetheringCallbackStartedParcel.aidl",
markchiene7ccfca2019-12-16 20:15:20 +080049 "src/android/net/TetheringConfigurationParcel.aidl",
markchienecaba162020-01-20 19:31:56 +080050 "src/android/net/TetheringRequestParcel.aidl",
markchiene7ccfca2019-12-16 20:15:20 +080051 "src/android/net/TetherStatesParcel.aidl",
52 ],
53 path: "src"
markchien2c4cc6f2019-09-30 14:40:57 +080054}