blob: f19649bd56607a3d18166163488819ca1ee2434b [file] [log] [blame]
Jianhong Jiang3ca47d12009-04-13 19:01:51 -07001ifneq ($(BUILD_WITHOUT_PV),true)
The Android Open Source Project54b6cfa2008-10-21 07:00:00 -07002LOCAL_PATH:= $(call my-dir)
3include $(CLEAR_VARS)
4
5LOCAL_SRC_FILES:= \
Jianhong Jiang3ca47d12009-04-13 19:01:51 -07006 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
The Android Open Source Project54b6cfa2008-10-21 07:00:00 -070012
13LOCAL_SHARED_LIBRARIES := \
Jianhong Jiang3ca47d12009-04-13 19:01:51 -070014 libopencore_player \
15 libopencore_author \
16 libomx_amrenc_sharedlibrary \
17 libandroid_runtime \
18 libnativehelper \
19 libcutils \
20 libutils \
Mathias Agopian25ba5b62009-05-18 15:08:03 -070021 libbinder \
Jianhong Jiang3ca47d12009-04-13 19:01:51 -070022 libmedia \
23 libsgl \
24 libui
The Android Open Source Project54b6cfa2008-10-21 07:00:00 -070025
26LOCAL_STATIC_LIBRARIES :=
27
28LOCAL_C_INCLUDES += \
Jianhong Jiang3ca47d12009-04-13 19:01:51 -070029 external/tremor/Tremor \
Nicolas Catania20cb94e2009-05-12 23:25:55 -070030 frameworks/base/core/jni \
Jianhong Jiang3ca47d12009-04-13 19:01:51 -070031 $(PV_INCLUDES) \
32 $(JNI_H_INCLUDE) \
33 $(call include-path-for, corecg graphics)
The Android Open Source Project54b6cfa2008-10-21 07:00:00 -070034
35LOCAL_CFLAGS +=
36
37LOCAL_LDLIBS := -lpthread
38
39LOCAL_MODULE:= libmedia_jni
40
41include $(BUILD_SHARED_LIBRARY)
The Android Open Source Projectf013e1a2008-12-17 18:05:43 -080042
43# build libsoundpool.so
44include $(LOCAL_PATH)/soundpool/Android.mk
Jianhong Jiang3ca47d12009-04-13 19:01:51 -070045endif