Hawkwood Glazier | b8eef87 | 2022-11-11 17:56:14 +0000 | [diff] [blame^] | 1 | // 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 | |
| 15 | package { |
| 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 | |
| 24 | android_library { |
| 25 | name: "SystemUICustomizationLib", |
| 26 | srcs: [ |
| 27 | "src/**/*.java", |
| 28 | "src/**/*.kt", |
| 29 | "src/**/*.aidl", |
| 30 | ], |
| 31 | static_libs: [ |
| 32 | "PluginCoreLib", |
| 33 | "SystemUIAnimationLib", |
| 34 | "SystemUIPluginLib", |
| 35 | "SystemUIUnfoldLib", |
| 36 | "androidx.dynamicanimation_dynamicanimation", |
| 37 | "androidx.concurrent_concurrent-futures", |
| 38 | "androidx.lifecycle_lifecycle-runtime-ktx", |
| 39 | "androidx.lifecycle_lifecycle-viewmodel-ktx", |
| 40 | "androidx.recyclerview_recyclerview", |
| 41 | "kotlinx_coroutines_android", |
| 42 | "kotlinx_coroutines", |
| 43 | "dagger2", |
| 44 | "jsr330", |
| 45 | ], |
| 46 | resource_dirs: [ |
| 47 | "res", |
| 48 | ], |
| 49 | min_sdk_version: "current", |
| 50 | plugins: ["dagger2-compiler"], |
| 51 | kotlincflags: ["-Xjvm-default=enable"], |
| 52 | } |