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 17soong_namespace { 18} 19 20package { 21 default_applicable_licenses: ["frameworks_base_packages_SystemUI_license"], 22} 23 24java_library { 25 name: "api", 26 srcs: ["repository/*.kt"], 27 libs: [ 28 "kotlinx_coroutines", 29 ], 30 visibility: [ 31 "//frameworks/base/packages/SystemUI/pods/com/android/systemui/retail", 32 "//frameworks/base/packages/SystemUI/pods/com/android/systemui/retail/dagger", 33 "//frameworks/base/packages/SystemUI/pods/com/android/systemui/retail/domain", 34 ], 35} 36 37java_library { 38 name: "impl", 39 srcs: ["repository/impl/*.kt"], 40 libs: [ 41 "jsr330", 42 "kotlinx_coroutines", 43 "//frameworks/base/packages/SystemUI/pods/com/android/systemui/dagger:api", 44 "//frameworks/base/packages/SystemUI/pods/com/android/systemui/util/settings:api", 45 "SystemUICommon", 46 ], 47 static_libs: [ 48 "api", 49 ], 50 visibility: [ 51 "//frameworks/base/packages/SystemUI/pods/com/android/systemui/retail", 52 "//frameworks/base/packages/SystemUI/pods/com/android/systemui/retail/dagger", 53 "//frameworks/base/packages/SystemUI/pods/com/android/systemui/retail/domain", 54 ], 55} 56