54f44d3417
Polls a manifest to discover per-component update endpoints (currently just webview) and silently installs/switches providers without a full system OTA.
39 lines
882 B
Plaintext
39 lines
882 B
Plaintext
//
|
|
// Copyright (C) 2026 oxmc / PawletOS
|
|
//
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
//
|
|
|
|
// Shared with app_PawletSettings so the settings addon can bind IBgUpdaterService
|
|
// without duplicating the AIDL sources across two module trees.
|
|
aidl_interface {
|
|
name: "pawletos.bgupd-aidl",
|
|
unstable: true,
|
|
local_include_dir: "aidl",
|
|
srcs: ["aidl/pawletos/bgupd/*.aidl"],
|
|
}
|
|
|
|
android_app {
|
|
name: "BgUpd",
|
|
|
|
srcs: ["src/**/*.kt"],
|
|
resource_dirs: ["res"],
|
|
manifest: "AndroidManifest.xml",
|
|
|
|
// Needed for the hidden android.webkit.IWebViewUpdateService binder.
|
|
platform_apis: true,
|
|
privileged: true,
|
|
privapp_allowlist: "os.pawlet.bgupd.xml",
|
|
certificate: "platform",
|
|
system_ext_specific: true,
|
|
|
|
static_libs: [
|
|
"androidx.core_core-ktx",
|
|
"pawletos.bgupd-aidl-java",
|
|
],
|
|
|
|
optimize: {
|
|
enabled: false,
|
|
},
|
|
}
|