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