Files
android_vendor_pawlet/config/version.mk
T
oxmc 0933d1928d config: hoist MicroG include to common, drop day-one webview, unpin patch date
- MicroG inherit moves from rpi_common.mk into common.mk so every
  product gets it, not just RPi devices; microg.mk doc comment updated
  (vendor/partner_gms is now unconditionally in the manifest)
- drop the LineageOS chromium-webview day-one provider from
  PRODUCT_PACKAGES
- comment out the PAWLET_SECURITY_PATCH/PLATFORM_SECURITY_PATCH pin,
  falling back to the platform default
2026-07-15 07:30:43 -07:00

64 lines
2.5 KiB
Makefile

#
# Copyright (C) 2012 The CyanogenMod Project
# Copyright (C) 2017 The LineageOS Project
# Copyright (C) 2025 oxmc / PawletOS
#
# SPDX-License-Identifier: Apache-2.0
#
# Adapted from vendor/lineage/config/version.mk (The LineageOS Project).
#
PAWLET_MAJOR_VERSION := 1
PAWLET_MINOR_VERSION := 0
PAWLET_BUILD_DATE := $(shell date -u +%Y%m%d)
# Accept PAWLET_BUILDTYPE from env or RELEASE_TYPE (CI compat)
ifndef PAWLET_BUILDTYPE
ifdef RELEASE_TYPE
RELEASE_TYPE := $(shell echo $(RELEASE_TYPE) | sed -e 's|^PAWLET_||g')
PAWLET_BUILDTYPE := $(RELEASE_TYPE)
endif
endif
# Only recognised types; everything else becomes UNOFFICIAL
ifeq ($(filter RELEASE NIGHTLY SNAPSHOT EXPERIMENTAL,$(PAWLET_BUILDTYPE)),)
PAWLET_BUILDTYPE := UNOFFICIAL
PAWLET_EXTRAVERSION :=
endif
ifeq ($(PAWLET_BUILDTYPE),UNOFFICIAL)
ifneq ($(TARGET_UNOFFICIAL_BUILD_ID),)
PAWLET_EXTRAVERSION := -$(TARGET_UNOFFICIAL_BUILD_ID)
endif
endif
# Full version suffix: <date>-<type>[-extraver]-<device>
PAWLET_VERSION_SUFFIX := $(PAWLET_BUILD_DATE)-$(PAWLET_BUILDTYPE)$(PAWLET_EXTRAVERSION)-$(PAWLET_BUILD)
# Canonical version (used in OTA zip filename)
PAWLET_VERSION := $(PAWLET_MAJOR_VERSION).$(PAWLET_MINOR_VERSION)-$(PAWLET_VERSION_SUFFIX)
# Short display version (major-suffix, like LineageOS 23-<suffix>)
PAWLET_DISPLAY_VERSION := $(PAWLET_MAJOR_VERSION)-$(PAWLET_VERSION_SUFFIX)
# ---------------------------------------------------------------------------
# Security patch level
# ---------------------------------------------------------------------------
# Bumped manually whenever a monthly AOSP security bulletin's patches are
# actually backported into the tree — this is a record of work done, not
# something CI infers automatically. See PawletOS-Build/docs/security-patch-process.md
# and PawletOS-Build/scripts/check_security_patch.py (run the latter to see
# how far behind this date is against the latest published AOSP bulletin).
#PAWLET_SECURITY_PATCH := 2026-07-05
#PLATFORM_SECURITY_PATCH := $(PAWLET_SECURITY_PATCH)
# ---------------------------------------------------------------------------
# System properties written into /product/build.prop
# ---------------------------------------------------------------------------
PRODUCT_PRODUCT_PROPERTIES += \
ro.pawlet.version=$(PAWLET_VERSION) \
ro.pawlet.display.version=$(PAWLET_DISPLAY_VERSION) \
ro.pawlet.build.version=$(PAWLET_MAJOR_VERSION).$(PAWLET_MINOR_VERSION) \
ro.pawlet.releasetype=$(PAWLET_BUILDTYPE)