1 LOCAL_PATH:= $(call my-dir) 2 include $(CLEAR_VARS) 3 4 LOCAL_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 18 LOCAL_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 28 LOCAL_CFLAGS += -Werror -Wall 29 30 # enable experiments only in userdebug and eng builds 31 ifneq (,$(filter userdebug eng,$(TARGET_BUILD_VARIANT))) 32 LOCAL_CFLAGS += -DENABLE_STAGEFRIGHT_EXPERIMENTS 33 endif 34 35 LOCAL_CLANG := true 36 37 LOCAL_MODULE:= libstagefright_nuplayer 38 39 LOCAL_MODULE_TAGS := eng 40 41 include $(BUILD_STATIC_LIBRARY) 42 43