Jason Monk | a2f2d82 | 2018-08-13 11:10:48 -0400 | [diff] [blame] | 1 | // Copyright (C) 2017 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 | android_library { |
| 16 | |
| 17 | name: "SystemUISharedLib", |
| 18 | srcs: [ |
| 19 | "src/**/*.java", |
| 20 | "src/**/I*.aidl", |
| 21 | ], |
| 22 | |
Sunny Goyal | bba378e | 2018-08-22 12:50:26 -0700 | [diff] [blame] | 23 | // Enforce that the library is build agains java 7 so that there are |
| 24 | // no compatibility issues with launcher |
| 25 | java_version: "1.7", |
Jason Monk | a2f2d82 | 2018-08-13 11:10:48 -0400 | [diff] [blame] | 26 | } |
| 27 | |
| 28 | android_app { |
| 29 | |
| 30 | name: "SysUISharedLib", |
| 31 | platform_apis: true, |
| 32 | srcs: [ |
| 33 | "src/**/*.java", |
| 34 | "src/**/I*.aidl", |
| 35 | ], |
| 36 | |
| 37 | static_libs: ["SystemUISharedLib"], |
| 38 | |
| 39 | optimize: { |
| 40 | enabled: false, |
| 41 | }, |
| 42 | |
| 43 | } |