blob: eeb3104f3f220e12e944792628dd5778f3b2b6f0 [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 Martinzaead06d2022-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 Martinzaead06d2022-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",
38 "org.lineageos.platform.internal",
39 ],
40
41 libs: ["telephony-common"],
42
43 required: ["privapp_whitelist_org.lineageos.setupwizard"],
44}
45
46prebuilt_etc {
47 name: "privapp_whitelist_org.lineageos.setupwizard",
Luca Stefani6b9de1c2021-03-17 23:29:52 +010048 system_ext_specific: true,
Luca Stefanic102a322021-03-17 23:24:08 +010049 src: "privapp_whitelist_org.lineageos.setupwizard.xml",
50 sub_dir: "permissions",
51 filename_from_src: true,
52}