diff --git a/core/soong_config.mk b/core/soong_config.mk index 48dd2287c..279a612fc 100644 --- a/core/soong_config.mk +++ b/core/soong_config.mk @@ -96,7 +96,6 @@ $(call add_json_list, CoverageExcludePaths, $(COVERAGE_EXCLUDE_PATH $(call add_json_bool, ArtUseReadBarrier, $(call invert_bool,$(filter false,$(PRODUCT_ART_USE_READ_BARRIER)))) $(call add_json_bool, Binder32bit, $(BINDER32BIT)) $(call add_json_str, BtConfigIncludeDir, $(BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR)) -$(call add_json_bool, Device_uses_hwc2, $(filter true,$(TARGET_USES_HWC2))) $(call add_json_list, DeviceKernelHeaders, $(TARGET_PROJECT_SYSTEM_INCLUDES)) $(call add_json_bool, DevicePrefer32BitApps, $(filter true,$(TARGET_PREFER_32_BIT_APPS))) $(call add_json_bool, DevicePrefer32BitExecutables, $(filter true,$(TARGET_PREFER_32_BIT_EXECUTABLES))) diff --git a/target/board/BoardConfigEmuCommon.mk b/target/board/BoardConfigEmuCommon.mk index 69ae6f033..38f79fdcd 100644 --- a/target/board/BoardConfigEmuCommon.mk +++ b/target/board/BoardConfigEmuCommon.mk @@ -10,7 +10,6 @@ TARGET_BOOTLOADER_BOARD_NAME := goldfish_$(TARGET_ARCH) # no hardware camera USE_CAMERA_STUB := true -TARGET_USES_HWC2 := true NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3 # Build OpenGLES emulation guest and host libraries diff --git a/target/board/treble_common.mk b/target/board/treble_common.mk index 9413a75d0..eda5b3770 100644 --- a/target/board/treble_common.mk +++ b/target/board/treble_common.mk @@ -44,8 +44,6 @@ TARGET_COPY_OUT_VENDOR := vendor # Android generic system image always create metadata partition BOARD_USES_METADATA_PARTITION := true -# Generic AOSP image does NOT support HWC1 -TARGET_USES_HWC2 := true # Set emulator framebuffer display device buffer count to 3 NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3