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