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 LOCAL_C_INCLUDES:= \ 20 $(call include-path-for, frameworks-native)/media/hardware \ 21 $(call include-path-for, frameworks-native)/media/openmax 22 23 LOCAL_SHARED_LIBRARIES := \ 24 libbinder \ 25 libutils \ 26 libcutils \ 27 libui \ 28 libdl \ 29 libstagefright_foundation 30 31 LOCAL_MODULE := libstagefrighthw 32 33 include $(BUILD_SHARED_LIBRARY) 34 endif 35 36