Sam Mortimer | 12cc776 | 2019-10-09 14:32:36 -0700 | [diff] [blame] | 1 | /* |
Michael W | 9fbeb19 | 2023-10-01 17:45:23 +0200 | [diff] [blame] | 2 | * SPDX-FileCopyrightText: 2019-2022 The LineageOS Project |
| 3 | * SPDX-License-Identifier: Apache-2.0 |
Sam Mortimer | 12cc776 | 2019-10-09 14:32:36 -0700 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | android_app { |
Alexander Martinz | d5d844c | 2022-10-17 11:21:08 +0200 | [diff] [blame] | 7 | name: "SHIFT-Parts", |
| 8 | |
| 9 | overrides: ["LineageParts"], |
Sam Mortimer | 12cc776 | 2019-10-09 14:32:36 -0700 | [diff] [blame] | 10 | |
| 11 | // Include SettingsLib and it's dependencies |
| 12 | defaults: ["SettingsLibDefaults"], |
| 13 | |
| 14 | srcs: ["src/**/*.java"], |
| 15 | resource_dirs: ["res"], |
| 16 | |
| 17 | manifest: "AndroidManifest.xml", |
| 18 | |
| 19 | platform_apis: true, |
| 20 | certificate: "platform", |
LuK1337 | 5ecddae | 2021-04-15 11:45:46 +0200 | [diff] [blame] | 21 | system_ext_specific: true, |
Sam Mortimer | 12cc776 | 2019-10-09 14:32:36 -0700 | [diff] [blame] | 22 | privileged: true, |
| 23 | |
| 24 | optimize: { |
| 25 | proguard_flags_files: ["proguard.flags"], |
| 26 | }, |
| 27 | |
| 28 | static_libs: [ |
| 29 | "androidx.appcompat_appcompat", |
| 30 | "androidx.dynamicanimation_dynamicanimation", |
Sam Mortimer | 12cc776 | 2019-10-09 14:32:36 -0700 | [diff] [blame] | 31 | "androidx.palette_palette", |
Sam Mortimer | 12cc776 | 2019-10-09 14:32:36 -0700 | [diff] [blame] | 32 | "androidx.recyclerview_recyclerview", |
| 33 | "jsr305", |
| 34 | "org.lineageos.platform.internal", |
LuK1337 | ef4a07d | 2022-04-29 11:00:26 +0200 | [diff] [blame] | 35 | "SystemUISharedLib", |
LuK1337 | 97ea01f | 2022-08-30 10:19:42 +0200 | [diff] [blame] | 36 | "LineagePreferenceLib", |
Sam Mortimer | 12cc776 | 2019-10-09 14:32:36 -0700 | [diff] [blame] | 37 | ], |
Michael Bestas | 6658832 | 2020-05-06 20:35:19 +0300 | [diff] [blame] | 38 | |
| 39 | required: [ |
| 40 | "privapp_whitelist_org.lineageos.lineageparts" |
| 41 | ], |
| 42 | } |
| 43 | |
| 44 | prebuilt_etc { |
| 45 | name: "privapp_whitelist_org.lineageos.lineageparts", |
LuK1337 | 5ecddae | 2021-04-15 11:45:46 +0200 | [diff] [blame] | 46 | system_ext_specific: true, |
Michael Bestas | 6658832 | 2020-05-06 20:35:19 +0300 | [diff] [blame] | 47 | sub_dir: "permissions", |
| 48 | src: "privapp_whitelist_org.lineageos.lineageparts.xml", |
| 49 | filename_from_src: true, |
Sam Mortimer | 12cc776 | 2019-10-09 14:32:36 -0700 | [diff] [blame] | 50 | } |