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 17package { 18 default_applicable_licenses: ["Android-Apache-2.0"], 19} 20 21aconfig_declarations { 22 name: "devicelock-aconfig-flags", 23 package: "com.android.devicelock.flags", 24 container: "com.android.devicelock", 25 exportable: true, 26 srcs: ["flags.aconfig"], 27} 28 29java_aconfig_library { 30 name: "devicelock-aconfig-flags-lib", 31 aconfig_declarations: "devicelock-aconfig-flags", 32 min_sdk_version: "UpsideDownCake", 33 apex_available: [ 34 "com.android.devicelock", 35 ], 36 defaults: ["framework-minus-apex-aconfig-java-defaults"], 37 visibility: [ 38 "//packages/modules/DeviceLock:__subpackages__", 39 ], 40} 41 42java_aconfig_library { 43 name: "devicelock-exported-aconfig-flags-lib", 44 aconfig_declarations: "devicelock-aconfig-flags", 45 min_sdk_version: "UpsideDownCake", 46 mode: "exported", 47 apex_available: [ 48 "com.android.devicelock", 49 ], 50 defaults: ["framework-minus-apex-aconfig-java-defaults"], 51 visibility: [ 52 "//packages/modules/DeviceLock:__subpackages__", 53 ], 54} 55