diff options
Diffstat (limited to 'media/libmediaplayerservice/Android.mk')
-rw-r--r-- | media/libmediaplayerservice/Android.mk | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/media/libmediaplayerservice/Android.mk b/media/libmediaplayerservice/Android.mk index 59ecde6..93b7a3a 100644 --- a/media/libmediaplayerservice/Android.mk +++ b/media/libmediaplayerservice/Android.mk @@ -10,13 +10,21 @@ LOCAL_SRC_FILES:= \ MediaRecorderClient.cpp \ MediaPlayerService.cpp \ MetadataRetrieverClient.cpp \ - StagefrightPlayer.cpp \ TestPlayerStub.cpp \ VorbisPlayer.cpp \ VorbisMetadataRetriever.cpp \ MidiMetadataRetriever.cpp \ MidiFile.cpp +ifeq ($(BUILD_WITH_FULL_STAGEFRIGHT),true) + +LOCAL_SRC_FILES += \ + StagefrightPlayer.cpp + +LOCAL_CFLAGS += -DBUILD_WITH_FULL_STAGEFRIGHT=1 + +endif + ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true) LOCAL_LDLIBS += -ldl -lpthread endif |