Skip to content

Commit d35d22e

Browse files
committed
Update enable-webp.patch
1 parent 3fbdf63 commit d35d22e

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed
Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1-
diff --git a/Android.mk b/Android.mk
2-
index ad6d0f40..ac77a18c 100644
31
--- a/Android.mk
42
+++ b/Android.mk
5-
@@ -33,8 +33,8 @@ PNG_LIBRARY_PATH := external/libpng
6-
3+
@@ -31,8 +31,8 @@ PNG_LIBRARY_PATH := external/libpng
74
# Enable this if you want to support loading WebP images
85
# The library path should be a relative path to this directory.
96
-SUPPORT_WEBP ?= false
@@ -12,12 +9,10 @@ index ad6d0f40..ac77a18c 100644
129
+SUPPORT_SAVE_WEBP := true
1310
WEBP_LIBRARY_PATH := external/libwebp
1411

15-
@@ -160,8 +160,8 @@ endif
16-
17-
ifeq ($(SUPPORT_WEBP),true)
12+
@@ -152,7 +152,7 @@ ifeq ($(SUPPORT_WEBP),true)
1813
LOCAL_C_INCLUDES += $(LOCAL_PATH)/$(WEBP_LIBRARY_PATH)/src
1914
LOCAL_CFLAGS += -DLOAD_WEBP
2015
- LOCAL_STATIC_LIBRARIES += webpdemux
2116
+ LOCAL_STATIC_LIBRARIES += webpmux webpdemux
2217
LOCAL_STATIC_LIBRARIES += webp
23-
ifeq ($(SUPPORT_SAVE_WEBP),true)
18+
ifeq ($(SUPPORT_SAVE_WEBP),true)

0 commit comments

Comments
 (0)