1LOCAL_PATH:= $(call my-dir) 2include $(CLEAR_VARS) 3 4LOCAL_SRC_FILES:= \ 5 GenericSource.cpp \ 6 HTTPLiveSource.cpp \ 7 NuPlayer.cpp \ 8 NuPlayerCCDecoder.cpp \ 9 NuPlayerDecoder.cpp \ 10 NuPlayerDecoderBase.cpp \ 11 NuPlayerDecoderPassThrough.cpp \ 12 NuPlayerDriver.cpp \ 13 NuPlayerRenderer.cpp \ 14 NuPlayerStreamListener.cpp \ 15 RTSPSource.cpp \ 16 StreamingSource.cpp \ 17 18LOCAL_C_INCLUDES := \ 19 $(TOP)/frameworks/av/media/libstagefright \ 20 $(TOP)/frameworks/av/media/libstagefright/httplive \ 21 $(TOP)/frameworks/av/media/libstagefright/include \ 22 $(TOP)/frameworks/av/media/libstagefright/mpeg2ts \ 23 $(TOP)/frameworks/av/media/libstagefright/rtsp \ 24 $(TOP)/frameworks/av/media/libstagefright/timedtext \ 25 $(TOP)/frameworks/av/media/libmediaplayerservice \ 26 $(TOP)/frameworks/native/include/media/openmax 27 28LOCAL_CFLAGS += -Werror -Wall 29 30# enable experiments only in userdebug and eng builds 31ifneq (,$(filter userdebug eng,$(TARGET_BUILD_VARIANT))) 32LOCAL_CFLAGS += -DENABLE_STAGEFRIGHT_EXPERIMENTS 33endif 34 35LOCAL_CLANG := true 36 37LOCAL_MODULE:= libstagefright_nuplayer 38 39LOCAL_MODULE_TAGS := eng 40 41include $(BUILD_STATIC_LIBRARY) 42 43