diff options
author | Andreas Huber <andih@google.com> | 2009-09-11 09:54:52 -0700 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2009-09-11 09:54:52 -0700 |
commit | 2aa39c45072537739873ae6d0d79264fc5fb7349 (patch) | |
tree | 2a88f100e7dee5787d4b76dee9589d539e143829 /media/libmediaplayerservice/Android.mk | |
parent | 6026a514248f0c603d0e8c4a3f542abab3fa1509 (diff) | |
download | frameworks_base-2aa39c45072537739873ae6d0d79264fc5fb7349.zip frameworks_base-2aa39c45072537739873ae6d0d79264fc5fb7349.tar.gz frameworks_base-2aa39c45072537739873ae6d0d79264fc5fb7349.tar.bz2 |
Only build the "full" stagefright (including MediaExtractors and MediaPlayer) if BUILD_WITH_FULL_STAGEFRIGHT define is set (to true).
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 |