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