blob: 24587a3bc788d1fb042d237495365f139e5585c6 [file] [log] [blame]
Joey13020a42020-01-25 16:46:47 +01001/*
Michael Bestas6851c072020-05-06 20:35:19 +03002 * Copyright (C) 2019-2020 The LineageOS Project
Joey13020a42020-01-25 16:46:47 +01003 * Copyright (C) 2020 Shift GmbH
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17
18android_app {
19 name: "SHIFTParts",
20
21 // Include SettingsLib and it's dependencies
22 defaults: ["SettingsLibDefaults"],
23
24 srcs: ["src/**/*.java"],
25 resource_dirs: ["res"],
26
27 manifest: "AndroidManifest.xml",
28
29 platform_apis: true,
30 certificate: "platform",
31 privileged: true,
32
33 optimize: {
34 proguard_flags_files: ["proguard.flags"],
35 },
36
37 static_libs: [
38 "androidx.appcompat_appcompat",
39 "androidx.dynamicanimation_dynamicanimation",
40 "androidx.legacy_legacy-support-v13",
41 "androidx.palette_palette",
42 "androidx.preference_preference",
43 "androidx.recyclerview_recyclerview",
44 "jsr305",
45 "com.shiftos.platform.internal",
46 ],
Michael Bestas6851c072020-05-06 20:35:19 +030047
48 required: [
49 "privapp_whitelist_com.shiftos.shiftparts"
50 ],
51}
52
53prebuilt_etc {
54 name: "privapp_whitelist_com.shiftos.shiftparts",
55 sub_dir: "permissions",
56 src: "privapp_whitelist_com.shiftos.shiftparts.xml",
57 filename_from_src: true,
Joey13020a42020-01-25 16:46:47 +010058}