blob: 927fd8ea6279e969453cf59d1bca46efb1d04303 [file] [log] [blame]
Hawkwood Glazierb8eef872022-11-11 17:56:14 +00001// Copyright (C) 2017 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15package {
16 // See: http://go/android-license-faq
17 // A large-scale-change added 'default_applicable_licenses' to import
18 // all of the 'license_kinds' from "frameworks_base_packages_SystemUI_license"
19 // to get the below license kinds:
20 // SPDX-license-identifier-Apache-2.0
21 default_applicable_licenses: ["frameworks_base_packages_SystemUI_license"],
22}
23
24android_library {
25 name: "SystemUICustomizationLib",
Peter Kalauskas84c5a992023-08-23 13:39:23 -070026 use_resource_processor: true,
Hawkwood Glazierb8eef872022-11-11 17:56:14 +000027 srcs: [
28 "src/**/*.java",
29 "src/**/*.kt",
30 "src/**/*.aidl",
31 ],
32 static_libs: [
33 "PluginCoreLib",
34 "SystemUIAnimationLib",
35 "SystemUIPluginLib",
36 "SystemUIUnfoldLib",
37 "androidx.dynamicanimation_dynamicanimation",
38 "androidx.concurrent_concurrent-futures",
39 "androidx.lifecycle_lifecycle-runtime-ktx",
40 "androidx.lifecycle_lifecycle-viewmodel-ktx",
41 "androidx.recyclerview_recyclerview",
42 "kotlinx_coroutines_android",
43 "kotlinx_coroutines",
44 "dagger2",
45 "jsr330",
46 ],
47 resource_dirs: [
48 "res",
49 ],
50 min_sdk_version: "current",
51 plugins: ["dagger2-compiler"],
Colin Cross6954ea72023-07-18 10:52:21 -070052 kotlincflags: ["-Xjvm-default=all"],
Hawkwood Glazierb8eef872022-11-11 17:56:14 +000053}