1// 2// Copyright (C) 2023 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 17package { 18 default_applicable_licenses: ["Android-Apache-2.0"], 19} 20 21aconfig_declarations { 22 name: "com.android.permission.flags-aconfig", 23 container: "com.android.permission", 24 package: "com.android.permission.flags", 25 exportable: true, 26 srcs: ["flags.aconfig"], 27} 28 29java_aconfig_library { 30 name: "com.android.permission.flags-aconfig-java-export", 31 aconfig_declarations: "com.android.permission.flags-aconfig", 32 mode: "exported", 33 sdk_version: "module_current", 34 min_sdk_version: "30", 35 installable: false, 36 libs: ["framework-configinfrastructure.stubs.module_lib"], 37 visibility: [ 38 "//packages/modules/Permission:__subpackages__", 39 "//vendor:__subpackages__", 40 ], 41 apex_available: [ 42 "com.android.permission", 43 "test_com.android.permission", 44 ], 45} 46 47java_aconfig_library { 48 name: "com.android.permission.flags-aconfig-java", 49 aconfig_declarations: "com.android.permission.flags-aconfig", 50 sdk_version: "module_current", 51 min_sdk_version: "30", 52 installable: false, 53 libs: ["framework-configinfrastructure.stubs.module_lib"], 54 visibility: [ 55 "//packages/modules/Permission:__subpackages__", 56 ], 57 apex_available: [ 58 "com.android.permission", 59 "test_com.android.permission", 60 ], 61} 62