blob: dec664fa7a149b01204ae206487e48467a658acc [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
Luca Zuccarini674ecf02023-12-20 15:51:55 +010027 name: "PlatformAnimationLib",
Peter Kalauskas84c5a992023-08-23 13:39:23 -070028 use_resource_processor: true,
Jordan Demeulenaerecea62bb2021-04-08 11:04:50 +020029
30 srcs: [
31 "src/**/*.java",
32 "src/**/*.kt",
33 ],
Yein Jof7f052e2023-02-17 22:38:44 +000034 exclude_srcs: [
35 "src/com/android/systemui/surfaceeffects/**/*.java",
36 "src/com/android/systemui/surfaceeffects/**/*.kt",
37 ],
Jordan Demeulenaerecea62bb2021-04-08 11:04:50 +020038
Jordan Demeulenaered876f5c2021-04-07 16:40:47 +020039 resource_dirs: [
40 "res",
41 ],
42
Yein Jo7b8e5272022-11-29 06:53:36 +000043 static_libs: [
Colin Cross64ee6e22024-03-25 15:21:29 -070044 "androidx.core_core-animation",
Yein Jo7b8e5272022-11-29 06:53:36 +000045 "androidx.core_core-ktx",
46 "androidx.annotation_annotation",
Shawn Lee7a13c842024-03-08 10:53:27 -080047 "com_android_systemui_flags_lib",
Yein Jof7f052e2023-02-17 22:38:44 +000048 "SystemUIShaderLib",
Luca Zuccarini58ec2442024-02-21 14:54:49 +000049 "WindowManager-Shell-shared",
Peter Kalauskascd50f532024-04-02 15:41:14 -070050 "//frameworks/libs/systemui:animationlib",
51 "//frameworks/libs/systemui:com_android_systemui_shared_flags_lib",
Yein Jof7f052e2023-02-17 22:38:44 +000052 ],
53
54 manifest: "AndroidManifest.xml",
55 kotlincflags: ["-Xjvm-default=all"],
56}
57
58android_library {
59 name: "SystemUIShaderLib",
Peter Kalauskas84c5a992023-08-23 13:39:23 -070060 use_resource_processor: true,
Yein Jof7f052e2023-02-17 22:38:44 +000061
62 srcs: [
63 "src/com/android/systemui/surfaceeffects/**/*.java",
64 "src/com/android/systemui/surfaceeffects/**/*.kt",
65 ],
66
67 static_libs: [
Colin Cross64ee6e22024-03-25 15:21:29 -070068 "androidx.core_core-animation",
Yein Jof7f052e2023-02-17 22:38:44 +000069 "androidx.core_core-ktx",
70 "androidx.annotation_annotation",
Yein Jo7b8e5272022-11-29 06:53:36 +000071 ],
Jordan Demeulenaerecea62bb2021-04-08 11:04:50 +020072
Jordan Demeulenaered876f5c2021-04-07 16:40:47 +020073 manifest: "AndroidManifest.xml",
Jordan Demeulenaere6e77c582022-01-17 11:28:09 +010074 kotlincflags: ["-Xjvm-default=all"],
Yein Jof7f052e2023-02-17 22:38:44 +000075
76 // sdk_version must be specified, otherwise it compiles against private APIs.
Lucas Dupind46fabd2023-08-30 15:17:25 -070077 min_sdk_version: "33",
Yein Jof7f052e2023-02-17 22:38:44 +000078 sdk_version: "current",
Jordan Demeulenaerecea62bb2021-04-08 11:04:50 +020079}