9344e608f6
Adds the full vendor/pawlet tree for PawletOS on Raspberry Pi 4/5: - build/: envsetup.sh helpers (breakfast/brunch/mka), bacon OTA target, Soong namespace, build core hook - config/: common.mk, version.mk, BoardConfigPawlet.mk, BoardConfigSoong.mk, privapp-permissions, me.pawlet.android feature XML - hal/boot_control/rpi/: AIDL boot_control HAL for RPi A/B slot switching - apps/Updater/: A/B OTA updater (download, verify, install, reboot) - apps/PawletPlatform/: platform resource APK (device icons, strings) - overlay/frameworks/base/core/res/: framework config overrides - prebuilt/, vars/: init rc, aosp_target_release
28 lines
866 B
Plaintext
28 lines
866 B
Plaintext
// Copyright (C) 2025 oxmc / PawletOS
|
|
//
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
//
|
|
// PawletOS platform resource package.
|
|
//
|
|
// exports_package_resources: true means any app can access these resources via:
|
|
// context.createPackageContext("me.pawlet.android", 0).getResources()
|
|
// or directly in XML via the package prefix:
|
|
// @me.pawlet.android:string/pawlet_device_name_rpi4
|
|
// @me.pawlet.android:drawable/ic_pawlet_device_rpi5
|
|
|
|
android_app {
|
|
name: "PawletPlatform",
|
|
|
|
srcs: [], // resource-only APK — no Java/Kotlin sources
|
|
resource_dirs: ["res"],
|
|
manifest: "AndroidManifest.xml",
|
|
|
|
// Make resources publicly addressable by other apps
|
|
export_package_resources: true,
|
|
|
|
platform_apis: true,
|
|
certificate: "platform",
|
|
privileged: false, // No privileged permissions needed — resources only
|
|
product_specific: true,
|
|
}
|