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 | |
| 28 | srcs: ["src/**/*.java"], |
| 29 | |
Tony Wickham | b4593f9 | 2018-10-04 10:45:42 -0700 | [diff] [blame] | 30 | static_libs: [ |
Dave Mankoff | 8012d7b | 2020-11-13 17:34:39 -0500 | [diff] [blame] | 31 | "PluginCoreLib", |
| 32 | "SystemUI-sensors", |
Tony Wickham | b4593f9 | 2018-10-04 10:45:42 -0700 | [diff] [blame] | 33 | ], |
Jason Monk | a2f2d82 | 2018-08-13 11:10:48 -0400 | [diff] [blame] | 34 | |
| 35 | } |
| 36 | |
| 37 | android_app { |
| 38 | |
| 39 | // Dummy to generate .toc files. |
| 40 | name: "PluginDummyLib", |
| 41 | platform_apis: true, |
| 42 | srcs: ["src/**/*.java"], |
| 43 | |
| 44 | libs: ["SystemUIPluginLib"], |
| 45 | |
| 46 | optimize: { |
| 47 | enabled: false, |
| 48 | }, |
| 49 | |
| 50 | } |