Refactor product inheritance for ripcurrentpro products

Add an additional layer of inheritance for `aosp_ripcurrentpro`, and
`aosp_ripcurrentpro_fullmte`.

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

Non-factory `ripcurrentpro` products now inherits from
`device/google/caimito/ripcurrentpro_generic.mk` which inherit from
`device/google/caimito/device-ripcurrentpro.mk`.

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

Bug: 336452008
Bug: 336706040
Test: lunch aosp_ripcurrentpro-trunk_staging-userdebug && m
      lunch aosp_ripcurrentpro_fullmte-trunk_staging-userdebug && m

Change-Id: I852a670a40846722274e2232e390d2ce4235bb6c
This commit is contained in:
Nelson Li 2024-04-24 07:42:21 +00:00
parent 45aae62864
commit 631904912e
2 changed files with 18 additions and 1 deletions

View file

@ -20,7 +20,7 @@ USE_SWIFTSHADER := false
BOARD_USES_SWIFTSHADER := false
$(call inherit-product, device/google/zumapro/aosp_common.mk)
$(call inherit-product, device/google/caimito/device-ripcurrentpro.mk)
$(call inherit-product, device/google/caimito/ripcurrentpro_generic.mk)
PRODUCT_NAME := aosp_ripcurrentpro
PRODUCT_DEVICE := ripcurrentpro