The Android Open Source Project | 54b6cfa | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | |
| 3 | # |
| 4 | # libmediaplayerservice |
| 5 | # |
| 6 | |
| 7 | include $(CLEAR_VARS) |
| 8 | |
| 9 | LOCAL_SRC_FILES:= \ |
Andreas Huber | 0d596d4 | 2009-08-07 09:30:32 -0700 | [diff] [blame] | 10 | MediaRecorderClient.cpp \ |
| 11 | MediaPlayerService.cpp \ |
Jianhong Jiang | 3ca47d1 | 2009-04-13 19:01:51 -0700 | [diff] [blame] | 12 | MetadataRetrieverClient.cpp \ |
Andreas Huber | 0d596d4 | 2009-08-07 09:30:32 -0700 | [diff] [blame] | 13 | TestPlayerStub.cpp \ |
| 14 | VorbisPlayer.cpp \ |
James Dong | 392ff3b | 2009-09-06 14:29:45 -0700 | [diff] [blame] | 15 | VorbisMetadataRetriever.cpp \ |
| 16 | MidiMetadataRetriever.cpp \ |
Jianhong Jiang | 3ca47d1 | 2009-04-13 19:01:51 -0700 | [diff] [blame] | 17 | MidiFile.cpp |
Jean-Baptiste Queru | 680f8c7 | 2009-03-21 11:40:18 -0700 | [diff] [blame] | 18 | |
Andreas Huber | 2aa39c4 | 2009-09-11 09:54:52 -0700 | [diff] [blame] | 19 | ifeq ($(BUILD_WITH_FULL_STAGEFRIGHT),true) |
| 20 | |
Andreas Huber | 53a76bd | 2009-10-06 16:20:44 -0700 | [diff] [blame] | 21 | LOCAL_SRC_FILES += \ |
Andreas Huber | ea6a38c | 2009-11-16 15:43:38 -0800 | [diff] [blame] | 22 | StagefrightMetadataRetriever.cpp \ |
Andreas Huber | 53a76bd | 2009-10-06 16:20:44 -0700 | [diff] [blame] | 23 | StagefrightPlayer.cpp \ |
Andreas Huber | ea6a38c | 2009-11-16 15:43:38 -0800 | [diff] [blame] | 24 | StagefrightRecorder.cpp |
Andreas Huber | 2aa39c4 | 2009-09-11 09:54:52 -0700 | [diff] [blame] | 25 | |
| 26 | LOCAL_CFLAGS += -DBUILD_WITH_FULL_STAGEFRIGHT=1 |
| 27 | |
| 28 | endif |
| 29 | |
The Android Open Source Project | 54b6cfa | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 30 | ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true) |
| 31 | LOCAL_LDLIBS += -ldl -lpthread |
| 32 | endif |
| 33 | |
Andreas Huber | 0d596d4 | 2009-08-07 09:30:32 -0700 | [diff] [blame] | 34 | LOCAL_SHARED_LIBRARIES := \ |
| 35 | libcutils \ |
| 36 | libutils \ |
| 37 | libbinder \ |
| 38 | libvorbisidec \ |
| 39 | libsonivox \ |
Andreas Huber | 0d596d4 | 2009-08-07 09:30:32 -0700 | [diff] [blame] | 40 | libmedia \ |
| 41 | libandroid_runtime \ |
| 42 | libstagefright \ |
| 43 | libstagefright_omx |
Jean-Baptiste Queru | 680f8c7 | 2009-03-21 11:40:18 -0700 | [diff] [blame] | 44 | |
Andreas Huber | bfb9fb1 | 2009-12-03 11:31:19 -0800 | [diff] [blame^] | 45 | ifneq ($(BUILD_WITHOUT_PV),true) |
| 46 | LOCAL_SHARED_LIBRARIES += \ |
| 47 | libopencore_player \ |
| 48 | libopencore_author |
| 49 | else |
| 50 | LOCAL_CFLAGS += -DNO_OPENCORE |
| 51 | endif |
| 52 | |
Nicolas Catania | 8f5fcab | 2009-07-13 14:37:49 -0700 | [diff] [blame] | 53 | ifneq ($(TARGET_SIMULATOR),true) |
| 54 | LOCAL_SHARED_LIBRARIES += libdl |
| 55 | endif |
| 56 | |
Andreas Huber | 0d596d4 | 2009-08-07 09:30:32 -0700 | [diff] [blame] | 57 | LOCAL_C_INCLUDES := external/tremor/Tremor \ |
Andreas Huber | 9f9afef | 2009-09-15 12:49:11 -0700 | [diff] [blame] | 58 | $(JNI_H_INCLUDE) \ |
Andreas Huber | 0d596d4 | 2009-08-07 09:30:32 -0700 | [diff] [blame] | 59 | $(call include-path-for, graphics corecg) \ |
| 60 | $(TOP)/external/opencore/extern_libs_v2/khronos/openmax/include \ |
Andreas Huber | 784202e | 2009-10-15 13:46:54 -0700 | [diff] [blame] | 61 | $(TOP)/frameworks/base/media/libstagefright/include |
Jean-Baptiste Queru | 680f8c7 | 2009-03-21 11:40:18 -0700 | [diff] [blame] | 62 | |
The Android Open Source Project | 54b6cfa | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 63 | LOCAL_MODULE:= libmediaplayerservice |
| 64 | |
The Android Open Source Project | 54b6cfa | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 65 | include $(BUILD_SHARED_LIBRARY) |
| 66 | |