blob: 38477da897211de4548a14f92adf00f5d9208058 [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 {
Alexander Martinzd5d844c2022-10-17 11:21:08 +02007 name: "SHIFT-Parts",
8
9 overrides: ["LineageParts"],
Sam Mortimer12cc7762019-10-09 14:32:36 -070010
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",
LuK13375ecddae2021-04-15 11:45:46 +020021 system_ext_specific: true,
Sam Mortimer12cc7762019-10-09 14:32:36 -070022 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 Mortimer12cc7762019-10-09 14:32:36 -070031 "androidx.palette_palette",
Sam Mortimer12cc7762019-10-09 14:32:36 -070032 "androidx.recyclerview_recyclerview",
33 "jsr305",
34 "org.lineageos.platform.internal",
LuK1337ef4a07d2022-04-29 11:00:26 +020035 "SystemUISharedLib",
LuK133797ea01f2022-08-30 10:19:42 +020036 "LineagePreferenceLib",
Sam Mortimer12cc7762019-10-09 14:32:36 -070037 ],
Michael Bestas66588322020-05-06 20:35:19 +030038
39 required: [
40 "privapp_whitelist_org.lineageos.lineageparts"
41 ],
42}
43
44prebuilt_etc {
45 name: "privapp_whitelist_org.lineageos.lineageparts",
LuK13375ecddae2021-04-15 11:45:46 +020046 system_ext_specific: true,
Michael Bestas66588322020-05-06 20:35:19 +030047 sub_dir: "permissions",
48 src: "privapp_whitelist_org.lineageos.lineageparts.xml",
49 filename_from_src: true,
Sam Mortimer12cc7762019-10-09 14:32:36 -070050}