summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2015-02-24 18:49:44 -0800
committerJames Zern <jzern@google.com>2015-03-03 17:53:49 -0800
commita0d8ca576fc6baa5a80d73419f5bf551937d59f4 (patch)
tree2f851436d4ea60151ea889654cc7775c89d3e0dc
parent34b1d29e3c771e1f8809f6ebd7c840e237797464 (diff)
downloadlibwebp-a0d8ca576fc6baa5a80d73419f5bf551937d59f4.tar.gz
examples/Android.mk: add webpmux_example target
renamed from 'webpmux' to avoid name clash with the library module name (cherry picked from commit 6cef0e4fa426517029ae63eac93fac2ff7a64b46) Change-Id: I33bbdbdcb25a6f35bd85c9a0dbbb93b2428b05f3
-rw-r--r--examples/Android.mk25
1 files changed, 25 insertions, 0 deletions
diff --git a/examples/Android.mk b/examples/Android.mk
index fcc92268..5489f03b 100644
--- a/examples/Android.mk
+++ b/examples/Android.mk
@@ -1,5 +1,8 @@
LOCAL_PATH := $(call my-dir)
+################################################################################
+# libexample_util
+
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
@@ -12,6 +15,9 @@ LOCAL_MODULE := example_util
include $(BUILD_STATIC_LIBRARY)
+################################################################################
+# cwebp
+
include $(CLEAR_VARS)
# Note: to enable jpeg/png encoding the sources from AOSP can be used with
@@ -32,6 +38,9 @@ LOCAL_MODULE := cwebp
include $(BUILD_EXECUTABLE)
+################################################################################
+# dwebp
+
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
@@ -44,3 +53,19 @@ LOCAL_STATIC_LIBRARIES := example_util webp
LOCAL_MODULE := dwebp
include $(BUILD_EXECUTABLE)
+
+################################################################################
+# webpmux
+
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES := \
+ webpmux.c \
+
+LOCAL_CFLAGS := $(WEBP_CFLAGS)
+LOCAL_C_INCLUDES := $(LOCAL_PATH)/../src
+LOCAL_STATIC_LIBRARIES := example_util webpmux webp
+
+LOCAL_MODULE := webpmux_example
+
+include $(BUILD_EXECUTABLE)