Refactor product inheritance for tegu products.

Add an additional layer of inheritance for tegu products.

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

Non-factory `tegu` products now inherits from
`device/google/tegu/tegu_generic.mk` which inherit from
`device/google/tegu/device-tegu.mk`.

FLAG: EXEMPT mechanical refactoring

Bug: 336452008
Bug: 345198819
Test: lunch tegu-trunk_staging-userdebug && m
Change-Id: I5a48fe09f825ec7d8dff50ff36b1c1b1b1a6fa22
This commit is contained in:
Arindam Mondal 2024-06-05 11:03:05 +00:00
parent bf2d38ec1b
commit 64a738e66f
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/tegu/device-tegu.mk)
$(call inherit-product, device/google/tegu/tegu_generic.mk)
PRODUCT_NAME := aosp_tegu
PRODUCT_DEVICE := tegu