diff options
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk new file mode 100644 index 0000000..a6596b0 --- /dev/null +++ b/Android.mk @@ -0,0 +1,35 @@ +ifeq ($(BUILD_WITH_FULL_STAGEFRIGHT),true) + +LOCAL_PATH := $(call my-dir) +include $(CLEAR_VARS) + +LOCAL_SRC_FILES := \ + WrsOMXPlugin.cpp + + +LOCAL_CFLAGS := $(PV_CFLAGS_MINUS_VISIBILITY) + +#enable log +#LOCAL_CFLAGS += -DLOG_NDEBUG=0 + +ifeq ($(USE_MEDIASDK),true) + LOCAL_CFLAGS += -DUSE_MEDIASDK +endif + +LOCAL_C_INCLUDES:= \ + $(call include-path-for, frameworks-native)/media/hardware \ + $(call include-path-for, frameworks-native)/media/openmax + +LOCAL_SHARED_LIBRARIES := \ + libbinder \ + libutils \ + libcutils \ + libui \ + libdl \ + libstagefright_foundation + +LOCAL_MODULE := libstagefrighthw + +include $(BUILD_SHARED_LIBRARY) +endif + |