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 \ |
| 21 | libmedia \ |
| 22 | libsgl \ |
| 23 | libui |
The Android Open Source Project | 54b6cfa | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 24 | |
| 25 | LOCAL_STATIC_LIBRARIES := |
| 26 | |
| 27 | LOCAL_C_INCLUDES += \ |
Jianhong Jiang | 3ca47d1 | 2009-04-13 19:01:51 -0700 | [diff] [blame] | 28 | external/tremor/Tremor \ |
| 29 | $(PV_INCLUDES) \ |
| 30 | $(JNI_H_INCLUDE) \ |
| 31 | $(call include-path-for, corecg graphics) |
The Android Open Source Project | 54b6cfa | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 32 | |
| 33 | LOCAL_CFLAGS += |
| 34 | |
| 35 | LOCAL_LDLIBS := -lpthread |
| 36 | |
| 37 | LOCAL_MODULE:= libmedia_jni |
| 38 | |
| 39 | include $(BUILD_SHARED_LIBRARY) |
The Android Open Source Project | f013e1a | 2008-12-17 18:05:43 -0800 | [diff] [blame] | 40 | |
| 41 | # build libsoundpool.so |
| 42 | include $(LOCAL_PATH)/soundpool/Android.mk |
Jianhong Jiang | 3ca47d1 | 2009-04-13 19:01:51 -0700 | [diff] [blame] | 43 | endif |