Joey | 13020a4 | 2020-01-25 16:46:47 +0100 | [diff] [blame] | 1 | /* |
Michael Bestas | 6851c07 | 2020-05-06 20:35:19 +0300 | [diff] [blame] | 2 | * Copyright (C) 2019-2020 The LineageOS Project |
Joey | 13020a4 | 2020-01-25 16:46:47 +0100 | [diff] [blame] | 3 | * Copyright (C) 2020 Shift GmbH |
| 4 | * |
| 5 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | * you may not use this file except in compliance with the License. |
| 7 | * You may obtain a copy of the License at |
| 8 | * |
| 9 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | * |
| 11 | * Unless required by applicable law or agreed to in writing, software |
| 12 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | * See the License for the specific language governing permissions and |
| 15 | * limitations under the License. |
| 16 | */ |
| 17 | |
| 18 | android_app { |
| 19 | name: "SHIFTParts", |
| 20 | |
| 21 | // Include SettingsLib and it's dependencies |
| 22 | defaults: ["SettingsLibDefaults"], |
| 23 | |
| 24 | srcs: ["src/**/*.java"], |
| 25 | resource_dirs: ["res"], |
| 26 | |
| 27 | manifest: "AndroidManifest.xml", |
| 28 | |
| 29 | platform_apis: true, |
| 30 | certificate: "platform", |
| 31 | privileged: true, |
| 32 | |
| 33 | optimize: { |
| 34 | proguard_flags_files: ["proguard.flags"], |
| 35 | }, |
| 36 | |
| 37 | static_libs: [ |
| 38 | "androidx.appcompat_appcompat", |
| 39 | "androidx.dynamicanimation_dynamicanimation", |
| 40 | "androidx.legacy_legacy-support-v13", |
| 41 | "androidx.palette_palette", |
| 42 | "androidx.preference_preference", |
| 43 | "androidx.recyclerview_recyclerview", |
| 44 | "jsr305", |
| 45 | "com.shiftos.platform.internal", |
| 46 | ], |
Michael Bestas | 6851c07 | 2020-05-06 20:35:19 +0300 | [diff] [blame] | 47 | |
| 48 | required: [ |
| 49 | "privapp_whitelist_com.shiftos.shiftparts" |
| 50 | ], |
| 51 | } |
| 52 | |
| 53 | prebuilt_etc { |
| 54 | name: "privapp_whitelist_com.shiftos.shiftparts", |
| 55 | sub_dir: "permissions", |
| 56 | src: "privapp_whitelist_com.shiftos.shiftparts.xml", |
| 57 | filename_from_src: true, |
Joey | 13020a4 | 2020-01-25 16:46:47 +0100 | [diff] [blame] | 58 | } |