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