lynx: add etm modules in userdebug/eng builds

ETM modules are removed in kernel prebuilts.
So add them manually.

Bug: 364652655
Bug: 364309766
Test: build lynx
Flag: build.RELEASE_ETM_IN_USERDEBUG_ENG
Change-Id: I7faa1701445e477a7521e67d5274ccbf30d19fd0
此提交包含在:
Yabin Cui
2024-09-04 12:05:36 -07:00
父節點 2695d16fe2
當前提交 98621fdd5f
共有 2 個檔案被更改,包括 13 行新增0 行删除

查看文件

@@ -342,3 +342,10 @@ PRODUCT_PRODUCT_PROPERTIES += \
# Bluetooth device id
PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.device_id.product_id=20491
# ETM
ifneq (,$(RELEASE_ETM_IN_USERDEBUG_ENG))
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
$(call inherit-product-if-exists, device/google/common/etm/device-userdebug-modules.mk)
endif
endif

查看文件

@@ -43,3 +43,9 @@ include device/google/gs201/BoardConfig-common.mk
-include vendor/google_devices/lynx/proprietary/BoardConfigVendor.mk
include device/google/lynx-sepolicy/lynx-sepolicy.mk
include device/google/gs201/wifi/qcom/BoardConfig-wifi.mk
ifneq (,$(RELEASE_ETM_IN_USERDEBUG_ENG))
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
-include device/google/common/etm/BoardUserdebugModules.mk
endif
endif