blob: d700f8777f3155bb4719a69cf9f5412433f169ee [file] [log] [blame]
Jordan Demeulenaerecea62bb2021-04-08 11:04:50 +02001// Copyright (C) 2021 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 {
Aditya Choudharyb4262272024-01-31 11:09:29 +000016 default_team: "trendy_team_system_ui_please_use_a_more_specific_subteam_if_possible_",
Jordan Demeulenaerecea62bb2021-04-08 11:04:50 +020017 // See: http://go/android-license-faq
18 // A large-scale-change added 'default_applicable_licenses' to import
19 // all of the 'license_kinds' from "frameworks_base_packages_SystemUI_license"
20 // to get the below license kinds:
21 // SPDX-license-identifier-Apache-2.0
22 default_applicable_licenses: ["frameworks_base_packages_SystemUI_license"],
23}
24
Jordan Demeulenaered876f5c2021-04-07 16:40:47 +020025android_library {
Jordan Demeulenaerecea62bb2021-04-08 11:04:50 +020026
27 name: "SystemUIAnimationLib",
28
29 srcs: [
30 "src/**/*.java",
31 "src/**/*.kt",
32 ],
Yein Jof7f052e2023-02-17 22:38:44 +000033 exclude_srcs: [
34 "src/com/android/systemui/surfaceeffects/**/*.java",
35 "src/com/android/systemui/surfaceeffects/**/*.kt",
36 ],
Jordan Demeulenaerecea62bb2021-04-08 11:04:50 +020037
Jordan Demeulenaered876f5c2021-04-07 16:40:47 +020038 resource_dirs: [
39 "res",
40 ],
41
Yein Jo7b8e5272022-11-29 06:53:36 +000042 static_libs: [
Yein Jo7b8e5272022-11-29 06:53:36 +000043 "androidx.core_core-animation-nodeps",
44 "androidx.core_core-ktx",
45 "androidx.annotation_annotation",
Yein Jof7f052e2023-02-17 22:38:44 +000046 "SystemUIShaderLib",
Kateryna Ivanovabd68ce22023-04-26 15:12:30 +000047 "animationlib",
Yein Jof7f052e2023-02-17 22:38:44 +000048 ],
49
50 manifest: "AndroidManifest.xml",
51 kotlincflags: ["-Xjvm-default=all"],
52}
53
54android_library {
55 name: "SystemUIShaderLib",
56
57 srcs: [
58 "src/com/android/systemui/surfaceeffects/**/*.java",
59 "src/com/android/systemui/surfaceeffects/**/*.kt",
60 ],
61
62 static_libs: [
63 "androidx.core_core-animation-nodeps",
64 "androidx.core_core-ktx",
65 "androidx.annotation_annotation",
Yein Jo7b8e5272022-11-29 06:53:36 +000066 ],
Jordan Demeulenaerecea62bb2021-04-08 11:04:50 +020067
Jordan Demeulenaered876f5c2021-04-07 16:40:47 +020068 manifest: "AndroidManifest.xml",
Jordan Demeulenaere6e77c582022-01-17 11:28:09 +010069 kotlincflags: ["-Xjvm-default=all"],
Yein Jof7f052e2023-02-17 22:38:44 +000070
71 // sdk_version must be specified, otherwise it compiles against private APIs.
Lucas Dupind46fabd2023-08-30 15:17:25 -070072 min_sdk_version: "33",
Yein Jof7f052e2023-02-17 22:38:44 +000073 sdk_version: "current",
Jordan Demeulenaerecea62bb2021-04-08 11:04:50 +020074}