Refactor product inheritance for comet products

Add an additional layer of inheritance for `aosp_comet`.

This change adds a common layer of inheritance for non-factory
products (comet_generic.mk). This makes it easier to configure
factory and non-factory products differently.

Non-factory `comet` products now inherits from
`device/google/comet/comet_generic.mk` which inherit from
`device/google/comet/device-comet.mk`.

aconfig flags: Flag: EXEMPT mechanical refactoring
build flags: Flag: EXEMPT mechanical refactoring

Bug: 336452008
Bug: 336707612
Test: lunch aosp_comet-trunk_staging-userdebug && m
Change-Id: I22306fbe0eadc217d61a19ebd163265f9d0f12a0
This commit is contained in:
Nelson Li 2024-04-29 02:57:55 +00:00
parent 6caf28cb19
commit 7b45c49c65
2 changed files with 18 additions and 1 deletions

View file

@ -17,7 +17,7 @@
TARGET_LINUX_KERNEL_VERSION := 6.1
$(call inherit-product, device/google/zumapro/aosp_common.mk)
$(call inherit-product, device/google/comet/device-comet.mk)
$(call inherit-product, device/google/comet/comet_generic.mk)
PRODUCT_NAME := aosp_comet
PRODUCT_DEVICE := comet