The Android Open Source Project | 54b6cfa | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | include $(CLEAR_VARS) |
| 3 | |
Andreas Huber | 55e99c6 | 2010-01-27 13:28:08 -0800 | [diff] [blame] | 4 | ifneq ($(BUILD_WITHOUT_PV),true) |
| 5 | include external/opencore/Config.mk |
| 6 | endif |
| 7 | |
The Android Open Source Project | 54b6cfa | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 8 | LOCAL_SRC_FILES:= \ |
Jianhong Jiang | 3ca47d1 | 2009-04-13 19:01:51 -0700 | [diff] [blame] | 9 | android_media_MediaPlayer.cpp \ |
| 10 | android_media_MediaRecorder.cpp \ |
| 11 | android_media_MediaScanner.cpp \ |
| 12 | android_media_MediaMetadataRetriever.cpp \ |
James Dong | c371194 | 2010-01-19 17:45:38 -0800 | [diff] [blame^] | 13 | android_media_ResampleInputStream.cpp \ |
| 14 | android_media_MediaProfiles.cpp |
The Android Open Source Project | 54b6cfa | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 15 | |
| 16 | LOCAL_SHARED_LIBRARIES := \ |
Jianhong Jiang | 3ca47d1 | 2009-04-13 19:01:51 -0700 | [diff] [blame] | 17 | libandroid_runtime \ |
| 18 | libnativehelper \ |
Jianhong Jiang | 3ca47d1 | 2009-04-13 19:01:51 -0700 | [diff] [blame] | 19 | libutils \ |
Mathias Agopian | 25ba5b6 | 2009-05-18 15:08:03 -0700 | [diff] [blame] | 20 | libbinder \ |
Jianhong Jiang | 3ca47d1 | 2009-04-13 19:01:51 -0700 | [diff] [blame] | 21 | libmedia \ |
Mike Reed | b5af325 | 2009-07-10 15:33:21 -0400 | [diff] [blame] | 22 | libskia \ |
Andreas Huber | e4a8380 | 2010-01-08 10:57:34 -0800 | [diff] [blame] | 23 | libui \ |
| 24 | libcutils |
The Android Open Source Project | 54b6cfa | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 25 | |
Andreas Huber | bfb9fb1 | 2009-12-03 11:31:19 -0800 | [diff] [blame] | 26 | ifneq ($(BUILD_WITHOUT_PV),true) |
Andreas Huber | 37105cc | 2010-01-27 12:39:39 -0800 | [diff] [blame] | 27 | |
Andreas Huber | bfb9fb1 | 2009-12-03 11:31:19 -0800 | [diff] [blame] | 28 | LOCAL_SRC_FILES += \ |
| 29 | android_media_AmrInputStream.cpp |
| 30 | |
| 31 | LOCAL_SHARED_LIBRARIES += \ |
| 32 | libopencore_player \ |
| 33 | libomx_amrenc_sharedlibrary |
| 34 | else |
| 35 | LOCAL_CFLAGS += -DNO_OPENCORE |
| 36 | endif |
| 37 | |
Andreas Huber | e4a8380 | 2010-01-08 10:57:34 -0800 | [diff] [blame] | 38 | ifeq ($(BUILD_WITH_FULL_STAGEFRIGHT),true) |
| 39 | |
| 40 | LOCAL_CFLAGS += -DBUILD_WITH_FULL_STAGEFRIGHT=1 |
| 41 | |
| 42 | LOCAL_SHARED_LIBRARIES += \ |
| 43 | libstagefright |
| 44 | |
| 45 | endif |
| 46 | |
The Android Open Source Project | 54b6cfa | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 47 | LOCAL_STATIC_LIBRARIES := |
| 48 | |
| 49 | LOCAL_C_INCLUDES += \ |
Jianhong Jiang | 3ca47d1 | 2009-04-13 19:01:51 -0700 | [diff] [blame] | 50 | external/tremor/Tremor \ |
Nicolas Catania | 20cb94e | 2009-05-12 23:25:55 -0700 | [diff] [blame] | 51 | frameworks/base/core/jni \ |
Andreas Huber | bfb9fb1 | 2009-12-03 11:31:19 -0800 | [diff] [blame] | 52 | frameworks/base/media/libmedia \ |
Jianhong Jiang | 3ca47d1 | 2009-04-13 19:01:51 -0700 | [diff] [blame] | 53 | $(PV_INCLUDES) \ |
| 54 | $(JNI_H_INCLUDE) \ |
| 55 | $(call include-path-for, corecg graphics) |
The Android Open Source Project | 54b6cfa | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 56 | |
| 57 | LOCAL_CFLAGS += |
| 58 | |
| 59 | LOCAL_LDLIBS := -lpthread |
| 60 | |
| 61 | LOCAL_MODULE:= libmedia_jni |
| 62 | |
| 63 | include $(BUILD_SHARED_LIBRARY) |
The Android Open Source Project | f013e1a | 2008-12-17 18:05:43 -0800 | [diff] [blame] | 64 | |
| 65 | # build libsoundpool.so |
| 66 | include $(LOCAL_PATH)/soundpool/Android.mk |