Yan Yan | b4ccc6a | 2024-11-02 01:37:17 +0000 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2024 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. |
| 15 | // |
| 16 | |
| 17 | package { |
| 18 | default_team: "trendy_team_enigma", |
| 19 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 20 | } |
| 21 | |
| 22 | // TODO: b/380331248 This lib is a non-jarjared version of "service-connectivity-b-platform" |
| 23 | // It will only be included in the Tethering module when the build system flag |
| 24 | // RELEASE_MOVE_VCN_TO_MAINLINE is enabled. Including "service-connectivity-b-platform" |
| 25 | // in Tethering will break art branch check because that lib lives in framework/base. |
| 26 | // Once VCN is moved to Connectivity/, "service-connectivity-b-platform" can be cleaned up. |
| 27 | java_library { |
| 28 | name: "service-connectivity-b-pre-jarjar", |
| 29 | defaults: ["service-connectivity-b-pre-jarjar-defaults"], |
| 30 | libs: ["service-connectivity-pre-jarjar"], |
| 31 | |
| 32 | sdk_version: "system_server_current", |
| 33 | |
| 34 | // TODO(b/210962470): Bump this to B |
| 35 | min_sdk_version: "30", |
| 36 | |
| 37 | apex_available: [ |
| 38 | "com.android.tethering", |
| 39 | ], |
| 40 | } |