Android.mk revision b5af325fb1d21a9295bf3009cc95e5ead4999247
1ifneq ($(BUILD_WITHOUT_PV),true)
2LOCAL_PATH:= $(call my-dir)
3include $(CLEAR_VARS)
4
5LOCAL_SRC_FILES:= \
6    android_media_MediaPlayer.cpp \
7    android_media_MediaRecorder.cpp \
8    android_media_MediaScanner.cpp \
9    android_media_MediaMetadataRetriever.cpp \
10    android_media_AmrInputStream.cpp \
11    android_media_ResampleInputStream.cpp
12
13LOCAL_SHARED_LIBRARIES := \
14    libopencore_player \
15    libopencore_author \
16    libomx_amrenc_sharedlibrary \
17    libandroid_runtime \
18    libnativehelper \
19    libcutils \
20    libutils \
21    libbinder \
22    libmedia \
23    libskia \
24    libui
25
26LOCAL_STATIC_LIBRARIES :=
27
28LOCAL_C_INCLUDES += \
29    external/tremor/Tremor \
30    frameworks/base/core/jni \
31    $(PV_INCLUDES) \
32    $(JNI_H_INCLUDE) \
33    $(call include-path-for, corecg graphics)
34
35LOCAL_CFLAGS +=
36
37LOCAL_LDLIBS := -lpthread
38
39LOCAL_MODULE:= libmedia_jni
40
41include $(BUILD_SHARED_LIBRARY)
42
43# build libsoundpool.so
44include $(LOCAL_PATH)/soundpool/Android.mk
45endif
46