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