blob: 9030ddb0428176dc7a6a5744b6c5a9d5b31b7305 [file] [log] [blame]
Sam Mortimer12cc7762019-10-09 14:32:36 -07001/*
Michael W9fbeb192023-10-01 17:45:23 +02002 * SPDX-FileCopyrightText: 2019-2022 The LineageOS Project
3 * SPDX-License-Identifier: Apache-2.0
Sam Mortimer12cc7762019-10-09 14:32:36 -07004 */
5
6android_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",
LuK13375ecddae2021-04-15 11:45:46 +020019 system_ext_specific: true,
Sam Mortimer12cc7762019-10-09 14:32:36 -070020 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 Mortimer12cc7762019-10-09 14:32:36 -070029 "androidx.palette_palette",
Sam Mortimer12cc7762019-10-09 14:32:36 -070030 "androidx.recyclerview_recyclerview",
31 "jsr305",
32 "org.lineageos.platform.internal",
LuK1337ef4a07d2022-04-29 11:00:26 +020033 "SystemUISharedLib",
LuK133797ea01f2022-08-30 10:19:42 +020034 "LineagePreferenceLib",
Sam Mortimer12cc7762019-10-09 14:32:36 -070035 ],
Michael Bestas66588322020-05-06 20:35:19 +030036
37 required: [
38 "privapp_whitelist_org.lineageos.lineageparts"
39 ],
40}
41
42prebuilt_etc {
43 name: "privapp_whitelist_org.lineageos.lineageparts",
LuK13375ecddae2021-04-15 11:45:46 +020044 system_ext_specific: true,
Michael Bestas66588322020-05-06 20:35:19 +030045 sub_dir: "permissions",
46 src: "privapp_whitelist_org.lineageos.lineageparts.xml",
47 filename_from_src: true,
Sam Mortimer12cc7762019-10-09 14:32:36 -070048}