blob: 79f8c463b5aef092eee2e9e5e46184eb71b215b8 [file] [log] [blame]
Chaohui Wang5c565872022-07-14 19:55:53 +08001//
2// Copyright (C) 2022 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16
17package {
18 default_applicable_licenses: ["frameworks_base_license"],
19}
20
21android_library {
22 name: "SpaLib",
23
24 srcs: ["src/**/*.kt"],
25
26 static_libs: [
Zekan Qian15109912022-11-07 11:36:45 +080027 "androidx.slice_slice-builders",
28 "androidx.slice_slice-core",
29 "androidx.slice_slice-view",
Kelly2c3670662022-12-09 11:38:01 +080030 "androidx.compose.animation_animation",
Chaohui Wang5c565872022-07-14 19:55:53 +080031 "androidx.compose.material3_material3",
32 "androidx.compose.material_material-icons-extended",
33 "androidx.compose.runtime_runtime",
Chaohui Wang572f75d2022-09-13 17:17:47 +080034 "androidx.compose.runtime_runtime-livedata",
Chaohui Wang5c565872022-07-14 19:55:53 +080035 "androidx.compose.ui_ui-tooling-preview",
Chaohui Wang409c5662022-10-13 23:00:06 +080036 "androidx.lifecycle_lifecycle-livedata-ktx",
Chaohui Wangdaa98ea2022-11-25 13:29:35 +080037 "androidx.lifecycle_lifecycle-runtime-compose",
Chaohui Wang5c565872022-07-14 19:55:53 +080038 "androidx.navigation_navigation-compose",
39 "com.google.android.material_material",
Kelly196b1ee2022-08-18 14:25:47 +080040 "lottie_compose",
Kelly3a4e82cc2022-09-08 17:27:19 +080041 "MPAndroidChart",
Chaohui Wang5c565872022-07-14 19:55:53 +080042 ],
Chaohui Wang573398e2022-08-12 14:55:29 +080043 kotlincflags: [
44 "-Xjvm-default=all",
Chaohui Wang573398e2022-08-12 14:55:29 +080045 ],
Chaohui Wangf7f3e962023-06-23 12:22:25 +080046 sdk_version: "current",
Chaohui Wang5c565872022-07-14 19:55:53 +080047 min_sdk_version: "31",
48}
Zekan Qian45844c12022-12-12 10:13:39 +080049
50// Expose the srcs to tests, so the tests can access the internal classes.
51filegroup {
52 name: "SpaLib_srcs",
53 srcs: ["src/**/*.kt"],
54}