blob: 17ad55f403fb3e6d0d7353bd66dc812f81c1c3e6 [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 {
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
Jordan Demeulenaered876f5c2021-04-07 16:40:47 +020024android_library {
Jordan Demeulenaerecea62bb2021-04-08 11:04:50 +020025
26 name: "SystemUIAnimationLib",
27
28 srcs: [
29 "src/**/*.java",
30 "src/**/*.kt",
31 ],
32
Jordan Demeulenaered876f5c2021-04-07 16:40:47 +020033 resource_dirs: [
34 "res",
35 ],
36
Yein Jo7b8e5272022-11-29 06:53:36 +000037 static_libs: [
38 "PluginCoreLib",
39 "androidx.core_core-animation-nodeps",
40 "androidx.core_core-ktx",
41 "androidx.annotation_annotation",
42 ],
Jordan Demeulenaerecea62bb2021-04-08 11:04:50 +020043
Jordan Demeulenaered876f5c2021-04-07 16:40:47 +020044 manifest: "AndroidManifest.xml",
Jordan Demeulenaere6e77c582022-01-17 11:28:09 +010045 kotlincflags: ["-Xjvm-default=all"],
Jordan Demeulenaerecea62bb2021-04-08 11:04:50 +020046}
Johannes Gallmann01ba9252022-11-14 15:20:54 +010047
48android_test {
49 name: "SystemUIAnimationLibTests",
50
51 static_libs: [
52 "SystemUIAnimationLib",
53 "androidx.test.ext.junit",
54 "androidx.test.rules",
55 "testables",
56 ],
57 libs: [
58 "android.test.base",
59 ],
60 srcs: [
61 "**/*.java",
62 "**/*.kt",
63 ],
64 kotlincflags: ["-Xjvm-default=all"],
65 test_suites: ["general-tests"],
66}