From a0d8ca576fc6baa5a80d73419f5bf551937d59f4 Mon Sep 17 00:00:00 2001 From: James Zern Date: Tue, 24 Feb 2015 18:49:44 -0800 Subject: [PATCH] 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 --- examples/Android.mk | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) 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)