Luca Stefani | c102a32 | 2021-03-17 23:24:08 +0100 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2021 The LineageOS Project |
| 3 | // |
| 4 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | // you may not use this file except in compliance with the License. |
| 6 | // You may obtain a copy of the License at |
| 7 | // |
| 8 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | // |
| 10 | // Unless required by applicable law or agreed to in writing, software |
| 11 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | // See the License for the specific language governing permissions and |
| 14 | // limitations under the License. |
| 15 | // |
| 16 | |
| 17 | android_app { |
Alexander Martinz | aead06d | 2022-10-17 11:43:55 +0200 | [diff] [blame] | 18 | name: "SHIFT-SetupWizard", |
Luca Stefani | c102a32 | 2021-03-17 23:24:08 +0100 | [diff] [blame] | 19 | |
| 20 | srcs: ["src/**/*.java"], |
| 21 | |
| 22 | certificate: "platform", |
| 23 | privileged: true, |
Luca Stefani | 6b9de1c | 2021-03-17 23:29:52 +0100 | [diff] [blame] | 24 | system_ext_specific: true, |
Luca Stefani | c102a32 | 2021-03-17 23:24:08 +0100 | [diff] [blame] | 25 | platform_apis: true, |
| 26 | |
Alexander Martinz | aead06d | 2022-10-17 11:43:55 +0200 | [diff] [blame] | 27 | overrides: ["LineageSetupWizard", "Provision"], |
Luca Stefani | c102a32 | 2021-03-17 23:24:08 +0100 | [diff] [blame] | 28 | |
| 29 | optimize: { |
| 30 | proguard_flags_files: ["proguard.flags"], |
| 31 | }, |
| 32 | |
| 33 | static_libs: [ |
| 34 | "androidx.core_core", |
Timi Rautamäki | 5e2f7f2 | 2021-08-21 08:58:14 +0000 | [diff] [blame] | 35 | "SettingsLib", |
Luca Stefani | c102a32 | 2021-03-17 23:24:08 +0100 | [diff] [blame] | 36 | "setupcompat", |
| 37 | "setupdesign", |
| 38 | "org.lineageos.platform.internal", |
| 39 | ], |
| 40 | |
| 41 | libs: ["telephony-common"], |
| 42 | |
| 43 | required: ["privapp_whitelist_org.lineageos.setupwizard"], |
| 44 | } |
| 45 | |
| 46 | prebuilt_etc { |
| 47 | name: "privapp_whitelist_org.lineageos.setupwizard", |
Luca Stefani | 6b9de1c | 2021-03-17 23:29:52 +0100 | [diff] [blame] | 48 | system_ext_specific: true, |
Luca Stefani | c102a32 | 2021-03-17 23:24:08 +0100 | [diff] [blame] | 49 | src: "privapp_whitelist_org.lineageos.setupwizard.xml", |
| 50 | sub_dir: "permissions", |
| 51 | filename_from_src: true, |
| 52 | } |