blob: 69c65aa0e3b51fc2e599d3105dc9a69488573792 [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 {
Daniel Micaya4a470e2020-12-11 14:07:32 -050018 name: "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
27 overrides: ["Provision"],
28
29 optimize: {
30 proguard_flags_files: ["proguard.flags"],
31 },
32
33 static_libs: [
34 "androidx.core_core",
35 "setupcompat",
36 "setupdesign",
Luca Stefanic102a322021-03-17 23:24:08 +010037 ],
38
39 libs: ["telephony-common"],
40
41 required: ["privapp_whitelist_org.lineageos.setupwizard"],
42}
43
44prebuilt_etc {
45 name: "privapp_whitelist_org.lineageos.setupwizard",
Luca Stefani6b9de1c2021-03-17 23:29:52 +010046 system_ext_specific: true,
Luca Stefanic102a322021-03-17 23:24:08 +010047 src: "privapp_whitelist_org.lineageos.setupwizard.xml",
48 sub_dir: "permissions",
49 filename_from_src: true,
50}