Jason Monk | a2f2d82 | 2018-08-13 11:10:48 -0400 | [diff] [blame] | 1 | // Copyright (C) 2016 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 | |
Bob Badour | 8a6a2bc | 2021-02-12 17:07:05 -0800 | [diff] [blame] | 15 | package { |
| 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 | |
Jason Monk | a2f2d82 | 2018-08-13 11:10:48 -0400 | [diff] [blame] | 24 | java_library { |
| 25 | |
| 26 | name: "SystemUIPluginLib", |
| 27 | |
Andy Wickham | 64e3410 | 2021-03-07 16:02:01 -0800 | [diff] [blame] | 28 | srcs: [ |
| 29 | "src/**/*.java", |
Jordan Demeulenaere | a867af2 | 2021-04-01 11:36:41 +0200 | [diff] [blame] | 30 | "src/**/*.kt", |
Andy Wickham | 64e3410 | 2021-03-07 16:02:01 -0800 | [diff] [blame] | 31 | "bcsmartspace/src/**/*.java", |
Liam, Lee Pong Lam | 509448e | 2023-01-06 01:30:12 +0000 | [diff] [blame] | 32 | "bcsmartspace/src/**/*.kt", |
Andy Wickham | 64e3410 | 2021-03-07 16:02:01 -0800 | [diff] [blame] | 33 | ], |
Jason Monk | a2f2d82 | 2018-08-13 11:10:48 -0400 | [diff] [blame] | 34 | |
Tony Wickham | b4593f9 | 2018-10-04 10:45:42 -0700 | [diff] [blame] | 35 | static_libs: [ |
Jordan Demeulenaere | 2541d51 | 2021-04-20 13:54:31 +0200 | [diff] [blame] | 36 | "androidx.annotation_annotation", |
Priyanka Advani | d738e28 | 2023-04-27 18:59:56 +0000 | [diff] [blame] | 37 | "error_prone_annotations", |
Dave Mankoff | 8012d7b | 2020-11-13 17:34:39 -0500 | [diff] [blame] | 38 | "PluginCoreLib", |
Jordan Demeulenaere | cea62bb | 2021-04-08 11:04:50 +0200 | [diff] [blame] | 39 | "SystemUIAnimationLib", |
Darrell Shi | 6000632 | 2023-04-06 17:58:40 +0000 | [diff] [blame] | 40 | "SystemUICommon", |
Tony Wickham | b4593f9 | 2018-10-04 10:45:42 -0700 | [diff] [blame] | 41 | ], |
Jason Monk | a2f2d82 | 2018-08-13 11:10:48 -0400 | [diff] [blame] | 42 | |
| 43 | } |
| 44 | |
| 45 | android_app { |
| 46 | |
| 47 | // Dummy to generate .toc files. |
| 48 | name: "PluginDummyLib", |
| 49 | platform_apis: true, |
| 50 | srcs: ["src/**/*.java"], |
| 51 | |
| 52 | libs: ["SystemUIPluginLib"], |
| 53 | |
| 54 | optimize: { |
| 55 | enabled: false, |
| 56 | }, |
| 57 | |
| 58 | } |