Yan Yan | 60df934 | 2024-10-01 02:11:28 +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 | aconfig_declarations { |
| 23 | name: "android.net.vcn.flags-aconfig", |
| 24 | package: "android.net.vcn", |
| 25 | container: "com.android.tethering", |
| 26 | exportable: true, |
| 27 | srcs: [ |
| 28 | "flags.aconfig", |
| 29 | ], |
| 30 | } |
| 31 | |
Yan Yan | 4aeead4 | 2024-10-25 14:40:14 -0700 | [diff] [blame] | 32 | // TODO: b/374174952 Remove this library when VCN modularization is done |
Yan Yan | 60df934 | 2024-10-01 02:11:28 +0000 | [diff] [blame] | 33 | java_aconfig_library { |
| 34 | name: "android.net.vcn.flags-aconfig-java-export", |
| 35 | aconfig_declarations: "android.net.vcn.flags-aconfig", |
| 36 | mode: "exported", |
| 37 | min_sdk_version: "35", |
| 38 | defaults: ["framework-minus-apex-aconfig-java-defaults"], |
Yan Yan | 4aeead4 | 2024-10-25 14:40:14 -0700 | [diff] [blame] | 39 | apex_available: [ |
| 40 | "//apex_available:platform", |
| 41 | ], |
| 42 | } |
| 43 | |
| 44 | java_aconfig_library { |
| 45 | name: "android.net.vcn.flags-aconfig-java", |
| 46 | aconfig_declarations: "android.net.vcn.flags-aconfig", |
| 47 | min_sdk_version: "35", |
| 48 | defaults: ["framework-minus-apex-aconfig-java-defaults"], |
| 49 | apex_available: [ |
| 50 | "com.android.tethering", |
| 51 | ], |
Yan Yan | 60df934 | 2024-10-01 02:11:28 +0000 | [diff] [blame] | 52 | } |