-
Notifications
You must be signed in to change notification settings - Fork 4
/
twrp_0001.patch
51 lines (45 loc) · 1.65 KB
/
twrp_0001.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
From 9149daea6ccf09d55031bab88a086e6d30def9ed Mon Sep 17 00:00:00 2001
From: HazouPH <jgrharbers@gmail.com>
Date: Mon, 6 Jan 2014 15:46:39 +0100
Subject: [PATCH] Add x86 encoder for pixelflinger
---
crypto/cryptfs/Android.mk | 6 +++++-
minuitwrp/Android.mk | 6 ++++++
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/crypto/cryptfs/Android.mk b/crypto/cryptfs/Android.mk
index 62713fe..f3d37bd 100644
--- a/crypto/cryptfs/Android.mk
+++ b/crypto/cryptfs/Android.mk
@@ -45,10 +45,14 @@ LOCAL_STATIC_LIBRARIES += libminuitwrp libpixelflinger_static libpng libjpegtwrp
LOCAL_SHARED_LIBRARIES += libz libc libstlport libcutils libstdc++ libmincrypt libext4_utils
LOCAL_STATIC_LIBRARIES += libcrypt_samsung
+#libpixelflinger_static for x86 is using encoder under hardware/intel/apache-harmony
+ifeq ($(TARGET_ARCH),x86)
+LOCAL_STATIC_LIBRARIES += libenc
+endif
LOCAL_STATIC_LIBRARIES += $(TARGET_RECOVERY_UI_LIB)
#LOCAL_STATIC_LIBRARIES += libfs_mgrtwrp
LOCAL_MODULE_CLASS := UTILITY_EXECUTABLES
LOCAL_MODULE_PATH := $(PRODUCT_OUT)/utilities
include $(BUILD_EXECUTABLE)
-endif
\ No newline at end of file
+endif
diff --git a/minuitwrp/Android.mk b/minuitwrp/Android.mk
index e1bf76e..ff86bf0 100644
--- a/minuitwrp/Android.mk
+++ b/minuitwrp/Android.mk
@@ -60,6 +60,12 @@ ifneq ($(BOARD_USE_CUSTOM_RECOVERY_FONT),)
endif
LOCAL_SHARED_LIBRARIES += libz libc libcutils libjpeg
LOCAL_STATIC_LIBRARIES += libpng libpixelflinger_static
+
+#libpixelflinger_static for x86 is using encoder under hardware/intel/apache-harmony
+ifeq ($(TARGET_ARCH),x86)
+LOCAL_STATIC_LIBRARIES += libenc
+endif
+
LOCAL_MODULE_TAGS := eng
LOCAL_MODULE := libminuitwrp
--
1.8.3.2