Android.mk revision bc1713d3b85d7ce656e032da6e4b6b342f14db03
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        NuPlayerDrm.cpp                 \
14        NuPlayerRenderer.cpp            \
15        NuPlayerStreamListener.cpp      \
16        RTSPSource.cpp                  \
17        StreamingSource.cpp             \
18
19LOCAL_C_INCLUDES := \
20	$(TOP)/frameworks/av/media/libstagefright                     \
21	$(TOP)/frameworks/av/media/libstagefright/httplive            \
22	$(TOP)/frameworks/av/media/libstagefright/include             \
23	$(TOP)/frameworks/av/media/libstagefright/mpeg2ts             \
24	$(TOP)/frameworks/av/media/libstagefright/rtsp                \
25	$(TOP)/frameworks/av/media/libstagefright/timedtext           \
26	$(TOP)/frameworks/av/media/libmediaplayerservice              \
27	$(TOP)/frameworks/native/include/media/openmax
28
29LOCAL_CFLAGS += -Werror -Wall
30
31# enable experiments only in userdebug and eng builds
32ifneq (,$(filter userdebug eng,$(TARGET_BUILD_VARIANT)))
33LOCAL_CFLAGS += -DENABLE_STAGEFRIGHT_EXPERIMENTS
34endif
35
36LOCAL_SHARED_LIBRARIES :=       \
37    libbinder                   \
38    libui                       \
39    libmedia                    \
40    libmediadrm                 \
41
42LOCAL_MODULE:= libstagefright_nuplayer
43
44LOCAL_MODULE_TAGS := eng
45
46include $(BUILD_STATIC_LIBRARY)
47
48