TARGET_INIT_VENDOR_LIB := libinit_ttab
-
BOARD_BOOTIMAGE_PARTITION_SIZE := 16777216
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 16777216
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1468006400
# MTK
BOARD_HAS_MTK_HARDWARE := true
-MTK_HARDWARE := true
-
-# to be used with hardware/mediatek repo
-BOARD_HAS_MTK := true
-MTK_HWC_CHIP := mt8127
-MTK_HWC_SUPPORT := true
-MTK_WFD_SUPPORT := true
-MTK_PQ_SUPPORT := true
-MTK_ION_SUPPORT := true
-MTK_HDMI_SUPPORT := false
-MTK_SENSOR_SUPPORT := true
-
-# Flags
-TARGET_GLOBAL_CFLAGS += -mfpu=neon -mfloat-abi=softfp
-TARGET_GLOBAL_CPPFLAGS += -DMTK_HARDWARE -mfpu=neon -mfloat-abi=softfp
-TARGET_GLOBAL_CFLAGS += -DREFRESH_RATE=60
-TARGET_GLOBAL_CFLAGS += -DMTK_HARDWARE
-TARGET_GLOBAL_CFLAGS += -DADD_LEGACY_ACQUIRE_BUFFER_SYMBOL
-TARGET_GLOBAL_CFLAGS += -DNO_SECURE_DISCARD
# Graphics
-USE_OPENGL_RENDERER := true
BOARD_EGL_CFG := $(DEVICE_DIR)/configs/egl.cfg
-TARGET_USES_C2D_COMPOSITION := true
-TARGET_USES_OVERLAY := true
-TARGET_USES_ION := true
-TARGET_DISPLAY_USE_RETIRE_FENCE := true
-MAX_EGL_CACHE_KEY_SIZE := 12*1024
-MAX_EGL_CACHE_SIZE := 1024*1024
-BOARD_EGL_NEEDS_HANDLE_VALUE := true
-
-TARGET_HAS_LEGACY_CAMERA_HAL1 := true
-TARGET_USES_MEDIA_EXTENSIONS := true
# Surfaceflinger optimization for VD surfaces
TARGET_FORCE_HWC_FOR_VIRTUAL_DISPLAYS := true