Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0946070e authored by Bill Yang's avatar Bill Yang
Browse files

Export related vars to soong for libdrmresource

Bug: 368187606
Test: m libdrmresource
Change-Id: I6e8d346759f2730c4f5ce0f6a3e0f9b0ff38e834
parent 2c429b5a
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -241,3 +241,13 @@ ifdef BOARD_LIBACRYL_G2D_HDR_PLUGIN
  #BOARD_LIBACRYL_G2D_HDR_PLUGIN is set in each board config
  $(call soong_config_set_bool,acryl,libacryl_use_g2d_hdr_plugin,true)
endif

# Export related variables to soong for hardware/google/graphics/common/BoardConfigCFlags.mk
$(call soong_config_set_bool,google_graphics,hwc_no_support_skip_validate,$(if $(filter true,$(HWC_NO_SUPPORT_SKIP_VALIDATE)),true,false))
$(call soong_config_set_bool,google_graphics,hwc_support_color_transform,$(if $(filter true,$(HWC_SUPPORT_COLOR_TRANSFORM)),true,false))
$(call soong_config_set_bool,google_graphics,hwc_support_render_intent,$(if $(filter true,$(HWC_SUPPORT_RENDER_INTENT)),true,false))
$(call soong_config_set_bool,google_graphics,board_uses_virtual_display,$(if $(filter true,$(BOARD_USES_VIRTUAL_DISPLAY)),true,false))
$(call soong_config_set_bool,google_graphics,board_uses_dt,$(if $(filter true,$(BOARD_USES_DT)),true,false))
$(call soong_config_set_bool,google_graphics,board_uses_decon_64bit_address,$(if $(filter true,$(BOARD_USES_DECON_64BIT_ADDRESS)),true,false))
$(call soong_config_set_bool,google_graphics,board_uses_hdrui_gles_conversion,$(if $(filter true,$(BOARD_USES_HDRUI_GLES_CONVERSION)),true,false))
$(call soong_config_set_bool,google_graphics,uses_idisplay_intf_sec,$(if $(filter true,$(USES_IDISPLAY_INTF_SEC)),true,false))