blob: 7d7302309af23b416b9f33c4730219b2640b3502 [file] [log] [blame]
Josh Yange7facb92024-09-04 16:21:27 -07001// Copyright (C) 2024 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 default_team: "trendy_team_system_ui_please_use_a_more_specific_subteam_if_possible_",
17 // 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
25java_library {
26 name: "PlatformAnimationLib-server",
27 srcs: [
28 "src/com/android/systemui/animation/server/*.java",
29 ":PlatformAnimationLib-aidl",
30 ],
31 static_libs: [
32 "WindowManager-Shell-shared",
33 ],
34}
35
Josh Yang595d04a2024-08-05 15:11:51 -070036// This is the core animation library written in java and can be depended by java sdk libraries.
37// Please don't introduce kotlin code in this target since kotlin is incompatible with sdk
38// libraries.
39java_library {
40 name: "PlatformAnimationLib-core",
41 srcs: [
42 "src/com/android/systemui/animation/*.java",
43 ":PlatformAnimationLib-aidl",
44 ],
45 static_libs: [
46 "WindowManager-Shell-shared",
47 ],
48}
49
Josh Yange7facb92024-09-04 16:21:27 -070050filegroup {
Todd Lee86bf28a2024-10-07 15:50:39 +000051 name: "PlatformAnimationLib-client-srcs",
52 srcs: [
53 "src/com/android/systemui/animation/OriginRemoteTransition.java",
54 "src/com/android/systemui/animation/OriginTransitionSession.java",
55 "src/com/android/systemui/animation/SurfaceUIComponent.java",
56 "src/com/android/systemui/animation/Transactions.java",
57 "src/com/android/systemui/animation/UIComponent.java",
58 "src/com/android/systemui/animation/ViewUIComponent.java",
59 ":PlatformAnimationLib-aidl",
60 ],
61}
62
63filegroup {
Josh Yange7facb92024-09-04 16:21:27 -070064 name: "PlatformAnimationLib-aidl",
65 srcs: [
66 "src/**/*.aidl",
67 ],
68}