Files
android_device_nintendo_nx/devicesettings/Android.bp
T
LuK1337 5246b190e4 nx: devicesettings: Migrate to privapp_allowlist
Change-Id: I52aa7e1d8a158be2a252d2949f5207551a1a4070
2025-12-20 13:31:40 +00:00

49 lines
1.5 KiB
Plaintext

/*
* Copyright (C) 2023-2025 The LineageOS Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app {
name: "DeviceSettingsNX",
manifest: "AndroidManifest.xml",
srcs: [
"src/**/*.java",
],
resource_dirs: [
"res",
],
overrides: ["DeviceSettings"],
platform_apis: true,
certificate: "platform",
optimize: {
proguard_flags_files: ["proguard.flags"],
},
privileged: true,
privapp_allowlist: "org.lineageos.settings.device.xml",
static_libs: [
"androidx.preference_preference",
"androidx.appcompat_appcompat",
"androidx.leanback_leanback-preference",
"androidx.leanback_leanback",
"org.lineageos.settings.resources",
"org.lineageos.platform.internal",
"vendor.nvidia.hardware.graphics.display-V1.0-java",
"android.hardware.nintendo.joycond-V1-java",
],
}