Export TARGET_BOARD_PLATFORM to soong

Bug: 369980366
Test: lunch aosp_cheetah-trunk_staging-userdebug; \
      m memtrack.gs201
Change-Id: Icf89ec1de42ba6a95622bba3f2cf130c316837f1
This commit is contained in:
Bill Yang 2024-09-27 10:50:48 +00:00 committed by Michael Bestas
parent 40145f38b3
commit 0dcc651b36
No known key found for this signature in database
GPG key ID: CC95044519BE6669

View file

@ -211,6 +211,9 @@ ifneq ($(ENABLE_VENDOR_RIL_SERVICE), true)
$(call soong_config_set_bool,ril,use_aosp_rild,true)
endif
# Export target_board_platform to soong for hardware/google/graphics/common/libmemtrack:memtrack.$(TARGET_BOARD_PLATFORM)
$(call soong_config_set,ANDROID,target_board_platform,$(TARGET_BOARD_PLATFORM))
# Export related variables to soong for hardware/google/graphics/common/libacryl:libacryl
ifdef BOARD_LIBACRYL_DEFAULT_COMPOSITOR
$(call soong_config_set,acryl,libacryl_default_compositor,$(BOARD_LIBACRYL_DEFAULT_COMPOSITOR))