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 \ |
Mathias Agopian | 000479f | 2010-02-09 17:46:37 -0800 | [diff] [blame] | 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 += \ |
| 22 | StagefrightPlayer.cpp \ |
Andreas Huber | ea6a38c | 2009-11-16 15:43:38 -0800 | [diff] [blame] | 23 | StagefrightRecorder.cpp |
Andreas Huber | 2aa39c4 | 2009-09-11 09:54:52 -0700 | [diff] [blame] | 24 | |
| 25 | LOCAL_CFLAGS += -DBUILD_WITH_FULL_STAGEFRIGHT=1 |
| 26 | |
| 27 | endif |
| 28 | |
The Android Open Source Project | 54b6cfa | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 29 | ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true) |
| 30 | LOCAL_LDLIBS += -ldl -lpthread |
| 31 | endif |
| 32 | |
Mathias Agopian | 000479f | 2010-02-09 17:46:37 -0800 | [diff] [blame] | 33 | LOCAL_SHARED_LIBRARIES := \ |
| 34 | libcutils \ |
| 35 | libutils \ |
| 36 | libbinder \ |
| 37 | libvorbisidec \ |
| 38 | libsonivox \ |
| 39 | libmedia \ |
James Dong | b00e246 | 2010-04-26 17:48:26 -0700 | [diff] [blame] | 40 | libcamera_client \ |
Mathias Agopian | 000479f | 2010-02-09 17:46:37 -0800 | [diff] [blame] | 41 | libandroid_runtime \ |
| 42 | libstagefright \ |
| 43 | libstagefright_omx \ |
| 44 | libstagefright_color_conversion \ |
| 45 | libsurfaceflinger_client |
Jean-Baptiste Queru | 680f8c7 | 2009-03-21 11:40:18 -0700 | [diff] [blame] | 46 | |
Andreas Huber | bfb9fb1 | 2009-12-03 11:31:19 -0800 | [diff] [blame] | 47 | ifneq ($(BUILD_WITHOUT_PV),true) |
| 48 | LOCAL_SHARED_LIBRARIES += \ |
| 49 | libopencore_player \ |
| 50 | libopencore_author |
| 51 | else |
| 52 | LOCAL_CFLAGS += -DNO_OPENCORE |
| 53 | endif |
| 54 | |
Nicolas Catania | 8f5fcab | 2009-07-13 14:37:49 -0700 | [diff] [blame] | 55 | ifneq ($(TARGET_SIMULATOR),true) |
| 56 | LOCAL_SHARED_LIBRARIES += libdl |
| 57 | endif |
| 58 | |
Mathias Agopian | 000479f | 2010-02-09 17:46:37 -0800 | [diff] [blame] | 59 | LOCAL_C_INCLUDES := \ |
Andreas Huber | 9f9afef | 2009-09-15 12:49:11 -0700 | [diff] [blame] | 60 | $(JNI_H_INCLUDE) \ |
Andreas Huber | 0d596d4 | 2009-08-07 09:30:32 -0700 | [diff] [blame] | 61 | $(call include-path-for, graphics corecg) \ |
| 62 | $(TOP)/external/opencore/extern_libs_v2/khronos/openmax/include \ |
Gloria Wang | 8d00b53 | 2010-02-12 16:28:53 -0800 | [diff] [blame] | 63 | $(TOP)/frameworks/base/media/libstagefright/include \ |
Gloria Wang | 2c51014 | 2010-02-08 14:37:41 -0800 | [diff] [blame] | 64 | $(TOP)/external/tremolo/Tremolo |
Gloria Wang | 2c51014 | 2010-02-08 14:37:41 -0800 | [diff] [blame] | 65 | |
The Android Open Source Project | 54b6cfa | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 66 | LOCAL_MODULE:= libmediaplayerservice |
| 67 | |
The Android Open Source Project | 54b6cfa | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 68 | include $(BUILD_SHARED_LIBRARY) |
| 69 | |