[Huawei Ascend P6, Mate] surdu_petru:
Definitely yes ... but not sure if officially will be for our device !

Already managed to build some VIVANTE libraries : system/lib/egl/libEGL_VIVANTE.so ; system/lib/egl/libGLESv1_CM_VIVANTE.so ; system/lib/egl/libGLESv2_VIVANTE.so ; system/lib/hw/copybit.k3v2oem1.so ; system/lib/hw/gralloc.k3v2oem1.so ; system/lib/hw/hwcomposer.k3v2oem1.so ; system/lib/libGAL.so & system/lib/libGLSLC.so for Android KitKat , but device not boot because my GPU VIVANTE source is not completed & also do not know exactly, which was the right settings ( 0 ? 1 ) for this device .

Android.mk.def

***

##############################################################################

#

# Copyright (c) 2005 - 2012 by Vivante Corp. All rights reserved.

#

# The material in this file is confidential and contains trade secrets

# of Vivante Corporation. This is proprietary information owned by

# Vivante Corporation. No part of this work may be disclosed,

# reproduced, copied, transmitted, or used in any way for any purpose,

# without the express written permission of Vivante Corporation.

#

##############################################################################

#

# Common include file for Android build

#

################################################################################

# Options.

# Select prebuilt binary types.

FIXED_ARCH_TYPE ?= arm

# Set this variable to Kernel directory.

KERNEL_DIR ?= /home/surdu/cm11/kernel/huawei/hwp6_u06

# Cross compiler for building kernel module.

CROSS_COMPILE ?= /home/surdu/cm11/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-

# <ro.hardware> property, which comes from 'Hardware' field of

# 'cpuinfo' of the device.

RO_HARDWARE ?= k3v2oem1

# Enable this to allocate video memory via coherent DMA.

NO_DMA_COHERENT ?= 0

# Enable to start GPU clock in drver.

ENABLE_GPU_CLOCK_BY_DRIVER ?= 0

# Enable platform driver model, available after linux 2.6.x.

USE_PLATFORM_DRIVER ?= 0

# Build as vanilla Linux in Android environment with VDK backend.

USE_LINUX_MODE_FOR_ANDROID ?= 0

# Force all video memory cached.

FORCE_ALL_VIDEO_MEMORY_CACHED ?= 0

# Enable caching for non paged memory.

NONPAGED_MEMORY_CACHEABLE ?= 0

# Enable buffering for non paged memory

NONPAGED_MEMORY_BUFFERABLE ?= 1

# Enable swap rectangle - EXPERIMENTAL

SUPPORT_SWAP_RECTANGLE ?= 0

# Enable memory bank alignment

USE_BANK_ALIGNMENT ?= 0

BANK_BIT_START ?= 0

BANK_BIT_END ?= 0

BANK_CHANNEL_BIT ?= 0

# Enable debug.

DEBUG ?= 0

# Build OpenCL

USE_OPENCL ?= 1

# Enable/disable deferred resolves for 3D apps - used for HWC - EXPERIMENTAL.

DEFER_RESOLVES ?= 0

# CopyBlt Optimization - EXPERIMENTAL.

COPYBLT_OPTIMIZATION ?= 0

# Use linear buffer for GPU apps. Make sure HWC has 2D composition.

ENABLE_LINEAR_BUFFER_FOR_GPU ?= 0

# Enable outer cache patch.

ENABLE_OUTER_CACHE_PATCH ?= 1

# Enable/disable android unaligned linear surface composition address adjust

ENABLE_ANDROID_UNALIGNED_LINEAR_COMPOSITION_ADJUST ?= 0

USE_2D_COMPOSITION	?= 1

#VIVANTE_NO_3D ?= 1

gcdDUMP_FRAME_TGA	= 1

################################################################################

# Variables.

GPU_TYPE := \

$(firstword \

$(filter XAQ2 GCCORE Unified,\

$(notdir $(wildcard $(call my-dir)/arch/*)) \

) \

)

PROPERTY := \

$(firstword \

$(strip $(RO_HARDWARE)) \

$(TARGET_BOOTLOADER_BOARD_NAME) \

$(TARGET_BOARD_PLATFORM)\

default \

)

AQROOT := $(call my-dir)

AQARCH := $(AQROOT)/arch/$(GPU_TYPE)

ARCH_TYPE := $(TARGET_ARCH)

TAG := VIVANTE

export KERNEL_DIR

export CROSS_COMPILE

################################################################################

# Target CFLAGS.

CFLAGS := -DLINUX

ifeq ($(USE_LINUX_MODE_FOR_ANDROID),1)

CFLAGS += -DUSE_VDK=1

else

CFLAGS += -DUSE_VDK=0

endif

ifeq ($(SUPPORT_SWAP_RECTANGLE),1)

CFLAGS += -DgcdSUPPORT_SWAP_RECTANGLE=1

endif

ifeq ($(DEFER_RESOLVES),1)

CFLAGS += -DgcdDEFER_RESOLVES=1

endif

ifeq ($(COPYBLT_OPTIMIZATION),1)

CFLAGS += -DgcdCOPYBLT_OPTIMIZATION=1

endif

PLATFORM_SDK_VERSION ?= 12

ifeq ($(ENABLE_LINEAR_BUFFER_FOR_GPU),1)

CFLAGS += -DgcdGPU_LINEAR_BUFFER_ENABLED=1

endif

ifeq ($(ENABLE_OUTER_CACHE_PATCH),1)

CFLAGS += -DgcdENABLE_OUTER_CACHE_PATCH=1

endif

ifeq ($(USE_BANK_ALIGNMENT), 1)

CFLAGS += -DgcdENABLE_BANK_ALIGNMENT=1

ifneq ($(BANK_BIT_START), 0)

ifneq ($(BANK_BIT_END), 0)

CFLAGS += -DgcdBANK_BIT_START=$(BANK_BIT_START)

CFLAGS += -DgcdBANK_BIT_END=$(BANK_BIT_END)

endif

endif

ifneq ($(BANK_CHANNEL_BIT), 0)

CFLAGS += -DgcdBANK_CHANNEL_BIT=$(BANK_CHANNEL_BIT)

endif

endif

CFLAGS += -DANDROID_SDK_VERSION=$(PLATFORM_SDK_VERSION)

CFLAGS += -fno-strict-aliasing -fno-short-enums

CFLAGS += -Wall -Wno-missing-field-initializers -Wno-unused-parameter

ifeq ($(DEBUG), 1)

CFLAGS += -DDBG=1 -DDEBUG -D_DEBUG -O0 -g

endif

ifeq ($(ENABLE_ANDROID_UNALIGNED_LINEAR_COMPOSITION_ADJUST), 1)

CFLAGS += -DgcdANDROID_UNALIGNED_LINEAR_COMPOSITION_ADJUST=1

else

CFLAGS += -DgcdANDROID_UNALIGNED_LINEAR_COMPOSITION_ADJUST=0

endif

ifeq ($(FORCE_ALL_VIDEO_MEMORY_CACHED), 1)

CFLAGS += -DgcdPAGED_MEMORY_CACHEABLE=1

else

CFLAGS += -DgcdPAGED_MEMORY_CACHEABLE=0

endif

****

Best regards !