1 ifeq ($(BUILD_WITH_FULL_STAGEFRIGHT),true) 2 3 LOCAL_PATH := $(call my-dir) 4 include $(CLEAR_VARS) 5 6 LOCAL_SRC_FILES := \ 7 WrsOMXPlugin.cpp 8 9 10 LOCAL_CFLAGS := $(PV_CFLAGS_MINUS_VISIBILITY) -Werror 11 12 #enable log 13 #LOCAL_CFLAGS += -DLOG_NDEBUG=0 14 15 ifeq ($(USE_MEDIASDK),true) 16 LOCAL_CFLAGS += -DUSE_MEDIASDK 17 endif 18 19 ifeq ($(TARGET_HAS_ISV), true) 20 LOCAL_CFLAGS +=-DTARGET_HAS_ISV 21 endif 22 23 LOCAL_C_INCLUDES:= \ 24 $(call include-path-for, frameworks-native)/media/hardware \ 25 $(call include-path-for, frameworks-native)/media/openmax 26 27 LOCAL_SHARED_LIBRARIES := \ 28 libbinder \ 29 libutils \ 30 liblog \ 31 libcutils \ 32 libdl \ 33 libstagefright_foundation 34 35 LOCAL_MODULE := libstagefrighthw 36 37 include $(BUILD_SHARED_LIBRARY) 38 endif 39 40