2017-04-17 20:57:07 +02:00
|
|
|
LOCAL_MODULE := WebRtcAec
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES := ./libtgvoip/external/libWebRtcAec_android_$(TARGET_ARCH_ABI).a
|
|
|
|
|
|
|
|
include $(PREBUILT_STATIC_LIBRARY)
|
|
|
|
|
2017-02-02 17:24:40 +01:00
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_MODULE := voip
|
|
|
|
LOCAL_CPPFLAGS := -Wall -std=c++11 -DANDROID -finline-functions -ffast-math -Os -fno-strict-aliasing -O3
|
2017-04-17 20:57:07 +02:00
|
|
|
LOCAL_CFLAGS := -O3 -DUSE_KISS_FFT -fexceptions
|
2017-02-02 17:24:40 +01:00
|
|
|
|
|
|
|
ifeq ($(TARGET_ARCH_ABI),armeabi-v7a)
|
2017-04-17 20:57:07 +02:00
|
|
|
# LOCAL_CPPFLAGS += -mfloat-abi=softfp -mfpu=neon
|
|
|
|
# LOCAL_CFLAGS += -mfloat-abi=softfp -mfpu=neon -DFLOATING_POINT
|
|
|
|
# LOCAL_ARM_NEON := true
|
2017-02-02 17:24:40 +01:00
|
|
|
else
|
2017-04-17 20:57:07 +02:00
|
|
|
LOCAL_CFLAGS += -DFIXED_POINT
|
2017-02-02 17:24:40 +01:00
|
|
|
ifeq ($(TARGET_ARCH_ABI),armeabi)
|
2017-04-17 20:57:07 +02:00
|
|
|
# LOCAL_CPPFLAGS += -mfloat-abi=softfp -mfpu=neon
|
|
|
|
# LOCAL_CFLAGS += -mfloat-abi=softfp -mfpu=neon
|
2017-02-02 17:24:40 +01:00
|
|
|
else
|
|
|
|
ifeq ($(TARGET_ARCH_ABI),x86)
|
|
|
|
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
MY_DIR := libtgvoip
|
|
|
|
|
|
|
|
LOCAL_C_INCLUDES := jni/opus/include jni/boringssl/include/
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES := \
|
2017-04-17 20:57:07 +02:00
|
|
|
./libtgvoip/logging.cpp \
|
|
|
|
./libtgvoip/VoIPController.cpp \
|
|
|
|
./libtgvoip/BufferInputStream.cpp \
|
|
|
|
./libtgvoip/BufferOutputStream.cpp \
|
|
|
|
./libtgvoip/BlockingQueue.cpp \
|
|
|
|
./libtgvoip/audio/AudioInput.cpp \
|
|
|
|
./libtgvoip/os/android/AudioInputOpenSLES.cpp \
|
|
|
|
./libtgvoip/MediaStreamItf.cpp \
|
|
|
|
./libtgvoip/audio/AudioOutput.cpp \
|
|
|
|
./libtgvoip/OpusEncoder.cpp \
|
|
|
|
./libtgvoip/os/android/AudioOutputOpenSLES.cpp \
|
|
|
|
./libtgvoip/JitterBuffer.cpp \
|
|
|
|
./libtgvoip/OpusDecoder.cpp \
|
|
|
|
./libtgvoip/BufferPool.cpp \
|
|
|
|
./libtgvoip/os/android/OpenSLEngineWrapper.cpp \
|
|
|
|
./libtgvoip/os/android/AudioInputAndroid.cpp \
|
|
|
|
./libtgvoip/os/android/AudioOutputAndroid.cpp \
|
|
|
|
./libtgvoip/EchoCanceller.cpp \
|
|
|
|
./libtgvoip/CongestionControl.cpp \
|
|
|
|
./libtgvoip/VoIPServerConfig.cpp \
|
|
|
|
./libtgvoip/NetworkSocket.cpp
|
|
|
|
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|