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) 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 libcutils \ 31 libdl \ 32 libstagefright_foundation 33 34 LOCAL_MODULE := libstagefrighthw 35 36 include $(BUILD_SHARED_LIBRARY) 37 endif 38 39