Jianhong Jiang | 3ca47d1 | 2009-04-13 19:01:51 -0700 | [diff] [blame] | 1 | ifneq ($(BUILD_WITHOUT_PV),true) |
The Android Open Source Project | 54b6cfa | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 2 | LOCAL_PATH:= $(call my-dir) |
| 3 | include $(CLEAR_VARS) |
| 4 | |
| 5 | LOCAL_SRC_FILES:= \ |
Jianhong Jiang | 3ca47d1 | 2009-04-13 19:01:51 -0700 | [diff] [blame] | 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 |
The Android Open Source Project | 54b6cfa | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 12 | |
| 13 | LOCAL_SHARED_LIBRARIES := \ |
Jianhong Jiang | 3ca47d1 | 2009-04-13 19:01:51 -0700 | [diff] [blame] | 14 | libopencore_player \ |
| 15 | libopencore_author \ |
| 16 | libomx_amrenc_sharedlibrary \ |
| 17 | libandroid_runtime \ |
| 18 | libnativehelper \ |
| 19 | libcutils \ |
| 20 | libutils \ |
Mathias Agopian | 25ba5b6 | 2009-05-18 15:08:03 -0700 | [diff] [blame] | 21 | libbinder \ |
Jianhong Jiang | 3ca47d1 | 2009-04-13 19:01:51 -0700 | [diff] [blame] | 22 | libmedia \ |
| 23 | libsgl \ |
| 24 | libui |
The Android Open Source Project | 54b6cfa | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 25 | |
| 26 | LOCAL_STATIC_LIBRARIES := |
| 27 | |
| 28 | LOCAL_C_INCLUDES += \ |
Jianhong Jiang | 3ca47d1 | 2009-04-13 19:01:51 -0700 | [diff] [blame] | 29 | external/tremor/Tremor \ |
Nicolas Catania | 20cb94e | 2009-05-12 23:25:55 -0700 | [diff] [blame] | 30 | frameworks/base/core/jni \ |
Jianhong Jiang | 3ca47d1 | 2009-04-13 19:01:51 -0700 | [diff] [blame] | 31 | $(PV_INCLUDES) \ |
| 32 | $(JNI_H_INCLUDE) \ |
| 33 | $(call include-path-for, corecg graphics) |
The Android Open Source Project | 54b6cfa | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 34 | |
| 35 | LOCAL_CFLAGS += |
| 36 | |
| 37 | LOCAL_LDLIBS := -lpthread |
| 38 | |
| 39 | LOCAL_MODULE:= libmedia_jni |
| 40 | |
| 41 | include $(BUILD_SHARED_LIBRARY) |
The Android Open Source Project | f013e1a | 2008-12-17 18:05:43 -0800 | [diff] [blame] | 42 | |
| 43 | # build libsoundpool.so |
| 44 | include $(LOCAL_PATH)/soundpool/Android.mk |
Jianhong Jiang | 3ca47d1 | 2009-04-13 19:01:51 -0700 | [diff] [blame] | 45 | endif |