blob: 5df79e1bee942fdba1166cdcf16355a23eefd3e3 [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
Jordan Demeulenaerecea62bb2021-04-08 11:04:50 +020037 static_libs: [
38 "PluginCoreLib",
Johannes Gallmann01ba9252022-11-14 15:20:54 +010039 "androidx.core_core-animation-nodeps",
Jordan Demeulenaerecea62bb2021-04-08 11:04:50 +020040 ],
41
Jordan Demeulenaered876f5c2021-04-07 16:40:47 +020042 manifest: "AndroidManifest.xml",
Jordan Demeulenaere6e77c582022-01-17 11:28:09 +010043 kotlincflags: ["-Xjvm-default=all"],
Jordan Demeulenaerecea62bb2021-04-08 11:04:50 +020044}
Johannes Gallmann01ba9252022-11-14 15:20:54 +010045
46android_test {
47 name: "SystemUIAnimationLibTests",
48
49 static_libs: [
50 "SystemUIAnimationLib",
51 "androidx.test.ext.junit",
52 "androidx.test.rules",
53 "testables",
54 ],
55 libs: [
56 "android.test.base",
57 ],
58 srcs: [
59 "**/*.java",
60 "**/*.kt",
61 ],
62 kotlincflags: ["-Xjvm-default=all"],
63 test_suites: ["general-tests"],
64}