| markchien | 932da86 | 2019-08-27 10:19:38 +0800 | [diff] [blame] | 1 | // | 
|  | 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. | 
| markchien | 932da86 | 2019-08-27 10:19:38 +0800 | [diff] [blame] | 15 |  | 
| Bob Badour | 97e6be2 | 2021-02-12 14:45:04 -0800 | [diff] [blame] | 16 | package { | 
|  | 17 | default_applicable_licenses: ["Android-Apache-2.0"], | 
|  | 18 | } | 
|  | 19 |  | 
| Paul Duffin | 2dae272 | 2020-05-13 12:28:49 +0100 | [diff] [blame] | 20 | java_sdk_library { | 
| markchien | 9d35382 | 2019-12-16 20:15:20 +0800 | [diff] [blame] | 21 | name: "framework-tethering", | 
| Paul Duffin | 2dae272 | 2020-05-13 12:28:49 +0100 | [diff] [blame] | 22 | defaults: ["framework-module-defaults"], | 
| Baligh Uddin | f814b9b | 2020-10-29 02:11:55 +0000 | [diff] [blame] | 23 | impl_library_visibility: [ | 
| Baligh Uddin | f814b9b | 2020-10-29 02:11:55 +0000 | [diff] [blame] | 24 | "//packages/modules/Connectivity/Tethering:__subpackages__", | 
| markchien | 2fbd3e7 | 2021-08-17 23:59:09 +0800 | [diff] [blame] | 25 |  | 
|  | 26 | // Using for test only | 
|  | 27 | "//cts/tests/netlegacy22.api", | 
|  | 28 | "//external/sl4a:__subpackages__", | 
| Remi NGUYEN VAN | bdaa351 | 2022-02-02 20:06:56 +0900 | [diff] [blame] | 29 | "//frameworks/base/core/tests/bandwidthtests", | 
|  | 30 | "//frameworks/base/core/tests/benchmarks", | 
|  | 31 | "//frameworks/base/core/tests/utillib", | 
| markchien | 2fbd3e7 | 2021-08-17 23:59:09 +0800 | [diff] [blame] | 32 | "//frameworks/base/packages/Connectivity/tests:__subpackages__", | 
| Aaron Huang | 7174ac3 | 2022-01-26 00:43:10 +0800 | [diff] [blame] | 33 | "//frameworks/base/tests/vcn", | 
| markchien | 2fbd3e7 | 2021-08-17 23:59:09 +0800 | [diff] [blame] | 34 | "//frameworks/libs/net/common/testutils", | 
|  | 35 | "//frameworks/libs/net/common/tests:__subpackages__", | 
|  | 36 | "//frameworks/opt/telephony/tests/telephonytests", | 
|  | 37 | "//packages/modules/CaptivePortalLogin/tests", | 
|  | 38 | "//packages/modules/Connectivity/Tethering/tests:__subpackages__", | 
| Remi NGUYEN VAN | fe20e13 | 2021-06-07 13:10:49 +0900 | [diff] [blame] | 39 | "//packages/modules/Connectivity/tests:__subpackages__", | 
| Aaron Huang | 7174ac3 | 2022-01-26 00:43:10 +0800 | [diff] [blame] | 40 | "//packages/modules/IPsec/tests/iketests", | 
| markchien | 2fbd3e7 | 2021-08-17 23:59:09 +0800 | [diff] [blame] | 41 | "//packages/modules/NetworkStack/tests:__subpackages__", | 
|  | 42 | "//packages/modules/Wifi/service/tests/wifitests", | 
| Baligh Uddin | f814b9b | 2020-10-29 02:11:55 +0000 | [diff] [blame] | 43 | ], | 
| Paul Duffin | 2a8d380 | 2020-06-02 11:36:56 +0100 | [diff] [blame] | 44 |  | 
| Anton Hansson | 9aed138 | 2020-08-18 12:52:51 +0100 | [diff] [blame] | 45 | srcs: [":framework-tethering-srcs"], | 
| Remi NGUYEN VAN | f201039 | 2021-03-24 22:50:35 +0900 | [diff] [blame] | 46 | libs: ["framework-connectivity.stubs.module_lib"], | 
|  | 47 | stub_only_libs: ["framework-connectivity.stubs.module_lib"], | 
| Remi NGUYEN VAN | 74b2744 | 2021-01-15 20:26:28 +0900 | [diff] [blame] | 48 | aidl: { | 
|  | 49 | include_dirs: [ | 
| Baligh Uddin | 3684713 | 2021-05-23 16:38:40 +0000 | [diff] [blame] | 50 | "packages/modules/Connectivity/framework/aidl-export", | 
| Remi NGUYEN VAN | 74b2744 | 2021-01-15 20:26:28 +0900 | [diff] [blame] | 51 | ], | 
|  | 52 | }, | 
| Paul Duffin | 2dae272 | 2020-05-13 12:28:49 +0100 | [diff] [blame] | 53 |  | 
| markchien | 9d35382 | 2019-12-16 20:15:20 +0800 | [diff] [blame] | 54 | jarjar_rules: "jarjar-rules.txt", | 
|  | 55 | installable: true, | 
|  | 56 |  | 
| Jiyong Park | 1eb8933 | 2020-01-06 13:30:59 +0900 | [diff] [blame] | 57 | hostdex: true, // for hiddenapi check | 
| Jiyong Park | 1eb8933 | 2020-01-06 13:30:59 +0900 | [diff] [blame] | 58 | apex_available: ["com.android.tethering"], | 
| Vladimir Marko | eae43d4 | 2020-03-25 11:19:36 +0000 | [diff] [blame] | 59 | permitted_packages: ["android.net"], | 
| Nikita Ioffe | 583e35a | 2020-10-31 22:41:41 +0000 | [diff] [blame] | 60 | min_sdk_version: "30", | 
| Chiachang Wang | 3bc5276 | 2021-11-25 14:17:57 +0800 | [diff] [blame] | 61 | lint: { strict_updatability_linting: true }, | 
| markchien | 932da86 | 2019-08-27 10:19:38 +0800 | [diff] [blame] | 62 | } | 
| markchien | ee6ad37 | 2019-09-30 14:40:57 +0800 | [diff] [blame] | 63 |  | 
| markchien | ee6ad37 | 2019-09-30 14:40:57 +0800 | [diff] [blame] | 64 | filegroup { | 
| markchien | 9d35382 | 2019-12-16 20:15:20 +0800 | [diff] [blame] | 65 | name: "framework-tethering-srcs", | 
|  | 66 | srcs: [ | 
| Remi NGUYEN VAN | 3662c1b | 2020-01-20 21:26:34 +0900 | [diff] [blame] | 67 | "src/android/net/TetheredClient.aidl", | 
|  | 68 | "src/android/net/TetheredClient.java", | 
| markchien | 9d35382 | 2019-12-16 20:15:20 +0800 | [diff] [blame] | 69 | "src/android/net/TetheringManager.java", | 
| markchien | 249752d | 2020-01-21 13:11:06 +0800 | [diff] [blame] | 70 | "src/android/net/TetheringConstants.java", | 
| markchien | 9d35382 | 2019-12-16 20:15:20 +0800 | [diff] [blame] | 71 | "src/android/net/IIntResultListener.aidl", | 
|  | 72 | "src/android/net/ITetheringEventCallback.aidl", | 
|  | 73 | "src/android/net/ITetheringConnector.aidl", | 
| markchien | 249752d | 2020-01-21 13:11:06 +0800 | [diff] [blame] | 74 | "src/android/net/TetheringCallbackStartedParcel.aidl", | 
| markchien | 9d35382 | 2019-12-16 20:15:20 +0800 | [diff] [blame] | 75 | "src/android/net/TetheringConfigurationParcel.aidl", | 
| markchien | f6761bd | 2020-01-20 19:31:56 +0800 | [diff] [blame] | 76 | "src/android/net/TetheringRequestParcel.aidl", | 
| markchien | 9d35382 | 2019-12-16 20:15:20 +0800 | [diff] [blame] | 77 | "src/android/net/TetherStatesParcel.aidl", | 
| markchien | 35ad54b | 2021-05-17 20:43:41 +0800 | [diff] [blame] | 78 | "src/android/net/TetheringInterface.aidl", | 
|  | 79 | "src/android/net/TetheringInterface.java", | 
| markchien | 9d35382 | 2019-12-16 20:15:20 +0800 | [diff] [blame] | 80 | ], | 
|  | 81 | path: "src" | 
| markchien | ee6ad37 | 2019-09-30 14:40:57 +0800 | [diff] [blame] | 82 | } |