diff options
author | John Stultz <john.stultz@linaro.org> | 2018-04-27 17:10:45 -0700 |
---|---|---|
committer | Alistair Strachan <astrachan@google.com> | 2018-06-16 01:16:28 -0700 |
commit | cb824d474071d3823b8dc25c950cf9f37b2e9da4 (patch) | |
tree | 7654f90c5f330e2b1284e2519e5eef0761dbc262 | |
parent | 7d9fedef0e44ae034b39d3389b13b14b25ede53b (diff) | |
download | hikey-cb824d474071d3823b8dc25c950cf9f37b2e9da4.tar.gz |
hikey: gralloc: Treble changes
This patch provides gralloc changes that are needed
to work with FULL_TREBLE enabled
Credit for this patch goes to Vishal Bhoj <vishal.bhoj@linaro.org>
who basically was the original author and magician
who got things working.
I've only refactored and split up his changes to help
with the submissions.
Change-Id: I567bce33f7eb476dd38bbbe3a9a07c01b5c395f6
Signed-off-by: John Stultz <john.stultz@linaro.org>
-rw-r--r-- | gralloc/Android.mk | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gralloc/Android.mk b/gralloc/Android.mk index 7f682fc2..8c418425 100644 --- a/gralloc/Android.mk +++ b/gralloc/Android.mk @@ -23,11 +23,8 @@ LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_PRELINK_MODULE := false -ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 21 && echo OK),OK) - LOCAL_MODULE_RELATIVE_PATH := hw -else - LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw -endif +LOCAL_MODULE_RELATIVE_PATH := hw +LOCAL_VENDOR_MODULE := true MALI_DDK_TEST_PATH := hardware/arm/ |