Add base files

This commit is contained in:
oxmc
2025-08-18 14:48:47 -07:00
commit 2dd5a1b710
3 changed files with 61 additions and 0 deletions

6
Android.bp Normal file
View File

@@ -0,0 +1,6 @@
// Copyright (C) 2021-2022 KonstaKANG
//
// SPDX-License-Identifier: Apache-2.0
soong_namespace {
}

15
AndroidProducts.mk Normal file
View File

@@ -0,0 +1,15 @@
#
# Copyright (C) 2021-2023 KonstaKANG
#
# SPDX-License-Identifier: Apache-2.0
#
PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/aosp_rpi4.mk \
$(LOCAL_DIR)/aosp_rpi4_car.mk \
$(LOCAL_DIR)/aosp_rpi4_tv.mk
COMMON_LUNCH_CHOICES := \
aosp_rpi4-trunk_staging-userdebug \
aosp_rpi4_car-trunk_staging-userdebug \
aosp_rpi4_tv-trunk_staging-userdebug

40
pawlet_rpi4.mk Normal file
View File

@@ -0,0 +1,40 @@
#
# Copyright (C) 2021-2023 KonstaKANG
#
# SPDX-License-Identifier: Apache-2.0
#
# Inherit from the base Raspberry Pi 4 product
$(call inherit-product, device/brcm/rpi4/aosp_rpi4.mk)
PRODUCT_AAPT_CONFIG := normal mdpi hdpi
PRODUCT_AAPT_PREF_CONFIG := hdpi
PRODUCT_CHARACTERISTICS := tablet,nosdcard
# Remove specific packages
PRODUCT_PACKAGES -= \
Galaxy4 \
HoloSpiralWallpaper \
LiveWallpapers \
LiveWallpapersPicker \
MagicSmokeWallpapers \
NoiseField \
PhaseBeam \
VisualizationWallpapers \
PhotoTable \
Launcher3QuickStep
# Other apps
PRODUCT_PACKAGES += \
Lawnchair
# Overlays
PRODUCT_PACKAGES += \
FrameworkResDevOxmcOverlay
# Device identifier. This must come after all inclusions.
PRODUCT_DEVICE := rpi4
PRODUCT_NAME := pawlet_rpi4
PRODUCT_BRAND := Raspberry
PRODUCT_MODEL := Raspberry Pi 4
PRODUCT_MANUFACTURER := Raspberry