Jordan Demeulenaere | 359df6f | 2022-08-02 10:32:27 +0200 | [diff] [blame] | 1 | // Copyright (C) 2022 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 | |
| 15 | package { |
Aditya Choudhary | b426227 | 2024-01-31 11:09:29 +0000 | [diff] [blame] | 16 | default_team: "trendy_team_system_ui_please_use_a_more_specific_subteam_if_possible_", |
Jordan Demeulenaere | 359df6f | 2022-08-02 10:32:27 +0200 | [diff] [blame] | 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 | |
| 25 | android_library { |
| 26 | name: "SystemUIComposeFeatures", |
Peter Kalauskas | 84c5a99 | 2023-08-23 13:39:23 -0700 | [diff] [blame] | 27 | use_resource_processor: true, |
Jordan Demeulenaere | 359df6f | 2022-08-02 10:32:27 +0200 | [diff] [blame] | 28 | manifest: "AndroidManifest.xml", |
| 29 | |
| 30 | srcs: [ |
| 31 | "src/**/*.kt", |
| 32 | ], |
| 33 | |
| 34 | static_libs: [ |
Jordan Demeulenaere | 66d123f | 2022-07-21 15:22:07 +0200 | [diff] [blame] | 35 | "SystemUI-core", |
Jordan Demeulenaere | 8a1747d | 2022-12-28 11:11:42 +0100 | [diff] [blame] | 36 | "PlatformComposeCore", |
Jordan Demeulenaere | 6d5bea5 | 2023-10-12 14:12:00 +0200 | [diff] [blame] | 37 | "PlatformComposeSceneTransitionLayout", |
Jordan Demeulenaere | 359df6f | 2022-08-02 10:32:27 +0200 | [diff] [blame] | 38 | |
| 39 | "androidx.compose.runtime_runtime", |
Mike Schneider | 38928d3 | 2023-06-26 14:55:57 +0200 | [diff] [blame] | 40 | "androidx.compose.animation_animation-graphics", |
Jordan Demeulenaere | 359df6f | 2022-08-02 10:32:27 +0200 | [diff] [blame] | 41 | "androidx.compose.material3_material3", |
Coco Duan | 68a5f42 | 2024-01-04 07:56:13 +0000 | [diff] [blame] | 42 | "androidx.compose.material_material-icons-extended", |
Jordan Demeulenaere | bf43b1d | 2022-12-16 13:00:23 +0100 | [diff] [blame] | 43 | "androidx.activity_activity-compose", |
Jordan Demeulenaere | 359df6f | 2022-08-02 10:32:27 +0200 | [diff] [blame] | 44 | ], |
| 45 | |
| 46 | kotlincflags: ["-Xjvm-default=all"], |
Zi Wang | e8d2a30 | 2024-02-26 18:24:35 -0800 | [diff] [blame] | 47 | skip_jarjar_repackage: true, |
Jordan Demeulenaere | 359df6f | 2022-08-02 10:32:27 +0200 | [diff] [blame] | 48 | } |