mirror of
https://github.com/webmproject/libwebp.git
synced 2025-04-04 16:06:49 +02:00
Android.mk: move dwebp to examples/Android.mk
this depends on the top-level Android.mk for shared flags Change-Id: Id418eb9639e839518a921ffcb6a376ce10aafbd2
This commit is contained in:
parent
73d8fca01e
commit
ca0fa7c7a5
14
Android.mk
14
Android.mk
@ -99,18 +99,6 @@ else
|
|||||||
include $(BUILD_STATIC_LIBRARY)
|
include $(BUILD_STATIC_LIBRARY)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
include $(LOCAL_PATH)/examples/Android.mk
|
||||||
|
|
||||||
LOCAL_SRC_FILES := \
|
|
||||||
examples/dwebp.c \
|
|
||||||
examples/example_util.c \
|
|
||||||
|
|
||||||
LOCAL_CFLAGS := $(WEBP_CFLAGS)
|
|
||||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/src
|
|
||||||
LOCAL_STATIC_LIBRARIES := webp
|
|
||||||
|
|
||||||
LOCAL_MODULE := dwebp
|
|
||||||
|
|
||||||
include $(BUILD_EXECUTABLE)
|
|
||||||
|
|
||||||
$(call import-module,android/cpufeatures)
|
$(call import-module,android/cpufeatures)
|
||||||
|
26
examples/Android.mk
Normal file
26
examples/Android.mk
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
LOCAL_PATH := $(call my-dir)
|
||||||
|
|
||||||
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
|
LOCAL_SRC_FILES := \
|
||||||
|
example_util.c \
|
||||||
|
|
||||||
|
LOCAL_CFLAGS := $(WEBP_CFLAGS)
|
||||||
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../src
|
||||||
|
|
||||||
|
LOCAL_MODULE := example_util
|
||||||
|
|
||||||
|
include $(BUILD_STATIC_LIBRARY)
|
||||||
|
|
||||||
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
|
LOCAL_SRC_FILES := \
|
||||||
|
dwebp.c \
|
||||||
|
|
||||||
|
LOCAL_CFLAGS := $(WEBP_CFLAGS)
|
||||||
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../src
|
||||||
|
LOCAL_STATIC_LIBRARIES := example_util webp
|
||||||
|
|
||||||
|
LOCAL_MODULE := dwebp
|
||||||
|
|
||||||
|
include $(BUILD_EXECUTABLE)
|
Loading…
x
Reference in New Issue
Block a user