blob: ba3b42194cfffbc8e1ffd4641f7f0e5cc945f321 [file] [log] [blame]
Luca Stefanic102a322021-03-17 23:24:08 +01001//
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
17android_app {
Alexander Martinzce2c9fc2022-10-17 11:43:55 +020018 name: "SHIFT-SetupWizard",
Luca Stefanic102a322021-03-17 23:24:08 +010019
20 srcs: ["src/**/*.java"],
21
22 certificate: "platform",
23 privileged: true,
Luca Stefani6b9de1c2021-03-17 23:29:52 +010024 system_ext_specific: true,
Luca Stefanic102a322021-03-17 23:24:08 +010025 platform_apis: true,
26
Alexander Martinzce2c9fc2022-10-17 11:43:55 +020027 overrides: ["LineageSetupWizard", "Provision"],
Luca Stefanic102a322021-03-17 23:24:08 +010028
29 optimize: {
30 proguard_flags_files: ["proguard.flags"],
31 },
32
33 static_libs: [
34 "androidx.core_core",
Timi Rautamäki5e2f7f22021-08-21 08:58:14 +000035 "SettingsLib",
Luca Stefanic102a322021-03-17 23:24:08 +010036 "setupcompat",
37 "setupdesign",
Michael Bestasa5ba5df2023-07-15 16:19:36 +030038 "SystemUISharedLib",
Luca Stefanic102a322021-03-17 23:24:08 +010039 "org.lineageos.platform.internal",
40 ],
41
42 libs: ["telephony-common"],
43
44 required: ["privapp_whitelist_org.lineageos.setupwizard"],
45}
46
47prebuilt_etc {
48 name: "privapp_whitelist_org.lineageos.setupwizard",
Luca Stefani6b9de1c2021-03-17 23:29:52 +010049 system_ext_specific: true,
Luca Stefanic102a322021-03-17 23:24:08 +010050 src: "privapp_whitelist_org.lineageos.setupwizard.xml",
51 sub_dir: "permissions",
52 filename_from_src: true,
53}