The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | include $(CLEAR_VARS) |
| 3 | |
| 4 | LOCAL_SRC_FILES:= \ |
niko | bc72692 | 2009-07-20 15:07:26 -0700 | [diff] [blame] | 5 | AudioTrack.cpp \ |
| 6 | IAudioFlinger.cpp \ |
| 7 | IAudioFlingerClient.cpp \ |
| 8 | IAudioTrack.cpp \ |
| 9 | IAudioRecord.cpp \ |
| 10 | AudioRecord.cpp \ |
| 11 | AudioSystem.cpp \ |
| 12 | mediaplayer.cpp \ |
| 13 | IMediaPlayerService.cpp \ |
| 14 | IMediaPlayerClient.cpp \ |
| 15 | IMediaPlayer.cpp \ |
| 16 | IMediaRecorder.cpp \ |
| 17 | Metadata.cpp \ |
| 18 | mediarecorder.cpp \ |
| 19 | IMediaMetadataRetriever.cpp \ |
| 20 | mediametadataretriever.cpp \ |
| 21 | ToneGenerator.cpp \ |
| 22 | JetPlayer.cpp \ |
Eric Laurent | a553c25 | 2009-07-17 12:17:14 -0700 | [diff] [blame] | 23 | IOMX.cpp \ |
Andreas Huber | bfb9fb1 | 2009-12-03 11:31:19 -0800 | [diff] [blame] | 24 | IAudioPolicyService.cpp \ |
| 25 | MediaScanner.cpp \ |
| 26 | MediaScannerClient.cpp \ |
James Dong | 34bbc22 | 2010-01-15 18:13:58 -0800 | [diff] [blame] | 27 | autodetect.cpp \ |
James Dong | c371194 | 2010-01-19 17:45:38 -0800 | [diff] [blame] | 28 | IMediaDeathNotifier.cpp \ |
| 29 | MediaProfiles.cpp |
Andreas Huber | bfb9fb1 | 2009-12-03 11:31:19 -0800 | [diff] [blame] | 30 | |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 31 | LOCAL_SHARED_LIBRARIES := \ |
Mathias Agopian | 000479f | 2010-02-09 17:46:37 -0800 | [diff] [blame] | 32 | libui libcutils libutils libbinder libsonivox libicuuc libexpat libsurfaceflinger_client libcamera_client |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 33 | |
| 34 | LOCAL_MODULE:= libmedia |
| 35 | |
| 36 | ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true) |
Mathias Agopian | ac2dd4d | 2009-07-13 22:58:25 -0700 | [diff] [blame] | 37 | LOCAL_LDLIBS += -ldl -lpthread |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 38 | endif |
| 39 | |
| 40 | ifneq ($(TARGET_SIMULATOR),true) |
| 41 | LOCAL_SHARED_LIBRARIES += libdl |
| 42 | endif |
| 43 | |
| 44 | LOCAL_C_INCLUDES := \ |
Marco Nelissen | c39d2e3 | 2009-09-20 10:42:13 -0700 | [diff] [blame] | 45 | $(JNI_H_INCLUDE) \ |
| 46 | $(call include-path-for, graphics corecg) \ |
James Dong | c371194 | 2010-01-19 17:45:38 -0800 | [diff] [blame] | 47 | $(TOP)/external/opencore/extern_libs_v2/khronos/openmax/include \ |
| 48 | external/speex/include \ |
| 49 | external/speex/libspeex \ |
| 50 | external/icu4c/common \ |
| 51 | external/expat/lib |
Marco Nelissen | c39d2e3 | 2009-09-20 10:42:13 -0700 | [diff] [blame] | 52 | |
| 53 | LOCAL_STATIC_LIBRARIES := libspeex |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 54 | |
| 55 | include $(BUILD_SHARED_LIBRARY) |