Do not compile non free codecs if asked

This commit is contained in:
Sylvain Berfini 2015-05-04 17:32:44 +02:00
parent d3ff4a8828
commit e48ecd5109
2 changed files with 14 additions and 5 deletions

View file

@ -99,6 +99,15 @@ ifneq ($(shell ls ./submodules/linphone/mediastreamer2/java/src/org/linphone/med
$(error ./submodules/linphone/mediastreamer2/java/src/org/linphone/mediastream/MediastreamerActivity.java found: please either remove it or move it to MediastreamActivity.java.ignored before continuing.)
endif
ifeq ($(BUILD_NON_FREE_CODECS), 0)
BUILD_OPENH264=0
ENABLE_OPENH264_DECODER=0
BUILD_AMRNB=0
BUILD_AMRWB=0
BUILD_G729=0
BUILD_X264=0
endif
all: update-project generate-apk
ifeq ($(ENABLE_GPL_THIRD_PARTIES),1)
@echo "***************************************************************************"

@ -1 +1 @@
Subproject commit 6eda32d77244d5bdd4c8496891dfde8ca6f6069a
Subproject commit e98e7362a48fbd47856ddf2ecf814b1d8fdd77a1