From b91e0c5ab1f1aea95005c82a4117b7412d081262 Mon Sep 17 00:00:00 2001 From: Anton Hansson Date: Thu, 29 Nov 2018 10:04:33 +0000 Subject: [PATCH] Remove USE_HWC2 plumbing and settings Last use removed in Ibefde5feaeaec8fb68cbc6ea1c019bf8b5e608bb Test: make Change-Id: I0567347379b1d030ed2f8dba7babc1f22be5dac4 --- core/soong_config.mk | 1 - target/board/BoardConfigEmuCommon.mk | 1 - target/board/treble_common.mk | 2 -- 3 files changed, 4 deletions(-) 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