1// 2// Copyright (C) 2021 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_team: "trendy_team_fwk_nfc", 19 default_applicable_licenses: ["Android-Apache-2.0"], 20} 21 22aconfig_declarations { 23 name: "nfc_aconfig_flags", 24 package: "com.android.nfc.flags", 25 container: "system", 26 srcs: ["nfc_flags.aconfig"], 27} 28 29java_aconfig_library { 30 name: "nfc_aconfig_flags_lib", 31 aconfig_declarations: "nfc_aconfig_flags", 32 min_sdk_version: "33", 33 apex_available: [ 34 "//apex_available:platform", 35 "com.android.nfcservices", 36 ], 37} 38 39java_library { 40 name: "nfc_flags_lib", 41 sdk_version: "system_current", 42 min_sdk_version: "33", 43 srcs: [ 44 "lib/**/*.java", 45 ], 46 static_libs: [ 47 "nfc_aconfig_flags_lib", 48 ], 49 installable: false, 50 visibility: [ 51 "//packages/apps/Nfc:__subpackages__", 52 ], 53 apex_available: [ 54 "//apex_available:platform", 55 "com.android.nfcservices", 56 ], 57} 58