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: "healthconnect-aconfig-flags", 23 package: "com.android.healthconnect.flags", 24 container: "com.android.healthconnect", 25 srcs: ["flags.aconfig"], 26} 27 28java_aconfig_library { 29 name: "healthconnect-aconfig-flags-lib", 30 aconfig_declarations: "healthconnect-aconfig-flags", 31 min_sdk_version: "34", 32 apex_available: [ 33 "com.android.healthfitness", 34 ], 35 visibility: [ 36 "//packages/modules/HealthFitness:__subpackages__", 37 ], 38} 39 40aconfig_declarations { 41 name: "healthfitness-aconfig-flags", 42 package: "com.android.healthfitness.flags", 43 container: "com.android.healthfitness", 44 srcs: ["healthfitness-flags.aconfig"], 45} 46 47java_aconfig_library { 48 name: "healthfitness-aconfig-flags-lib", 49 aconfig_declarations: "healthfitness-aconfig-flags", 50 min_sdk_version: "34", 51 apex_available: [ 52 "com.android.healthfitness", 53 ], 54 defaults: ["framework-minus-apex-aconfig-java-defaults"], 55 visibility: [ 56 "//packages/modules/HealthFitness:__subpackages__", 57 ], 58} 59 60java_library { 61 name: "healthfitness-aconfig-flags-helper", 62 sdk_version: "module_current", 63 min_sdk_version: "34", 64 srcs: [ 65 "src/**/*.java", 66 ], 67 static_libs: [ 68 "healthfitness-aconfig-flags-lib", 69 ], 70 apex_available: [ 71 "com.android.healthfitness", 72 ], 73 visibility: [ 74 "//packages/modules/HealthFitness:__subpackages__", 75 ], 76} 77