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: ["frameworks_base_license"], 19} 20 21filegroup { 22 name: "SettingsLibPreference-srcs", 23 srcs: ["src/**/*.kt"], 24} 25 26android_library { 27 name: "SettingsLibPreference", 28 defaults: [ 29 "SettingsLintDefaults", 30 ], 31 srcs: [":SettingsLibPreference-srcs"], 32 static_libs: [ 33 "SettingsLibDataStore", 34 "SettingsLibMetadata", 35 "SettingsLibMainSwitchPreference", 36 "androidx.annotation_annotation", 37 "androidx.preference_preference", 38 "guava", 39 ], 40 kotlincflags: ["-Xjvm-default=all"], 41} 42