add android makefile, some modification in vpx makefile to build encoder from c source for now
Review URL: http://webrtc-codereview.appspot.com/29012 git-svn-id: http://webrtc.googlecode.com/svn/trunk@50 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
e90067aca5
commit
0b0c28c495
11
Android.mk
11
Android.mk
@ -44,17 +44,18 @@ include $(MY_WEBRTC_ROOT_PATH)/modules/video_coding/codecs/i420/main/source/Andr
|
||||
include $(MY_WEBRTC_ROOT_PATH)/modules/video_coding/codecs/vp8/main/source/Android.mk
|
||||
include $(MY_WEBRTC_ROOT_PATH)/modules/video_coding/main/source/Android.mk
|
||||
include $(MY_WEBRTC_ROOT_PATH)/modules/video_processing/main/source/Android.mk
|
||||
include $(MY_WEBRTC_ROOT_PATH)/modules/video_mixer/main/source/Android.mk
|
||||
include $(MY_WEBRTC_ROOT_PATH)/modules/video_render/main/source/Android.mk
|
||||
include $(MY_WEBRTC_ROOT_PATH)/video_engine/main/source/Android.mk
|
||||
|
||||
# third party
|
||||
#include $(MY_WEBRTC_ROOT_PATH)/third_party/libvpx/Android.mk
|
||||
include $(MY_WEBRTC_ROOT_PATH)/libvpx.mk
|
||||
|
||||
# build .so
|
||||
include $(MY_WEBRTC_ROOT_PATH)/android-webrtc.mk
|
||||
|
||||
# build test app
|
||||
include $(MY_WEBRTC_ROOT_PATH)/voice_engine/main/test/Android/native_test/Android.mk
|
||||
include $(MY_WEBRTC_ROOT_PATH)/video_engine/main/test/AutoTest/source/Android.mk
|
||||
# build test apps
|
||||
#include $(MY_WEBRTC_ROOT_PATH)/modules/audio_processing/main/test/process_test/Android.mk
|
||||
#include $(MY_WEBRTC_ROOT_PATH)/voice_engine/main/test/ui_linux_test/Android.mk
|
||||
#include $(MY_WEBRTC_ROOT_PATH)/voice_engine/main/test/auto_test/Android.mk
|
||||
#include $(MY_WEBRTC_ROOT_PATH)/video_engine/main/test/AutoTest/Android/Android.mk
|
||||
#include $(MY_WEBRTC_ROOT_PATH)/video_engine/main/test/AndroidTest/Android.mk
|
||||
|
@ -7,15 +7,15 @@
|
||||
# be found in the AUTHORS file in the root of the source tree.
|
||||
|
||||
MY_APM_WHOLE_STATIC_LIBRARIES := \
|
||||
libwebrtc_spl \
|
||||
libwebrtc_resampler \
|
||||
libwebrtc_apm \
|
||||
libwebrtc_apm_utility \
|
||||
libwebrtc_vad \
|
||||
libwebrtc_ns \
|
||||
libwebrtc_agc \
|
||||
libwebrtc_aec \
|
||||
libwebrtc_aecm
|
||||
libwebrtc_spl \
|
||||
libwebrtc_resampler \
|
||||
libwebrtc_apm \
|
||||
libwebrtc_apm_utility \
|
||||
libwebrtc_vad \
|
||||
libwebrtc_ns \
|
||||
libwebrtc_agc \
|
||||
libwebrtc_aec \
|
||||
libwebrtc_aecm
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
@ -31,9 +31,9 @@ LOCAL_WHOLE_STATIC_LIBRARIES := \
|
||||
libwebrtc_system_wrappers \
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libcutils \
|
||||
libdl \
|
||||
libstlport
|
||||
libcutils \
|
||||
libdl \
|
||||
libstlport
|
||||
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES :=
|
||||
|
||||
@ -52,47 +52,43 @@ LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_LDFLAGS :=
|
||||
|
||||
LOCAL_WHOLE_STATIC_LIBRARIES := \
|
||||
libwebrtc_system_wrappers \
|
||||
libwebrtc_audio_device \
|
||||
libwebrtc_pcm16b \
|
||||
libwebrtc_cng \
|
||||
libwebrtc_audio_coding \
|
||||
libwebrtc_rtp_rtcp \
|
||||
libwebrtc_media_file \
|
||||
libwebrtc_udp_transport \
|
||||
libwebrtc_utility \
|
||||
libwebrtc_neteq \
|
||||
libwebrtc_audio_conference_mixer \
|
||||
libwebrtc_isac \
|
||||
libwebrtc_ilbc \
|
||||
libwebrtc_isacfix \
|
||||
libwebrtc_g722 \
|
||||
libwebrtc_g711 \
|
||||
libwebrtc_vplib \
|
||||
libwebrtc_video_render \
|
||||
libwebrtc_video_capture \
|
||||
libwebrtc_i420 \
|
||||
libwebrtc_video_coding \
|
||||
libwebrtc_video_processing \
|
||||
libwebrtc_vp8 \
|
||||
libwebrtc_video_mixer \
|
||||
libwebrtc_voe_core \
|
||||
libwebrtc_vie_core \
|
||||
libwebrtc_vpx_enc \
|
||||
libwebrtc_jpeg \
|
||||
libvpx
|
||||
|
||||
#LOCAL_LDLIBS := -ljpeg
|
||||
libwebrtc_system_wrappers \
|
||||
libwebrtc_audio_device \
|
||||
libwebrtc_pcm16b \
|
||||
libwebrtc_cng \
|
||||
libwebrtc_audio_coding \
|
||||
libwebrtc_rtp_rtcp \
|
||||
libwebrtc_media_file \
|
||||
libwebrtc_udp_transport \
|
||||
libwebrtc_utility \
|
||||
libwebrtc_neteq \
|
||||
libwebrtc_audio_conference_mixer \
|
||||
libwebrtc_isac \
|
||||
libwebrtc_ilbc \
|
||||
libwebrtc_isacfix \
|
||||
libwebrtc_g722 \
|
||||
libwebrtc_g711 \
|
||||
libwebrtc_voe_core \
|
||||
libwebrtc_video_render \
|
||||
libwebrtc_video_capture \
|
||||
libwebrtc_i420 \
|
||||
libwebrtc_video_coding \
|
||||
libwebrtc_video_processing \
|
||||
libwebrtc_vp8 \
|
||||
libwebrtc_vie_core \
|
||||
libwebrtc_vplib \
|
||||
libwebrtc_jpeg \
|
||||
libwebrtc_vpx
|
||||
|
||||
LOCAL_STATIC_LIBRARIES :=
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libcutils \
|
||||
libdl \
|
||||
libstlport \
|
||||
libjpeg \
|
||||
libGLESv2 \
|
||||
libOpenSLES \
|
||||
libwebrtc_audio_preprocessing
|
||||
libcutils \
|
||||
libdl \
|
||||
libstlport \
|
||||
libjpeg \
|
||||
libGLESv2 \
|
||||
libOpenSLES \
|
||||
libwebrtc_audio_preprocessing
|
||||
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES :=
|
||||
|
||||
|
58
common_audio/resampler/main/source/Android.mk
Normal file
58
common_audio/resampler/main/source/Android.mk
Normal file
@ -0,0 +1,58 @@
|
||||
# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
||||
#
|
||||
# Use of this source code is governed by a BSD-style license
|
||||
# that can be found in the LICENSE file in the root of the source
|
||||
# tree. An additional intellectual property rights grant can be found
|
||||
# in the file PATENTS. All contributing project authors may
|
||||
# be found in the AUTHORS file in the root of the source tree.
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_ARM_MODE := arm
|
||||
LOCAL_MODULE_CLASS := STATIC_LIBRARIES
|
||||
LOCAL_MODULE := libwebrtc_resampler
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_CPP_EXTENSION := .cc
|
||||
LOCAL_GENERATED_SOURCES :=
|
||||
LOCAL_SRC_FILES := resampler.cc
|
||||
|
||||
# Flags passed to both C and C++ files.
|
||||
MY_CFLAGS :=
|
||||
MY_CFLAGS_C :=
|
||||
MY_DEFS := '-DNO_TCMALLOC' \
|
||||
'-DNO_HEAPCHECKER' \
|
||||
'-DWEBRTC_TARGET_PC' \
|
||||
'-DWEBRTC_LINUX' \
|
||||
'-DWEBRTC_ANDROID' \
|
||||
'-DANDROID'
|
||||
LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS)
|
||||
|
||||
# Include paths placed before CFLAGS/CPPFLAGS
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../.. \
|
||||
$(LOCAL_PATH)/../interface \
|
||||
$(LOCAL_PATH)/../../../signal_processing_library/main/interface
|
||||
|
||||
# Flags passed to only C++ (and not C) files.
|
||||
LOCAL_CPPFLAGS :=
|
||||
|
||||
LOCAL_LDFLAGS :=
|
||||
|
||||
LOCAL_STATIC_LIBRARIES :=
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := libcutils \
|
||||
libdl \
|
||||
libstlport
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES :=
|
||||
|
||||
ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true)
|
||||
LOCAL_LDLIBS += -ldl -lpthread
|
||||
endif
|
||||
|
||||
ifneq ($(TARGET_SIMULATOR),true)
|
||||
LOCAL_SHARED_LIBRARIES += libdl
|
||||
endif
|
||||
|
||||
include external/stlport/libstlport.mk
|
||||
include $(BUILD_STATIC_LIBRARY)
|
@ -0,0 +1,99 @@
|
||||
# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
||||
#
|
||||
# Use of this source code is governed by a BSD-style license
|
||||
# that can be found in the LICENSE file in the root of the source
|
||||
# tree. An additional intellectual property rights grant can be found
|
||||
# in the file PATENTS. All contributing project authors may
|
||||
# be found in the AUTHORS file in the root of the source tree.
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_ARM_MODE := arm
|
||||
LOCAL_MODULE_CLASS := STATIC_LIBRARIES
|
||||
LOCAL_MODULE := libwebrtc_spl
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_GENERATED_SOURCES :=
|
||||
LOCAL_SRC_FILES := add_sat_w16.c \
|
||||
add_sat_w32.c \
|
||||
auto_corr_to_refl_coef.c \
|
||||
auto_correlation.c \
|
||||
complex_fft.c \
|
||||
complex_ifft.c \
|
||||
complex_bit_reverse.c \
|
||||
copy_set_operations.c \
|
||||
cos_table.c \
|
||||
cross_correlation.c \
|
||||
division_operations.c \
|
||||
dot_product_with_scale.c \
|
||||
downsample_fast.c \
|
||||
energy.c \
|
||||
filter_ar.c \
|
||||
filter_ar_fast_q12.c \
|
||||
filter_ma_fast_q12.c \
|
||||
get_hanning_window.c \
|
||||
get_scaling_square.c \
|
||||
get_size_in_bits.c \
|
||||
hanning_table.c \
|
||||
ilbc_specific_functions.c \
|
||||
levinson_durbin.c \
|
||||
lpc_to_refl_coef.c \
|
||||
min_max_operations.c \
|
||||
norm_u32.c \
|
||||
norm_w16.c \
|
||||
norm_w32.c \
|
||||
randn_table.c \
|
||||
randomization_functions.c \
|
||||
refl_coef_to_lpc.c \
|
||||
resample.c \
|
||||
resample_48khz.c \
|
||||
resample_by_2.c \
|
||||
resample_by_2_internal.c \
|
||||
resample_fractional.c \
|
||||
sin_table.c \
|
||||
sin_table_1024.c \
|
||||
spl_sqrt.c \
|
||||
spl_version.c \
|
||||
splitting_filter.c \
|
||||
sqrt_of_one_minus_x_squared.c \
|
||||
sub_sat_w16.c \
|
||||
sub_sat_w32.c \
|
||||
vector_scaling_operations.c
|
||||
|
||||
# Flags passed to both C and C++ files.
|
||||
MY_CFLAGS :=
|
||||
MY_CFLAGS_C :=
|
||||
MY_DEFS := '-DNO_TCMALLOC' \
|
||||
'-DNO_HEAPCHECKER' \
|
||||
'-DWEBRTC_TARGET_PC' \
|
||||
'-DWEBRTC_LINUX' \
|
||||
'-DWEBRTC_ANDROID' \
|
||||
'-DANDROID'
|
||||
LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS)
|
||||
|
||||
# Include paths placed before CFLAGS/CPPFLAGS
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../.. \
|
||||
$(LOCAL_PATH)/../interface
|
||||
|
||||
# Flags passed to only C++ (and not C) files.
|
||||
LOCAL_CPPFLAGS :=
|
||||
|
||||
LOCAL_LDFLAGS :=
|
||||
|
||||
LOCAL_STATIC_LIBRARIES :=
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := libstlport
|
||||
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES :=
|
||||
|
||||
ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true)
|
||||
LOCAL_LDLIBS += -ldl -lpthread
|
||||
endif
|
||||
|
||||
ifneq ($(TARGET_SIMULATOR),true)
|
||||
LOCAL_SHARED_LIBRARIES += libdl
|
||||
endif
|
||||
|
||||
include external/stlport/libstlport.mk
|
||||
include $(BUILD_STATIC_LIBRARY)
|
61
common_audio/vad/main/source/Android.mk
Normal file
61
common_audio/vad/main/source/Android.mk
Normal file
@ -0,0 +1,61 @@
|
||||
# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
||||
#
|
||||
# Use of this source code is governed by a BSD-style license
|
||||
# that can be found in the LICENSE file in the root of the source
|
||||
# tree. An additional intellectual property rights grant can be found
|
||||
# in the file PATENTS. All contributing project authors may
|
||||
# be found in the AUTHORS file in the root of the source tree.
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_ARM_MODE := arm
|
||||
LOCAL_MODULE_CLASS := STATIC_LIBRARIES
|
||||
LOCAL_MODULE := libwebrtc_vad
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_GENERATED_SOURCES :=
|
||||
LOCAL_SRC_FILES := webrtc_vad.c \
|
||||
vad_const.c \
|
||||
vad_core.c \
|
||||
vad_filterbank.c \
|
||||
vad_gmm.c \
|
||||
vad_sp.c
|
||||
|
||||
# Flags passed to both C and C++ files.
|
||||
MY_CFLAGS :=
|
||||
MY_CFLAGS_C :=
|
||||
MY_DEFS := '-DNO_TCMALLOC' \
|
||||
'-DNO_HEAPCHECKER' \
|
||||
'-DWEBRTC_TARGET_PC' \
|
||||
'-DWEBRTC_LINUX' \
|
||||
'-DWEBRTC_ANDROID' \
|
||||
'-DANDROID'
|
||||
LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS)
|
||||
|
||||
# Include paths placed before CFLAGS/CPPFLAGS
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../.. \
|
||||
$(LOCAL_PATH)/../interface \
|
||||
$(LOCAL_PATH)/../../../signal_processing_library/main/interface
|
||||
|
||||
# Flags passed to only C++ (and not C) files.
|
||||
LOCAL_CPPFLAGS :=
|
||||
|
||||
LOCAL_LDFLAGS :=
|
||||
|
||||
LOCAL_STATIC_LIBRARIES :=
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := libdl \
|
||||
libstlport
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES :=
|
||||
|
||||
ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true)
|
||||
LOCAL_LDLIBS += -ldl -lpthread
|
||||
endif
|
||||
|
||||
ifneq ($(TARGET_SIMULATOR),true)
|
||||
LOCAL_SHARED_LIBRARIES += libdl
|
||||
endif
|
||||
|
||||
include external/stlport/libstlport.mk
|
||||
include $(BUILD_STATIC_LIBRARY)
|
50
common_video/jpeg/main/source/Android.mk
Normal file
50
common_video/jpeg/main/source/Android.mk
Normal file
@ -0,0 +1,50 @@
|
||||
# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
||||
#
|
||||
# Use of this source code is governed by a BSD-style license
|
||||
# that can be found in the LICENSE file in the root of the source
|
||||
# tree. An additional intellectual property rights grant can be found
|
||||
# in the file PATENTS. All contributing project authors may
|
||||
# be found in the AUTHORS file in the root of the source tree.
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE_CLASS := STATIC_LIBRARIES
|
||||
LOCAL_MODULE := libwebrtc_jpeg
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_CPP_EXTENSION := .cc
|
||||
LOCAL_GENERATED_SOURCES :=
|
||||
LOCAL_SRC_FILES := jpeg.cc \
|
||||
data_manager.cc
|
||||
|
||||
# Flags passed to both C and C++ files.
|
||||
MY_CFLAGS :=
|
||||
MY_CFLAGS_C :=
|
||||
MY_DEFS := '-DNO_TCMALLOC' \
|
||||
'-DNO_HEAPCHECKER' \
|
||||
'-DWEBRTC_ANDROID' \
|
||||
'-DANDROID'
|
||||
LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS)
|
||||
|
||||
# Include paths placed before CFLAGS/CPPFLAGS
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../.. \
|
||||
$(LOCAL_PATH)/../interface \
|
||||
$(LOCAL_PATH)/../../../../../../ \
|
||||
$(LOCAL_PATH)/../../../vplib/main/interface \
|
||||
external/jpeg
|
||||
|
||||
# Flags passed to only C++ (and not C) files.
|
||||
LOCAL_CPPFLAGS :=
|
||||
|
||||
LOCAL_LDFLAGS :=
|
||||
|
||||
LOCAL_STATIC_LIBRARIES :=
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := libcutils \
|
||||
libdl \
|
||||
libstlport
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES :=
|
||||
|
||||
include external/stlport/libstlport.mk
|
||||
include $(BUILD_STATIC_LIBRARY)
|
53
common_video/vplib/main/source/Android.mk
Normal file
53
common_video/vplib/main/source/Android.mk
Normal file
@ -0,0 +1,53 @@
|
||||
# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
||||
#
|
||||
# Use of this source code is governed by a BSD-style license
|
||||
# that can be found in the LICENSE file in the root of the source
|
||||
# tree. An additional intellectual property rights grant can be found
|
||||
# in the file PATENTS. All contributing project authors may
|
||||
# be found in the AUTHORS file in the root of the source tree.
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE_CLASS := STATIC_LIBRARIES
|
||||
LOCAL_MODULE := libwebrtc_vplib
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_CPP_EXTENSION := .cc
|
||||
LOCAL_GENERATED_SOURCES :=
|
||||
LOCAL_SRC_FILES := \
|
||||
vplib.cc \
|
||||
interpolator.cc \
|
||||
scale_bilinear_yuv.cc
|
||||
|
||||
# Flags passed to both C and C++ files.
|
||||
MY_CFLAGS :=
|
||||
MY_CFLAGS_C :=
|
||||
MY_DEFS := '-DNO_TCMALLOC' \
|
||||
'-DNO_HEAPCHECKER' \
|
||||
'-DWEBRTC_TARGET_PC' \
|
||||
'-DWEBRTC_LINUX' \
|
||||
'-DWEBRTC_THREAD_RR' \
|
||||
'-DWEBRTC_ANDROID' \
|
||||
'-DANDROID'
|
||||
|
||||
LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS)
|
||||
|
||||
# Include paths placed before CFLAGS/CPPFLAGS
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../.. \
|
||||
$(LOCAL_PATH)/../interface
|
||||
|
||||
# Flags passed to only C++ (and not C) files.
|
||||
LOCAL_CPPFLAGS :=
|
||||
|
||||
LOCAL_LDFLAGS :=
|
||||
|
||||
LOCAL_STATIC_LIBRARIES :=
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := libcutils \
|
||||
libdl \
|
||||
libstlport
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES :=
|
||||
|
||||
include external/stlport/libstlport.mk
|
||||
include $(BUILD_STATIC_LIBRARY)
|
183
libvpx.mk
183
libvpx.mk
@ -9,117 +9,92 @@
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
MY_LIBVPX_DEC_SRC = \
|
||||
vpx/src/vpx_codec.c \
|
||||
vpx/src/vpx_decoder.c \
|
||||
vpx/src/vpx_image.c \
|
||||
vpx_mem/vpx_mem.c \
|
||||
vpx_scale/generic/vpxscale.c \
|
||||
vpx_scale/generic/yv12config.c \
|
||||
vpx_scale/generic/yv12extend.c \
|
||||
vpx_scale/generic/gen_scalers.c \
|
||||
vpx_scale/generic/scalesystemdependant.c \
|
||||
vp8/common/alloccommon.c \
|
||||
vp8/common/blockd.c \
|
||||
vp8/common/debugmodes.c \
|
||||
vp8/common/entropy.c \
|
||||
vp8/common/entropymode.c \
|
||||
vp8/common/entropymv.c \
|
||||
vp8/common/extend.c \
|
||||
vp8/common/filter.c \
|
||||
vp8/common/findnearmv.c \
|
||||
vp8/common/generic/systemdependent.c \
|
||||
vp8/common/idctllm.c \
|
||||
vp8/common/invtrans.c \
|
||||
vp8/common/loopfilter.c \
|
||||
vp8/common/loopfilter_filters.c \
|
||||
vp8/common/mbpitch.c \
|
||||
vp8/common/modecont.c \
|
||||
vp8/common/modecontext.c \
|
||||
vp8/common/quant_common.c \
|
||||
vp8/common/recon.c \
|
||||
vp8/common/reconinter.c \
|
||||
vp8/common/reconintra.c \
|
||||
vp8/common/reconintra4x4.c \
|
||||
vp8/common/setupintrarecon.c \
|
||||
vp8/common/swapyv12buffer.c \
|
||||
vp8/common/textblit.c \
|
||||
vp8/common/treecoder.c \
|
||||
vp8/vp8_cx_iface.c \
|
||||
vp8/vp8_dx_iface.c \
|
||||
vp8/decoder/generic/dsystemdependent.c \
|
||||
vp8/decoder/dboolhuff.c \
|
||||
vp8/decoder/decodemv.c \
|
||||
vp8/decoder/decodframe.c \
|
||||
vp8/decoder/dequantize.c \
|
||||
vp8/decoder/detokenize.c \
|
||||
vp8/decoder/onyxd_if.c \
|
||||
vp8/decoder/reconintra_mt.c \
|
||||
vp8/decoder/threading.c \
|
||||
vpx_config.c \
|
||||
vp8/decoder/idct_blk.c
|
||||
|
||||
MY_LIBVPX_ENC_PATH = ../libvpx
|
||||
MY_LIBVPX_PATH = ../libvpx
|
||||
|
||||
LOCAL_SRC_FILES = \
|
||||
$(MY_LIBVPX_ENC_PATH)/vpx/src/vpx_encoder.c \
|
||||
$(MY_LIBVPX_ENC_PATH)/vp8/encoder/bitstream.c \
|
||||
$(MY_LIBVPX_ENC_PATH)/vp8/encoder/boolhuff.c \
|
||||
$(MY_LIBVPX_ENC_PATH)/vp8/encoder/dct.c \
|
||||
$(MY_LIBVPX_ENC_PATH)/vp8/encoder/encodeframe.c \
|
||||
$(MY_LIBVPX_ENC_PATH)/vp8/encoder/encodeintra.c \
|
||||
$(MY_LIBVPX_ENC_PATH)/vp8/encoder/encodemb.c \
|
||||
$(MY_LIBVPX_ENC_PATH)/vp8/encoder/encodemv.c \
|
||||
$(MY_LIBVPX_ENC_PATH)/vp8/encoder/ethreading.c \
|
||||
$(MY_LIBVPX_ENC_PATH)/vp8/encoder/firstpass.c \
|
||||
$(MY_LIBVPX_ENC_PATH)/vp8/encoder/arm/arm_csystemdependent.c \
|
||||
$(MY_LIBVPX_ENC_PATH)/vp8/encoder/mcomp.c \
|
||||
$(MY_LIBVPX_ENC_PATH)/vp8/encoder/modecosts.c \
|
||||
$(MY_LIBVPX_ENC_PATH)/vp8/encoder/pickinter.c \
|
||||
$(MY_LIBVPX_ENC_PATH)/vp8/encoder/picklpf.c \
|
||||
$(MY_LIBVPX_ENC_PATH)/vp8/encoder/psnr.c \
|
||||
$(MY_LIBVPX_ENC_PATH)/vp8/encoder/quantize.c \
|
||||
$(MY_LIBVPX_ENC_PATH)/vp8/encoder/ratectrl.c \
|
||||
$(MY_LIBVPX_ENC_PATH)/vp8/encoder/rdopt.c \
|
||||
$(MY_LIBVPX_ENC_PATH)/vp8/encoder/sad_c.c \
|
||||
$(MY_LIBVPX_ENC_PATH)/vp8/encoder/segmentation.c \
|
||||
$(MY_LIBVPX_ENC_PATH)/vp8/encoder/tokenize.c \
|
||||
$(MY_LIBVPX_ENC_PATH)/vp8/encoder/treewriter.c \
|
||||
$(MY_LIBVPX_ENC_PATH)/vp8/encoder/onyx_if.c \
|
||||
$(MY_LIBVPX_ENC_PATH)/vp8/encoder/temporal_filter.c \
|
||||
$(MY_LIBVPX_ENC_PATH)/vp8/encoder/arm/variance_arm.c \
|
||||
$(MY_LIBVPX_ENC_PATH)/vp8/encoder/arm/variance_arm.h \
|
||||
$(MY_LIBVPX_ENC_PATH)/vp8/encoder/variance_c.c
|
||||
|
||||
# $(MY_LIBVPX_ENC_PATH)/vp8/encoder/generic/csystemdependent.c
|
||||
# $(MY_LIBVPX_ENC_PATH)/vp8/encoder/variance_c.c
|
||||
# $(MY_LIBVPX_ENC_PATH)/vp8/decoder/idct_blk.c \
|
||||
# md5_utils.c
|
||||
# args.c \
|
||||
# tools_common.c \
|
||||
# nestegg/halloc/src/halloc.c \
|
||||
# nestegg/src/nestegg.c \
|
||||
# vpxdec.c \
|
||||
# y4minput.c \
|
||||
# libmkv/EbmlWriter.c \
|
||||
# vpxenc.c \
|
||||
# simple_decoder.c \
|
||||
# postproc.c \
|
||||
# decode_to_md5.c \
|
||||
# simple_encoder.c \
|
||||
# twopass_encoder.c \
|
||||
# force_keyframe.c \
|
||||
# decode_with_drops.c \
|
||||
# error_resilient.c \
|
||||
# vp8_scalable_patterns.c \
|
||||
# vp8_set_maps.c \
|
||||
# vp8cx_set_ref.c
|
||||
$(MY_LIBVPX_PATH)/vp8/common/alloccommon.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/common/blockd.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/common/debugmodes.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/common/entropy.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/common/entropymode.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/common/entropymv.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/common/extend.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/common/filter.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/common/findnearmv.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/common/generic/systemdependent.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/common/idctllm.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/common/invtrans.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/common/loopfilter.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/common/loopfilter_filters.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/common/mbpitch.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/common/modecont.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/common/modecontext.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/common/quant_common.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/common/recon.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/common/reconinter.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/common/reconintra.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/common/reconintra4x4.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/common/setupintrarecon.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/common/swapyv12buffer.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/common/textblit.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/common/treecoder.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/vp8_cx_iface.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/vp8_dx_iface.c \
|
||||
$(MY_LIBVPX_PATH)/vpx_config.c \
|
||||
$(MY_LIBVPX_PATH)/vpx/src/vpx_codec.c \
|
||||
$(MY_LIBVPX_PATH)/vpx/src/vpx_decoder.c \
|
||||
$(MY_LIBVPX_PATH)/vpx/src/vpx_image.c \
|
||||
$(MY_LIBVPX_PATH)/vpx_mem/vpx_mem.c \
|
||||
$(MY_LIBVPX_PATH)/vpx_scale/generic/vpxscale.c \
|
||||
$(MY_LIBVPX_PATH)/vpx_scale/generic/yv12config.c \
|
||||
$(MY_LIBVPX_PATH)/vpx_scale/generic/yv12extend.c \
|
||||
$(MY_LIBVPX_PATH)/vpx_scale/generic/gen_scalers.c \
|
||||
$(MY_LIBVPX_PATH)/vpx_scale/generic/scalesystemdependent.c \
|
||||
$(MY_LIBVPX_PATH)/vpx/src/vpx_encoder.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/encoder/bitstream.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/encoder/boolhuff.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/encoder/dct.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/encoder/encodeframe.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/encoder/encodeintra.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/encoder/encodemb.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/encoder/encodemv.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/encoder/ethreading.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/encoder/firstpass.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/encoder/generic/csystemdependent.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/encoder/mcomp.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/encoder/modecosts.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/encoder/pickinter.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/encoder/picklpf.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/encoder/psnr.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/encoder/quantize.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/encoder/ratectrl.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/encoder/rdopt.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/encoder/sad_c.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/encoder/segmentation.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/encoder/tokenize.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/encoder/treewriter.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/encoder/onyx_if.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/encoder/temporal_filter.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/encoder/variance_c.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/decoder/dboolhuff.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/decoder/decodemv.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/decoder/decodframe.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/decoder/dequantize.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/decoder/detokenize.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/decoder/generic/dsystemdependent.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/decoder/onyxd_if.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/decoder/reconintra_mt.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/decoder/threading.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/decoder/idct_blk.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/common/arm/arm_systemdependent.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/encoder/arm/arm_csystemdependent.c \
|
||||
$(MY_LIBVPX_PATH)/vp8/decoder/arm/arm_dsystemdependent.c \
|
||||
|
||||
LOCAL_CFLAGS := \
|
||||
-DHAVE_CONFIG_H=vpx_config.h \
|
||||
-include $(LOCAL_PATH)/third_party_mods/libvpx/source/config/android/vpx_config.h
|
||||
|
||||
LOCAL_MODULE := libwebrtc_vpx_enc
|
||||
LOCAL_MODULE := libwebrtc_vpx
|
||||
|
||||
LOCAL_C_INCLUDES := \
|
||||
external/libvpx \
|
||||
|
87
modules/audio_coding/NetEQ/main/source/Android.mk
Normal file
87
modules/audio_coding/NetEQ/main/source/Android.mk
Normal file
@ -0,0 +1,87 @@
|
||||
# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
||||
#
|
||||
# Use of this source code is governed by a BSD-style license
|
||||
# that can be found in the LICENSE file in the root of the source
|
||||
# tree. An additional intellectual property rights grant can be found
|
||||
# in the file PATENTS. All contributing project authors may
|
||||
# be found in the AUTHORS file in the root of the source tree.
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_ARM_MODE := arm
|
||||
LOCAL_MODULE_CLASS := STATIC_LIBRARIES
|
||||
LOCAL_MODULE := libwebrtc_neteq
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_GENERATED_SOURCES :=
|
||||
LOCAL_SRC_FILES := accelerate.c \
|
||||
automode.c \
|
||||
bgn_update.c \
|
||||
bufstats_decision.c \
|
||||
cng_internal.c \
|
||||
codec_db.c \
|
||||
correlator.c \
|
||||
dsp.c \
|
||||
dsp_helpfunctions.c \
|
||||
dtmf_buffer.c \
|
||||
dtmf_tonegen.c \
|
||||
expand.c \
|
||||
mcu_address_init.c \
|
||||
mcu_dsp_common.c \
|
||||
mcu_reset.c \
|
||||
merge.c \
|
||||
min_distortion.c \
|
||||
mix_voice_unvoice.c \
|
||||
mute_signal.c \
|
||||
normal.c \
|
||||
packet_buffer.c \
|
||||
peak_detection.c \
|
||||
preemptive_expand.c \
|
||||
random_vector.c \
|
||||
recin.c \
|
||||
recout.c \
|
||||
rtcp.c \
|
||||
rtp.c \
|
||||
set_fs.c \
|
||||
signal_mcu.c \
|
||||
split_and_insert.c \
|
||||
unmute_signal.c \
|
||||
webrtc_neteq.c
|
||||
|
||||
# Flags passed to both C and C++ files.
|
||||
MY_CFLAGS :=
|
||||
MY_CFLAGS_C :=
|
||||
MY_DEFS := '-DNO_TCMALLOC' \
|
||||
'-DNO_HEAPCHECKER' \
|
||||
'-DWEBRTC_TARGET_PC' \
|
||||
'-DWEBRTC_LINUX' \
|
||||
'-DWEBRTC_THREAD_RR' \
|
||||
'-DNETEQ_VOICEENGINE_CODECS' \
|
||||
'-DWEBRTC_ANDROID' \
|
||||
'-DANDROID'
|
||||
|
||||
LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS)
|
||||
|
||||
# Include paths placed before CFLAGS/CPPFLAGS
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../../.. \
|
||||
$(LOCAL_PATH)/../interface \
|
||||
$(LOCAL_PATH)/../../../codecs/CNG/main/interface \
|
||||
$(LOCAL_PATH)/../../../../../common_audio/signal_processing_library/main/interface
|
||||
|
||||
# Flags passed to only C++ (and not C) files.
|
||||
LOCAL_CPPFLAGS :=
|
||||
|
||||
LOCAL_LDFLAGS :=
|
||||
|
||||
LOCAL_STATIC_LIBRARIES :=
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := libcutils \
|
||||
libdl \
|
||||
libstlport
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES :=
|
||||
|
||||
ifneq ($(MY_WEBRTC_NDK_BUILD),true)
|
||||
#include external/stlport/libstlport.mk
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
endif
|
51
modules/audio_coding/codecs/CNG/main/source/Android.mk
Normal file
51
modules/audio_coding/codecs/CNG/main/source/Android.mk
Normal file
@ -0,0 +1,51 @@
|
||||
# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
||||
#
|
||||
# Use of this source code is governed by a BSD-style license
|
||||
# that can be found in the LICENSE file in the root of the source
|
||||
# tree. An additional intellectual property rights grant can be found
|
||||
# in the file PATENTS. All contributing project authors may
|
||||
# be found in the AUTHORS file in the root of the source tree.
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_ARM_MODE := arm
|
||||
LOCAL_MODULE_CLASS := STATIC_LIBRARIES
|
||||
LOCAL_MODULE := libwebrtc_cng
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_GENERATED_SOURCES :=
|
||||
LOCAL_SRC_FILES := webrtc_cng.c \
|
||||
cng_helpfuns.c
|
||||
|
||||
# Flags passed to both C and C++ files.
|
||||
MY_CFLAGS :=
|
||||
MY_CFLAGS_C :=
|
||||
MY_DEFS := '-DNO_TCMALLOC' \
|
||||
'-DNO_HEAPCHECKER' \
|
||||
'-DWEBRTC_TARGET_PC' \
|
||||
'-DWEBRTC_LINUX' \
|
||||
'-DWEBRTC_ANDROID' \
|
||||
'-DANDROID'
|
||||
LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS)
|
||||
|
||||
# Include paths placed before CFLAGS/CPPFLAGS
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../../../.. \
|
||||
$(LOCAL_PATH)/../interface \
|
||||
$(LOCAL_PATH)/../../../../../../common_audio/signal_processing_library/main/interface
|
||||
|
||||
# Flags passed to only C++ (and not C) files.
|
||||
LOCAL_CPPFLAGS :=
|
||||
|
||||
LOCAL_LDFLAGS :=
|
||||
|
||||
LOCAL_STATIC_LIBRARIES :=
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := libdl \
|
||||
libstlport
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES :=
|
||||
|
||||
ifneq ($(MY_WEBRTC_NDK_BUILD),true)
|
||||
include external/stlport/libstlport.mk
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
endif
|
47
modules/audio_coding/codecs/G711/main/source/Android.mk
Normal file
47
modules/audio_coding/codecs/G711/main/source/Android.mk
Normal file
@ -0,0 +1,47 @@
|
||||
# This file is generated by gyp; do not edit. This means you!
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_ARM_MODE := arm
|
||||
LOCAL_MODULE_CLASS := STATIC_LIBRARIES
|
||||
LOCAL_MODULE := libwebrtc_g711
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_GENERATED_SOURCES :=
|
||||
LOCAL_SRC_FILES := g711_interface.c \
|
||||
g711.c
|
||||
|
||||
# Flags passed to both C and C++ files.
|
||||
MY_CFLAGS :=
|
||||
MY_CFLAGS_C :=
|
||||
MY_DEFS := '-DNO_TCMALLOC' \
|
||||
'-DNO_HEAPCHECKER' \
|
||||
'-DWEBRTC_TARGET_PC' \
|
||||
'-DWEBRTC_LINUX' \
|
||||
'-DWEBRTC_ANDROID' \
|
||||
'-DANDROID'
|
||||
LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS)
|
||||
|
||||
# Include paths placed before CFLAGS/CPPFLAGS
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../../../.. \
|
||||
$(LOCAL_PATH)/../interface
|
||||
|
||||
# Flags passed to only C++ (and not C) files.
|
||||
LOCAL_CPPFLAGS :=
|
||||
|
||||
LOCAL_LDFLAGS :=
|
||||
|
||||
LOCAL_STATIC_LIBRARIES :=
|
||||
# Duplicate the static libraries to fix circular references
|
||||
LOCAL_STATIC_LIBRARIES += $(LOCAL_STATIC_LIBRARIES)
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := libcutils \
|
||||
libdl \
|
||||
libstlport
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES :=
|
||||
|
||||
ifneq ($(MY_WEBRTC_NDK_BUILD),true)
|
||||
include external/stlport/libstlport.mk
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
endif
|
53
modules/audio_coding/codecs/G722/main/source/Android.mk
Normal file
53
modules/audio_coding/codecs/G722/main/source/Android.mk
Normal file
@ -0,0 +1,53 @@
|
||||
# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
||||
#
|
||||
# Use of this source code is governed by a BSD-style license
|
||||
# that can be found in the LICENSE file in the root of the source
|
||||
# tree. An additional intellectual property rights grant can be found
|
||||
# in the file PATENTS. All contributing project authors may
|
||||
# be found in the AUTHORS file in the root of the source tree.
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_ARM_MODE := arm
|
||||
LOCAL_MODULE_CLASS := STATIC_LIBRARIES
|
||||
LOCAL_MODULE := libwebrtc_g722
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_GENERATED_SOURCES :=
|
||||
LOCAL_SRC_FILES := g722_interface.c \
|
||||
g722_encode.c \
|
||||
g722_decode.c
|
||||
|
||||
# Flags passed to both C and C++ files.
|
||||
MY_CFLAGS :=
|
||||
MY_CFLAGS_C :=
|
||||
MY_DEFS := '-DNO_TCMALLOC' \
|
||||
'-DNO_HEAPCHECKER' \
|
||||
'-DWEBRTC_TARGET_PC' \
|
||||
'-DWEBRTC_LINUX' \
|
||||
'-DWEBRTC_THREAD_RR' \
|
||||
'-DWEBRTC_ANDROID' \
|
||||
'-DANDROID'
|
||||
LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS)
|
||||
|
||||
# Include paths placed before CFLAGS/CPPFLAGS
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../../../.. \
|
||||
$(LOCAL_PATH)/../interface
|
||||
|
||||
# Flags passed to only C++ (and not C) files.
|
||||
LOCAL_CPPFLAGS :=
|
||||
|
||||
LOCAL_LDFLAGS :=
|
||||
|
||||
LOCAL_STATIC_LIBRARIES :=
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := libcutils \
|
||||
libdl \
|
||||
libstlport
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES :=
|
||||
|
||||
ifneq ($(MY_WEBRTC_NDK_BUILD),true)
|
||||
include external/stlport/libstlport.mk
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
endif
|
51
modules/audio_coding/codecs/PCM16B/main/source/Android.mk
Normal file
51
modules/audio_coding/codecs/PCM16B/main/source/Android.mk
Normal file
@ -0,0 +1,51 @@
|
||||
# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
||||
#
|
||||
# Use of this source code is governed by a BSD-style license
|
||||
# that can be found in the LICENSE file in the root of the source
|
||||
# tree. An additional intellectual property rights grant can be found
|
||||
# in the file PATENTS. All contributing project authors may
|
||||
# be found in the AUTHORS file in the root of the source tree.
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_ARM_MODE := arm
|
||||
LOCAL_MODULE_CLASS := STATIC_LIBRARIES
|
||||
LOCAL_MODULE := libwebrtc_pcm16b
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_GENERATED_SOURCES :=
|
||||
LOCAL_SRC_FILES := pcm16b.c
|
||||
|
||||
# Flags passed to both C and C++ files.
|
||||
MY_CFLAGS :=
|
||||
MY_CFLAGS_C :=
|
||||
MY_DEFS := '-DNO_TCMALLOC' \
|
||||
'-DNO_HEAPCHECKER' \
|
||||
'-DWEBRTC_TARGET_PC' \
|
||||
'-DWEBRTC_LINUX' \
|
||||
'-DWEBRTC_THREAD_RR' \
|
||||
'-DWEBRTC_ANDROID' \
|
||||
'-DANDROID'
|
||||
LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS)
|
||||
|
||||
# Include paths placed before CFLAGS/CPPFLAGS
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../../../.. \
|
||||
$(LOCAL_PATH)/../interface
|
||||
|
||||
# Flags passed to only C++ (and not C) files.
|
||||
LOCAL_CPPFLAGS :=
|
||||
|
||||
LOCAL_LDFLAGS :=
|
||||
|
||||
LOCAL_STATIC_LIBRARIES :=
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := libcutils \
|
||||
libdl \
|
||||
libstlport
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES :=
|
||||
|
||||
ifneq ($(MY_WEBRTC_NDK_BUILD),true)
|
||||
include external/stlport/libstlport.mk
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
endif
|
119
modules/audio_coding/codecs/iLBC/main/source/Android.mk
Normal file
119
modules/audio_coding/codecs/iLBC/main/source/Android.mk
Normal file
@ -0,0 +1,119 @@
|
||||
# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
||||
#
|
||||
# Use of this source code is governed by a BSD-style license
|
||||
# that can be found in the LICENSE file in the root of the source
|
||||
# tree. An additional intellectual property rights grant can be found
|
||||
# in the file PATENTS. All contributing project authors may
|
||||
# be found in the AUTHORS file in the root of the source tree.
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE_CLASS := STATIC_LIBRARIES
|
||||
LOCAL_MODULE := libwebrtc_ilbc
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_GENERATED_SOURCES :=
|
||||
LOCAL_SRC_FILES := abs_quant.c \
|
||||
abs_quant_loop.c \
|
||||
augmented_cb_corr.c \
|
||||
bw_expand.c \
|
||||
cb_construct.c \
|
||||
cb_mem_energy.c \
|
||||
cb_mem_energy_augmentation.c \
|
||||
cb_mem_energy_calc.c \
|
||||
cb_search.c \
|
||||
cb_search_core.c \
|
||||
cb_update_best_index.c \
|
||||
chebyshev.c \
|
||||
comp_corr.c \
|
||||
constants.c \
|
||||
create_augmented_vec.c \
|
||||
decode.c \
|
||||
decode_residual.c \
|
||||
decoder_interpolate_lsf.c \
|
||||
do_plc.c \
|
||||
encode.c \
|
||||
energy_inverse.c \
|
||||
enh_upsample.c \
|
||||
enhancer.c \
|
||||
enhancer_interface.c \
|
||||
filtered_cb_vecs.c \
|
||||
frame_classify.c \
|
||||
gain_dequant.c \
|
||||
gain_quant.c \
|
||||
get_cd_vec.c \
|
||||
get_lsp_poly.c \
|
||||
get_sync_seq.c \
|
||||
hp_input.c \
|
||||
hp_output.c \
|
||||
ilbc.c \
|
||||
index_conv_dec.c \
|
||||
index_conv_enc.c \
|
||||
init_decode.c \
|
||||
init_encode.c \
|
||||
interpolate.c \
|
||||
interpolate_samples.c \
|
||||
lpc_encode.c \
|
||||
lsf_check.c \
|
||||
lsf_interpolate_to_poly_dec.c \
|
||||
lsf_interpolate_to_poly_enc.c \
|
||||
lsf_to_lsp.c \
|
||||
lsf_to_poly.c \
|
||||
lsp_to_lsf.c \
|
||||
my_corr.c \
|
||||
nearest_neighbor.c \
|
||||
pack_bits.c \
|
||||
poly_to_lsf.c \
|
||||
poly_to_lsp.c \
|
||||
refiner.c \
|
||||
simple_interpolate_lsf.c \
|
||||
simple_lpc_analysis.c \
|
||||
simple_lsf_dequant.c \
|
||||
simple_lsf_quant.c \
|
||||
smooth.c \
|
||||
smooth_out_data.c \
|
||||
sort_sq.c \
|
||||
split_vq.c \
|
||||
state_construct.c \
|
||||
state_search.c \
|
||||
swap_bytes.c \
|
||||
unpack_bits.c \
|
||||
vq3.c \
|
||||
vq4.c \
|
||||
window32_w32.c \
|
||||
xcorr_coef.c
|
||||
|
||||
# Flags passed to both C and C++ files.
|
||||
MY_CFLAGS :=
|
||||
MY_CFLAGS_C :=
|
||||
MY_DEFS := '-DNO_TCMALLOC' \
|
||||
'-DNO_HEAPCHECKER' \
|
||||
'-DWEBRTC_TARGET_PC' \
|
||||
'-DWEBRTC_LINUX' \
|
||||
'-DWEBRTC_THREAD_RR' \
|
||||
'-DWEBRTC_ANDROID' \
|
||||
'-DANDROID'
|
||||
LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS)
|
||||
|
||||
# Include paths placed before CFLAGS/CPPFLAGS
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../../../.. \
|
||||
$(LOCAL_PATH)/../interface \
|
||||
$(LOCAL_PATH)/../../../../../../common_audio/signal_processing_library/main/interface
|
||||
|
||||
# Flags passed to only C++ (and not C) files.
|
||||
LOCAL_CPPFLAGS :=
|
||||
|
||||
LOCAL_LDFLAGS :=
|
||||
|
||||
LOCAL_STATIC_LIBRARIES :=
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := libcutils \
|
||||
libdl \
|
||||
libstlport
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES :=
|
||||
|
||||
ifneq ($(MY_WEBRTC_NDK_BUILD),true)
|
||||
include external/stlport/libstlport.mk
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
endif
|
75
modules/audio_coding/codecs/iSAC/fix/source/Android.mk
Normal file
75
modules/audio_coding/codecs/iSAC/fix/source/Android.mk
Normal file
@ -0,0 +1,75 @@
|
||||
# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
||||
#
|
||||
# Use of this source code is governed by a BSD-style license
|
||||
# that can be found in the LICENSE file in the root of the source
|
||||
# tree. An additional intellectual property rights grant can be found
|
||||
# in the file PATENTS. All contributing project authors may
|
||||
# be found in the AUTHORS file in the root of the source tree.
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_ARM_MODE := arm
|
||||
LOCAL_MODULE_CLASS := STATIC_LIBRARIES
|
||||
LOCAL_MODULE := libwebrtc_isacfix
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_GENERATED_SOURCES :=
|
||||
LOCAL_SRC_FILES := arith_routines.c \
|
||||
arith_routines_hist.c \
|
||||
arith_routines_logist.c \
|
||||
bandwidth_estimator.c \
|
||||
decode.c \
|
||||
decode_bwe.c \
|
||||
decode_plc.c \
|
||||
encode.c \
|
||||
entropy_coding.c \
|
||||
fft.c \
|
||||
filterbank_tables.c \
|
||||
filterbanks.c \
|
||||
filters.c \
|
||||
initialize.c \
|
||||
isacfix.c \
|
||||
lattice.c \
|
||||
lpc_masking_model.c \
|
||||
lpc_tables.c \
|
||||
pitch_estimator.c \
|
||||
pitch_filter.c \
|
||||
pitch_gain_tables.c \
|
||||
pitch_lag_tables.c \
|
||||
spectrum_ar_model_tables.c \
|
||||
transform.c
|
||||
|
||||
# Flags passed to both C and C++ files.
|
||||
MY_CFLAGS :=
|
||||
MY_CFLAGS_C :=
|
||||
MY_DEFS := '-DNO_TCMALLOC' \
|
||||
'-DNO_HEAPCHECKER' \
|
||||
'-DWEBRTC_TARGET_PC' \
|
||||
'-DWEBRTC_LINUX' \
|
||||
'-DWEBRTC_THREAD_RR' \
|
||||
'-DWEBRTC_ANDROID' \
|
||||
'-DANDROID'
|
||||
LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS)
|
||||
|
||||
# Include paths placed before CFLAGS/CPPFLAGS
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../../../.. \
|
||||
$(LOCAL_PATH)/../interface \
|
||||
$(LOCAL_PATH)/../../../../../../common_audio/signal_processing_library/main/interface
|
||||
|
||||
# Flags passed to only C++ (and not C) files.
|
||||
LOCAL_CPPFLAGS :=
|
||||
|
||||
LOCAL_LDFLAGS :=
|
||||
|
||||
LOCAL_STATIC_LIBRARIES :=
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := libcutils \
|
||||
libdl \
|
||||
libstlport
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES :=
|
||||
|
||||
ifneq ($(MY_WEBRTC_NDK_BUILD),true)
|
||||
include external/stlport/libstlport.mk
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
endif
|
79
modules/audio_coding/codecs/iSAC/main/source/Android.mk
Normal file
79
modules/audio_coding/codecs/iSAC/main/source/Android.mk
Normal file
@ -0,0 +1,79 @@
|
||||
# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
||||
#
|
||||
# Use of this source code is governed by a BSD-style license
|
||||
# that can be found in the LICENSE file in the root of the source
|
||||
# tree. An additional intellectual property rights grant can be found
|
||||
# in the file PATENTS. All contributing project authors may
|
||||
# be found in the AUTHORS file in the root of the source tree.
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_ARM_MODE := arm
|
||||
LOCAL_MODULE_CLASS := STATIC_LIBRARIES
|
||||
LOCAL_MODULE := libwebrtc_isac
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_GENERATED_SOURCES :=
|
||||
LOCAL_SRC_FILES := arith_routines.c \
|
||||
arith_routines_hist.c \
|
||||
arith_routines_logist.c \
|
||||
bandwidth_estimator.c \
|
||||
crc.c \
|
||||
decode.c \
|
||||
decode_bwe.c \
|
||||
encode.c \
|
||||
encode_lpc_swb.c \
|
||||
entropy_coding.c \
|
||||
fft.c \
|
||||
filter_functions.c \
|
||||
filterbank_tables.c \
|
||||
intialize.c \
|
||||
isac.c \
|
||||
filterbanks.c \
|
||||
pitch_lag_tables.c \
|
||||
lattice.c \
|
||||
lpc_gain_swb_tables.c \
|
||||
lpc_analysis.c \
|
||||
lpc_shape_swb12_tables.c \
|
||||
lpc_shape_swb16_tables.c \
|
||||
lpc_tables.c \
|
||||
pitch_estimator.c \
|
||||
pitch_filter.c \
|
||||
pitch_gain_tables.c \
|
||||
spectrum_ar_model_tables.c \
|
||||
transform.c
|
||||
|
||||
# Flags passed to both C and C++ files.
|
||||
MY_CFLAGS :=
|
||||
MY_CFLAGS_C :=
|
||||
MY_DEFS := '-DNO_TCMALLOC' \
|
||||
'-DNO_HEAPCHECKER' \
|
||||
'-DWEBRTC_TARGET_PC' \
|
||||
'-DWEBRTC_LINUX' \
|
||||
'-DWEBRTC_THREAD_RR' \
|
||||
'-DWEBRTC_ANDROID' \
|
||||
'-DANDROID'
|
||||
LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS)
|
||||
|
||||
# Include paths placed before CFLAGS/CPPFLAGS
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../../../.. \
|
||||
$(LOCAL_PATH)/../interface \
|
||||
$(LOCAL_PATH)/../../../../../../common_audio/signal_processing_library/main/interface
|
||||
|
||||
# Flags passed to only C++ (and not C) files.
|
||||
LOCAL_CPPFLAGS :=
|
||||
|
||||
LOCAL_LDFLAGS :=
|
||||
|
||||
LOCAL_STATIC_LIBRARIES :=
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := libcutils \
|
||||
libdl \
|
||||
libstlport
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES :=
|
||||
|
||||
ifneq ($(MY_WEBRTC_NDK_BUILD),true)
|
||||
include external/stlport/libstlport.mk
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
endif
|
90
modules/audio_coding/main/source/Android.mk
Normal file
90
modules/audio_coding/main/source/Android.mk
Normal file
@ -0,0 +1,90 @@
|
||||
# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
||||
#
|
||||
# Use of this source code is governed by a BSD-style license
|
||||
# that can be found in the LICENSE file in the root of the source
|
||||
# tree. An additional intellectual property rights grant can be found
|
||||
# in the file PATENTS. All contributing project authors may
|
||||
# be found in the AUTHORS file in the root of the source tree.
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_ARM_MODE := arm
|
||||
LOCAL_MODULE_CLASS := STATIC_LIBRARIES
|
||||
LOCAL_MODULE := libwebrtc_audio_coding
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_CPP_EXTENSION := .cc
|
||||
LOCAL_GENERATED_SOURCES :=
|
||||
LOCAL_SRC_FILES := acm_amr.cc \
|
||||
acm_amrwb.cc \
|
||||
acm_cng.cc \
|
||||
acm_codec_database.cc \
|
||||
acm_dtmf_detection.cc \
|
||||
acm_dtmf_playout.cc \
|
||||
acm_g722.cc \
|
||||
acm_g7221.cc \
|
||||
acm_g7221c.cc \
|
||||
acm_g729.cc \
|
||||
acm_g7291.cc \
|
||||
acm_generic_codec.cc \
|
||||
acm_gsmfr.cc \
|
||||
acm_ilbc.cc \
|
||||
acm_isac.cc \
|
||||
acm_neteq.cc \
|
||||
acm_opus.cc \
|
||||
acm_speex.cc \
|
||||
acm_pcm16b.cc \
|
||||
acm_pcma.cc \
|
||||
acm_pcmu.cc \
|
||||
acm_red.cc \
|
||||
acm_resampler.cc \
|
||||
audio_coding_module.cc \
|
||||
audio_coding_module_impl.cc
|
||||
|
||||
# Flags passed to both C and C++ files.
|
||||
MY_CFLAGS :=
|
||||
MY_CFLAGS_C :=
|
||||
MY_DEFS := '-DNO_TCMALLOC' \
|
||||
'-DNO_HEAPCHECKER' \
|
||||
'-DWEBRTC_TARGET_PC' \
|
||||
'-DWEBRTC_LINUX' \
|
||||
'-DWEBRTC_THREAD_RR' \
|
||||
'-DWEBRTC_ANDROID' \
|
||||
'-DANDROID'
|
||||
|
||||
LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS)
|
||||
|
||||
# Include paths placed before CFLAGS/CPPFLAGS
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../.. \
|
||||
$(LOCAL_PATH)/../interface \
|
||||
$(LOCAL_PATH)/../../../interface \
|
||||
$(LOCAL_PATH)/../../codecs/CNG/main/interface \
|
||||
$(LOCAL_PATH)/../../codecs/G711/main/interface \
|
||||
$(LOCAL_PATH)/../../codecs/G722/main/interface \
|
||||
$(LOCAL_PATH)/../../codecs/iLBC/main/interface \
|
||||
$(LOCAL_PATH)/../../codecs/iSAC/main/interface \
|
||||
$(LOCAL_PATH)/../../codecs/iSAC/fix/interface \
|
||||
$(LOCAL_PATH)/../../codecs/PCM16B/main/interface \
|
||||
$(LOCAL_PATH)/../../NetEQ/main/interface \
|
||||
$(LOCAL_PATH)/../../../../common_audio/resampler/main/interface \
|
||||
$(LOCAL_PATH)/../../../../common_audio/signal_processing_library/main/interface \
|
||||
$(LOCAL_PATH)/../../../../common_audio/vad/main/interface \
|
||||
$(LOCAL_PATH)/../../../../system_wrappers/interface
|
||||
|
||||
# Flags passed to only C++ (and not C) files.
|
||||
LOCAL_CPPFLAGS :=
|
||||
|
||||
LOCAL_LDFLAGS :=
|
||||
|
||||
LOCAL_STATIC_LIBRARIES :=
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := libcutils \
|
||||
libdl \
|
||||
libstlport
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES :=
|
||||
|
||||
ifneq ($(MY_WEBRTC_NDK_BUILD),true)
|
||||
include external/stlport/libstlport.mk
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
endif
|
50
modules/audio_conference_mixer/source/Android.mk
Normal file
50
modules/audio_conference_mixer/source/Android.mk
Normal file
@ -0,0 +1,50 @@
|
||||
# This file is generated by gyp; do not edit. This means you!
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE_CLASS := STATIC_LIBRARIES
|
||||
LOCAL_MODULE := libwebrtc_audio_conference_mixer
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_CPP_EXTENSION := .cc
|
||||
LOCAL_GENERATED_SOURCES :=
|
||||
LOCAL_SRC_FILES := audio_frame_manipulator.cc \
|
||||
level_indicator.cc \
|
||||
audio_conference_mixer_impl.cc \
|
||||
time_scheduler.cc
|
||||
|
||||
# Flags passed to both C and C++ files.
|
||||
MY_CFLAGS :=
|
||||
MY_CFLAGS_C :=
|
||||
MY_DEFS := '-DNO_TCMALLOC' \
|
||||
'-DNO_HEAPCHECKER' \
|
||||
'-DWEBRTC_TARGET_PC' \
|
||||
'-DWEBRTC_LINUX' \
|
||||
'-DWEBRTC_THREAD_RR' \
|
||||
'-DWEBRTC_ANDROID' \
|
||||
'-DANDROID'
|
||||
LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS)
|
||||
|
||||
# Include paths placed before CFLAGS/CPPFLAGS
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../.. \
|
||||
$(LOCAL_PATH)/../interface \
|
||||
$(LOCAL_PATH)/../../interface \
|
||||
$(LOCAL_PATH)/../../../system_wrappers/interface
|
||||
|
||||
# Flags passed to only C++ (and not C) files.
|
||||
LOCAL_CPPFLAGS :=
|
||||
|
||||
LOCAL_LDFLAGS :=
|
||||
|
||||
LOCAL_STATIC_LIBRARIES :=
|
||||
# Duplicate the static libraries to fix circular references
|
||||
LOCAL_STATIC_LIBRARIES += $(LOCAL_STATIC_LIBRARIES)
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := libcutils \
|
||||
libdl \
|
||||
libstlport
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES :=
|
||||
|
||||
include external/stlport/libstlport.mk
|
||||
include $(BUILD_STATIC_LIBRARY)
|
72
modules/audio_device/main/source/Android.mk
Normal file
72
modules/audio_device/main/source/Android.mk
Normal file
@ -0,0 +1,72 @@
|
||||
# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
||||
#
|
||||
# Use of this source code is governed by a BSD-style license
|
||||
# that can be found in the LICENSE file in the root of the source
|
||||
# tree. An additional intellectual property rights grant can be found
|
||||
# in the file PATENTS. All contributing project authors may
|
||||
# be found in the AUTHORS file in the root of the source tree.
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_ARM_MODE := arm
|
||||
LOCAL_MODULE_CLASS := STATIC_LIBRARIES
|
||||
LOCAL_MODULE := libwebrtc_audio_device
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_CPP_EXTENSION := .cc
|
||||
LOCAL_GENERATED_SOURCES :=
|
||||
LOCAL_SRC_FILES := audio_device_buffer.cc \
|
||||
audio_device_generic.cc \
|
||||
audio_device_utility.cc \
|
||||
audio_device_impl.cc \
|
||||
Android/audio_device_android_native.cc \
|
||||
Android/audio_device_utility_android.cc \
|
||||
Linux/audio_device_utility_linux.cc \
|
||||
Dummy/audio_device_dummy.cc
|
||||
|
||||
# Flags passed to both C and C++ files.
|
||||
MY_CFLAGS :=
|
||||
MY_CFLAGS_C :=
|
||||
MY_DEFS := '-DNO_TCMALLOC' \
|
||||
'-DNO_HEAPCHECKER' \
|
||||
'-DWEBRTC_TARGET_PC' \
|
||||
'-DWEBRTC_THREAD_RR' \
|
||||
'-DWEBRTC_LINUX' \
|
||||
'-DWEBRTC_ANDROID' \
|
||||
'-DWEBRTC_ANDROID_NATIVE' \
|
||||
'-DANDROID'
|
||||
|
||||
LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS)
|
||||
|
||||
# Include paths placed before CFLAGS/CPPFLAGS
|
||||
LOCAL_C_INCLUDES := \
|
||||
$(JNI_H_INCLUDE) \
|
||||
$(LOCAL_PATH)/../../../.. \
|
||||
$(LOCAL_PATH)/. \
|
||||
$(LOCAL_PATH)/../../../interface \
|
||||
$(LOCAL_PATH)/../interface \
|
||||
$(LOCAL_PATH)/Android \
|
||||
$(LOCAL_PATH)/Dummy \
|
||||
$(LOCAL_PATH)/Linux \
|
||||
$(LOCAL_PATH)/../../../../common_audio/resampler/main/interface \
|
||||
$(LOCAL_PATH)/../../../../common_audio/signal_processing_library/main/interface \
|
||||
$(LOCAL_PATH)/../../../../system_wrappers/interface \
|
||||
system/media/wilhelm/include/SLES
|
||||
|
||||
# Flags passed to only C++ (and not C) files.
|
||||
LOCAL_CPPFLAGS :=
|
||||
|
||||
LOCAL_LDFLAGS :=
|
||||
|
||||
LOCAL_STATIC_LIBRARIES :=
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := libcutils \
|
||||
libdl \
|
||||
libstlport \
|
||||
libOpenSLES
|
||||
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES :=
|
||||
|
||||
include external/stlport/libstlport.mk
|
||||
include $(BUILD_STATIC_LIBRARY)
|
52
modules/audio_processing/aec/main/source/Android.mk
Normal file
52
modules/audio_processing/aec/main/source/Android.mk
Normal file
@ -0,0 +1,52 @@
|
||||
# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
||||
#
|
||||
# Use of this source code is governed by a BSD-style license
|
||||
# that can be found in the LICENSE file in the root of the source
|
||||
# tree. An additional intellectual property rights grant can be found
|
||||
# in the file PATENTS. All contributing project authors may
|
||||
# be found in the AUTHORS file in the root of the source tree.
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE_CLASS := STATIC_LIBRARIES
|
||||
LOCAL_MODULE := libwebrtc_aec
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_GENERATED_SOURCES :=
|
||||
LOCAL_SRC_FILES := echo_cancellation.c \
|
||||
aec_core.c \
|
||||
resampler.c
|
||||
|
||||
# Flags passed to both C and C++ files.
|
||||
MY_CFLAGS :=
|
||||
MY_CFLAGS_C :=
|
||||
MY_DEFS := '-DNO_TCMALLOC' \
|
||||
'-DNO_HEAPCHECKER' \
|
||||
'-DWEBRTC_TARGET_PC' \
|
||||
'-DWEBRTC_LINUX' \
|
||||
'-DWEBRTC_THREAD_RR' \
|
||||
'-DWEBRTC_ANDROID' \
|
||||
'-DANDROID'
|
||||
LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS)
|
||||
|
||||
# Include paths placed before CFLAGS/CPPFLAGS
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../../.. \
|
||||
$(LOCAL_PATH)/../interface \
|
||||
$(LOCAL_PATH)/../../../utility \
|
||||
$(LOCAL_PATH)/../../../../../common_audio/signal_processing_library/main/interface
|
||||
|
||||
# Flags passed to only C++ (and not C) files.
|
||||
LOCAL_CPPFLAGS :=
|
||||
|
||||
LOCAL_LDFLAGS :=
|
||||
|
||||
LOCAL_STATIC_LIBRARIES :=
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := libcutils \
|
||||
libdl \
|
||||
libstlport
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES :=
|
||||
|
||||
include external/stlport/libstlport.mk
|
||||
include $(BUILD_STATIC_LIBRARY)
|
52
modules/audio_processing/aecm/main/source/Android.mk
Normal file
52
modules/audio_processing/aecm/main/source/Android.mk
Normal file
@ -0,0 +1,52 @@
|
||||
# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
||||
#
|
||||
# Use of this source code is governed by a BSD-style license
|
||||
# that can be found in the LICENSE file in the root of the source
|
||||
# tree. An additional intellectual property rights grant can be found
|
||||
# in the file PATENTS. All contributing project authors may
|
||||
# be found in the AUTHORS file in the root of the source tree.
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_ARM_MODE := arm
|
||||
LOCAL_MODULE_CLASS := STATIC_LIBRARIES
|
||||
LOCAL_MODULE := libwebrtc_aecm
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_GENERATED_SOURCES :=
|
||||
LOCAL_SRC_FILES := echo_control_mobile.c \
|
||||
aecm_core.c
|
||||
|
||||
# Flags passed to both C and C++ files.
|
||||
MY_CFLAGS :=
|
||||
MY_CFLAGS_C :=
|
||||
MY_DEFS := '-DNO_TCMALLOC' \
|
||||
'-DNO_HEAPCHECKER' \
|
||||
'-DWEBRTC_TARGET_PC' \
|
||||
'-DWEBRTC_LINUX' \
|
||||
'-DWEBRTC_THREAD_RR' \
|
||||
'-DWEBRTC_ANDROID' \
|
||||
'-DANDROID'
|
||||
LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS)
|
||||
|
||||
# Include paths placed before CFLAGS/CPPFLAGS
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../../.. \
|
||||
$(LOCAL_PATH)/../interface \
|
||||
$(LOCAL_PATH)/../../../utility \
|
||||
$(LOCAL_PATH)/../../../../../common_audio/signal_processing_library/main/interface
|
||||
|
||||
# Flags passed to only C++ (and not C) files.
|
||||
LOCAL_CPPFLAGS :=
|
||||
|
||||
LOCAL_LDFLAGS :=
|
||||
|
||||
LOCAL_STATIC_LIBRARIES :=
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := libcutils \
|
||||
libdl \
|
||||
libstlport
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES :=
|
||||
|
||||
include external/stlport/libstlport.mk
|
||||
include $(BUILD_STATIC_LIBRARY)
|
46
modules/audio_processing/agc/main/source/Android.mk
Normal file
46
modules/audio_processing/agc/main/source/Android.mk
Normal file
@ -0,0 +1,46 @@
|
||||
# This file is generated by gyp; do not edit. This means you!
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_ARM_MODE := arm
|
||||
LOCAL_MODULE_CLASS := STATIC_LIBRARIES
|
||||
LOCAL_MODULE := libwebrtc_agc
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_GENERATED_SOURCES :=
|
||||
LOCAL_SRC_FILES := analog_agc.c \
|
||||
digital_agc.c
|
||||
|
||||
# Flags passed to both C and C++ files.
|
||||
MY_CFLAGS :=
|
||||
MY_CFLAGS_C :=
|
||||
MY_DEFS := '-DNO_TCMALLOC' \
|
||||
'-DNO_HEAPCHECKER' \
|
||||
'-DWEBRTC_TARGET_PC' \
|
||||
'-DWEBRTC_LINUX' \
|
||||
'-DWEBRTC_THREAD_RR' \
|
||||
'-DWEBRTC_ANDROID' \
|
||||
'-DANDROID'
|
||||
LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS)
|
||||
|
||||
# Include paths placed before CFLAGS/CPPFLAGS
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../../.. \
|
||||
$(LOCAL_PATH)/../interface \
|
||||
$(LOCAL_PATH)/../../../../../common_audio/signal_processing_library/main/interface
|
||||
|
||||
# Flags passed to only C++ (and not C) files.
|
||||
LOCAL_CPPFLAGS :=
|
||||
LOCAL_LDFLAGS :=
|
||||
|
||||
LOCAL_STATIC_LIBRARIES :=
|
||||
# Duplicate the static libraries to fix circular references
|
||||
LOCAL_STATIC_LIBRARIES += $(LOCAL_STATIC_LIBRARIES)
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := libcutils \
|
||||
libdl \
|
||||
libstlport
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES :=
|
||||
|
||||
include external/stlport/libstlport.mk
|
||||
include $(BUILD_STATIC_LIBRARY)
|
72
modules/audio_processing/main/source/Android.mk
Normal file
72
modules/audio_processing/main/source/Android.mk
Normal file
@ -0,0 +1,72 @@
|
||||
# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
||||
#
|
||||
# Use of this source code is governed by a BSD-style license
|
||||
# that can be found in the LICENSE file in the root of the source
|
||||
# tree. An additional intellectual property rights grant can be found
|
||||
# in the file PATENTS. All contributing project authors may
|
||||
# be found in the AUTHORS file in the root of the source tree.
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_ARM_MODE := arm
|
||||
LOCAL_MODULE := libwebrtc_apm
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_CPP_EXTENSION := .cc
|
||||
LOCAL_GENERATED_SOURCES :=
|
||||
LOCAL_SRC_FILES := audio_buffer.cc \
|
||||
audio_processing_impl.cc \
|
||||
echo_cancellation_impl.cc \
|
||||
echo_control_mobile_impl.cc \
|
||||
gain_control_impl.cc \
|
||||
high_pass_filter_impl.cc \
|
||||
level_estimator_impl.cc \
|
||||
noise_suppression_impl.cc \
|
||||
splitting_filter.cc \
|
||||
processing_component.cc \
|
||||
voice_detection_impl.cc
|
||||
|
||||
# Flags passed to both C and C++ files.
|
||||
MY_CFLAGS :=
|
||||
MY_CFLAGS_C :=
|
||||
MY_DEFS := '-DNO_TCMALLOC' \
|
||||
'-DNO_HEAPCHECKER' \
|
||||
'-DWEBRTC_TARGET_PC' \
|
||||
'-DWEBRTC_LINUX' \
|
||||
'-DWEBRTC_THREAD_RR' \
|
||||
'-DWEBRTC_ANDROID' \
|
||||
'-DANDROID' \
|
||||
'-DWEBRTC_NS_FIXED'
|
||||
# floating point
|
||||
# -DWEBRTC_NS_FLOAT'
|
||||
LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS)
|
||||
|
||||
# Include paths placed before CFLAGS/CPPFLAGS
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../.. \
|
||||
$(LOCAL_PATH)/../interface \
|
||||
$(LOCAL_PATH)/../../../interface \
|
||||
$(LOCAL_PATH)/../../../../system_wrappers/interface \
|
||||
$(LOCAL_PATH)/../../aec/main/interface \
|
||||
$(LOCAL_PATH)/../../aecm/main/interface \
|
||||
$(LOCAL_PATH)/../../agc/main/interface \
|
||||
$(LOCAL_PATH)/../../ns/main/interface \
|
||||
$(LOCAL_PATH)/../../../../common_audio/signal_processing_library/main/interface \
|
||||
$(LOCAL_PATH)/../../../../common_audio/vad/main/interface
|
||||
|
||||
# Flags passed to only C++ (and not C) files.
|
||||
LOCAL_CPPFLAGS :=
|
||||
|
||||
LOCAL_LDFLAGS :=
|
||||
|
||||
LOCAL_STATIC_LIBRARIES :=
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := libcutils \
|
||||
libdl \
|
||||
libstlport
|
||||
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES :=
|
||||
|
||||
include external/stlport/libstlport.mk
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
|
@ -0,0 +1,26 @@
|
||||
# Copyright (C) 2010 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE := apmtest-activity
|
||||
LOCAL_SRC_FILES := main.c
|
||||
LOCAL_LDLIBS := -llog -landroid -lEGL -lGLESv1_CM
|
||||
LOCAL_STATIC_LIBRARIES := android_native_app_glue
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
$(call import-module,android/native_app_glue)
|
@ -0,0 +1 @@
|
||||
APP_PLATFORM := android-9
|
48
modules/audio_processing/main/test/process_test/Android.mk
Normal file
48
modules/audio_processing/main/test/process_test/Android.mk
Normal file
@ -0,0 +1,48 @@
|
||||
# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
||||
#
|
||||
# Use of this source code is governed by a BSD-style license
|
||||
# that can be found in the LICENSE file in the root of the source
|
||||
# tree. An additional intellectual property rights grant can be found
|
||||
# in the file PATENTS. All contributing project authors may
|
||||
# be found in the AUTHORS file in the root of the source tree.
|
||||
|
||||
LOCAL_PATH:= $(call my-dir)
|
||||
|
||||
# apm test app
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE_TAGS := tests
|
||||
LOCAL_CPP_EXTENSION := .cc
|
||||
LOCAL_SRC_FILES:= \
|
||||
process_test.cc
|
||||
|
||||
# Flags passed to both C and C++ files.
|
||||
LOCAL_CFLAGS := \
|
||||
'-DWEBRTC_TARGET_PC' \
|
||||
'-DWEBRTC_LINUX' \
|
||||
'-DWEBRTC_THREAD_RR' \
|
||||
'-DWEBRTC_ANDROID' \
|
||||
'-DANDROID'
|
||||
|
||||
LOCAL_CPPFLAGS :=
|
||||
LOCAL_LDFLAGS :=
|
||||
LOCAL_C_INCLUDES := \
|
||||
external/gtest/include \
|
||||
$(LOCAL_PATH)/../../../../../system_wrappers/interface \
|
||||
$(LOCAL_PATH)/../../interface \
|
||||
$(LOCAL_PATH)/../../../../interface \
|
||||
$(LOCAL_PATH)/../../../../..
|
||||
|
||||
LOCAL_STATIC_LIBRARIES := \
|
||||
libgtest
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libutils \
|
||||
libstlport \
|
||||
libwebrtc_audio_preprocessing
|
||||
|
||||
LOCAL_MODULE:= webrtc-apmtest
|
||||
|
||||
include external/stlport/libstlport.mk
|
||||
include $(BUILD_EXECUTABLE)
|
50
modules/audio_processing/ns/main/source/Android.mk
Normal file
50
modules/audio_processing/ns/main/source/Android.mk
Normal file
@ -0,0 +1,50 @@
|
||||
# This file is generated by gyp; do not edit. This means you!
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE_CLASS := STATIC_LIBRARIES
|
||||
LOCAL_MODULE := libwebrtc_ns
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_GENERATED_SOURCES :=
|
||||
LOCAL_SRC_FILES := \
|
||||
noise_suppression_x.c \
|
||||
nsx_core.c
|
||||
|
||||
# floating point
|
||||
# noise_suppression.c ns_core.c
|
||||
|
||||
# Flags passed to both C and C++ files.
|
||||
MY_CFLAGS :=
|
||||
MY_CFLAGS_C :=
|
||||
MY_DEFS := '-DNO_TCMALLOC' \
|
||||
'-DNO_HEAPCHECKER' \
|
||||
'-DWEBRTC_TARGET_PC' \
|
||||
'-DWEBRTC_LINUX' \
|
||||
'-DWEBRTC_THREAD_RR' \
|
||||
'-DWEBRTC_ANDROID' \
|
||||
'-DANDROID'
|
||||
|
||||
LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS)
|
||||
|
||||
# Include paths placed before CFLAGS/CPPFLAGS
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../../.. \
|
||||
$(LOCAL_PATH)/../interface \
|
||||
$(LOCAL_PATH)/../../../utility \
|
||||
$(LOCAL_PATH)/../../../../../common_audio/signal_processing_library/main/interface
|
||||
|
||||
# Flags passed to only C++ (and not C) files.
|
||||
LOCAL_CPPFLAGS :=
|
||||
|
||||
LOCAL_LDFLAGS :=
|
||||
|
||||
LOCAL_STATIC_LIBRARIES :=
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := libcutils \
|
||||
libdl \
|
||||
libstlport
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES :=
|
||||
|
||||
include external/stlport/libstlport.mk
|
||||
include $(BUILD_STATIC_LIBRARY)
|
49
modules/audio_processing/utility/Android.mk
Normal file
49
modules/audio_processing/utility/Android.mk
Normal file
@ -0,0 +1,49 @@
|
||||
# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
||||
#
|
||||
# Use of this source code is governed by a BSD-style license
|
||||
# that can be found in the LICENSE file in the root of the source
|
||||
# tree. An additional intellectual property rights grant can be found
|
||||
# in the file PATENTS. All contributing project authors may
|
||||
# be found in the AUTHORS file in the root of the source tree.
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_ARM_MODE := arm
|
||||
LOCAL_MODULE_CLASS := STATIC_LIBRARIES
|
||||
LOCAL_MODULE := libwebrtc_apm_utility
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_GENERATED_SOURCES :=
|
||||
LOCAL_SRC_FILES := fft4g.c \
|
||||
ring_buffer.c
|
||||
|
||||
# Flags passed to both C and C++ files.
|
||||
MY_CFLAGS :=
|
||||
MY_CFLAGS_C :=
|
||||
MY_DEFS := '-DNO_TCMALLOC' \
|
||||
'-DNO_HEAPCHECKER' \
|
||||
'-DWEBRTC_TARGET_PC' \
|
||||
'-DWEBRTC_LINUX' \
|
||||
'-DWEBRTC_THREAD_RR' \
|
||||
'-DWEBRTC_ANDROID' \
|
||||
'-DANDROID'
|
||||
LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS)
|
||||
|
||||
# Include paths placed before CFLAGS/CPPFLAGS
|
||||
LOCAL_C_INCLUDES := \
|
||||
$(LOCAL_PATH)
|
||||
|
||||
# Flags passed to only C++ (and not C) files.
|
||||
LOCAL_CPPFLAGS :=
|
||||
LOCAL_LDFLAGS :=
|
||||
|
||||
LOCAL_STATIC_LIBRARIES :=
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := libcutils \
|
||||
libdl \
|
||||
libstlport
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES :=
|
||||
|
||||
include external/stlport/libstlport.mk
|
||||
include $(BUILD_STATIC_LIBRARY)
|
52
modules/media_file/source/Android.mk
Normal file
52
modules/media_file/source/Android.mk
Normal file
@ -0,0 +1,52 @@
|
||||
# This file is generated by gyp; do not edit. This means you!
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_ARM_MODE := arm
|
||||
LOCAL_MODULE_CLASS := STATIC_LIBRARIES
|
||||
LOCAL_MODULE := libwebrtc_media_file
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_CPP_EXTENSION := .cc
|
||||
LOCAL_GENERATED_SOURCES :=
|
||||
LOCAL_SRC_FILES := avi_file.cc \
|
||||
media_file_impl.cc \
|
||||
media_file_utility.cc
|
||||
|
||||
# Flags passed to both C and C++ files.
|
||||
MY_CFLAGS :=
|
||||
MY_CFLAGS_C :=
|
||||
MY_DEFS := '-DNO_TCMALLOC' \
|
||||
'-DNO_HEAPCHECKER' \
|
||||
'-DWEBRTC_TARGET_PC' \
|
||||
'-DWEBRTC_LINUX' \
|
||||
'-DWEBRTC_THREAD_RR' \
|
||||
'-DWEBRTC_MODULE_UTILITY_VIDEO' \
|
||||
'-DWEBRTC_ANDROID' \
|
||||
'-DANDROID'
|
||||
|
||||
LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS)
|
||||
|
||||
# Include paths placed before CFLAGS/CPPFLAGS
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../.. \
|
||||
$(LOCAL_PATH)/../interface \
|
||||
$(LOCAL_PATH)/../../interface \
|
||||
$(LOCAL_PATH)/../../utility/interface \
|
||||
$(LOCAL_PATH)/../../audio_coding/main/interface \
|
||||
$(LOCAL_PATH)/../../../system_wrappers/interface
|
||||
|
||||
# Flags passed to only C++ (and not C) files.
|
||||
LOCAL_CPPFLAGS :=
|
||||
|
||||
LOCAL_LDFLAGS :=
|
||||
|
||||
LOCAL_STATIC_LIBRARIES :=
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := libcutils \
|
||||
libdl \
|
||||
libstlport
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES :=
|
||||
|
||||
include external/stlport/libstlport.mk
|
||||
include $(BUILD_STATIC_LIBRARY)
|
73
modules/rtp_rtcp/source/Android.mk
Normal file
73
modules/rtp_rtcp/source/Android.mk
Normal file
@ -0,0 +1,73 @@
|
||||
# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
||||
#
|
||||
# Use of this source code is governed by a BSD-style license
|
||||
# that can be found in the LICENSE file in the root of the source
|
||||
# tree. An additional intellectual property rights grant can be found
|
||||
# in the file PATENTS. All contributing project authors may
|
||||
# be found in the AUTHORS file in the root of the source tree.
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE_CLASS := STATIC_LIBRARIES
|
||||
LOCAL_MODULE := libwebrtc_rtp_rtcp
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_CPP_EXTENSION := .cc
|
||||
LOCAL_GENERATED_SOURCES :=
|
||||
LOCAL_SRC_FILES := bitrate.cc \
|
||||
rtp_rtcp_impl.cc \
|
||||
rtcp_receiver.cc \
|
||||
rtcp_receiver_help.cc \
|
||||
rtcp_sender.cc \
|
||||
rtcp_utility.cc \
|
||||
rtp_receiver.cc \
|
||||
rtp_sender.cc \
|
||||
rtp_utility.cc \
|
||||
ssrc_database.cc \
|
||||
tmmbr_help.cc \
|
||||
dtmf_queue.cc \
|
||||
rtp_receiver_audio.cc \
|
||||
rtp_sender_audio.cc \
|
||||
bandwidth_management.cc \
|
||||
forward_error_correction.cc \
|
||||
overuse_detector.cc \
|
||||
h263_information.cc \
|
||||
remote_rate_control.cc \
|
||||
receiver_fec.cc \
|
||||
rtp_receiver_video.cc \
|
||||
rtp_sender_video.cc \
|
||||
rtp_format_vp8.cc
|
||||
|
||||
# Flags passed to both C and C++ files.
|
||||
MY_CFLAGS :=
|
||||
MY_CFLAGS_C :=
|
||||
MY_DEFS := '-DNO_TCMALLOC' \
|
||||
'-DNO_HEAPCHECKER' \
|
||||
'-DWEBRTC_TARGET_PC' \
|
||||
'-DWEBRTC_LINUX' \
|
||||
'-DWEBRTC_THREAD_RR' \
|
||||
'-DWEBRTC_ANDROID' \
|
||||
'-DANDROID'
|
||||
LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS)
|
||||
|
||||
# Include paths placed before CFLAGS/CPPFLAGS
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../.. \
|
||||
$(LOCAL_PATH)/../interface \
|
||||
$(LOCAL_PATH)/../../interface \
|
||||
$(LOCAL_PATH)/../../../system_wrappers/interface
|
||||
|
||||
# Flags passed to only C++ (and not C) files.
|
||||
LOCAL_CPPFLAGS :=
|
||||
|
||||
LOCAL_LDFLAGS :=
|
||||
|
||||
LOCAL_STATIC_LIBRARIES :=
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := libcutils \
|
||||
libdl \
|
||||
libstlport
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES :=
|
||||
|
||||
include external/stlport/libstlport.mk
|
||||
include $(BUILD_STATIC_LIBRARY)
|
56
modules/udp_transport/source/Android.mk
Normal file
56
modules/udp_transport/source/Android.mk
Normal file
@ -0,0 +1,56 @@
|
||||
# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
||||
#
|
||||
# Use of this source code is governed by a BSD-style license
|
||||
# that can be found in the LICENSE file in the root of the source
|
||||
# tree. An additional intellectual property rights grant can be found
|
||||
# in the file PATENTS. All contributing project authors may
|
||||
# be found in the AUTHORS file in the root of the source tree.
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_ARM_MODE := arm
|
||||
LOCAL_MODULE_CLASS := STATIC_LIBRARIES
|
||||
LOCAL_MODULE := libwebrtc_udp_transport
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_CPP_EXTENSION := .cc
|
||||
LOCAL_GENERATED_SOURCES :=
|
||||
LOCAL_SRC_FILES := udp_transport_impl.cc \
|
||||
udp_socket_wrapper.cc \
|
||||
udp_socket_manager_wrapper.cc \
|
||||
udp_socket_manager_linux.cc \
|
||||
udp_socket_linux.cc
|
||||
|
||||
# Flags passed to both C and C++ files.
|
||||
MY_CFLAGS :=
|
||||
MY_CFLAGS_C :=
|
||||
MY_DEFS := '-DNO_TCMALLOC' \
|
||||
'-DNO_HEAPCHECKER' \
|
||||
'-DWEBRTC_TARGET_PC' \
|
||||
'-DWEBRTC_LINUX' \
|
||||
'-DWEBRTC_THREAD_RR' \
|
||||
'-DWEBRTC_ANDROID' \
|
||||
'-DANDROID'
|
||||
LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS)
|
||||
|
||||
# Include paths placed before CFLAGS/CPPFLAGS
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../.. \
|
||||
$(LOCAL_PATH)/../interface \
|
||||
$(LOCAL_PATH)/../../interface \
|
||||
$(LOCAL_PATH)/../../../system_wrappers/interface
|
||||
|
||||
# Flags passed to only C++ (and not C) files.
|
||||
LOCAL_CPPFLAGS :=
|
||||
|
||||
LOCAL_LDFLAGS :=
|
||||
|
||||
LOCAL_STATIC_LIBRARIES :=
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := libcutils \
|
||||
libdl \
|
||||
libstlport
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES :=
|
||||
|
||||
include external/stlport/libstlport.mk
|
||||
include $(BUILD_STATIC_LIBRARY)
|
58
modules/utility/source/Android.mk
Normal file
58
modules/utility/source/Android.mk
Normal file
@ -0,0 +1,58 @@
|
||||
# This file is generated by gyp; do not edit. This means you!
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE_CLASS := STATIC_LIBRARIES
|
||||
LOCAL_MODULE := libwebrtc_utility
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_CPP_EXTENSION := .cc
|
||||
LOCAL_GENERATED_SOURCES :=
|
||||
LOCAL_SRC_FILES := coder.cc \
|
||||
file_player_impl.cc \
|
||||
file_recorder_impl.cc \
|
||||
process_thread_impl.cc \
|
||||
rtp_dump_impl.cc \
|
||||
frame_scaler.cc \
|
||||
video_coder.cc \
|
||||
video_frames_queue.cc
|
||||
|
||||
# Flags passed to both C and C++ files.
|
||||
MY_CFLAGS :=
|
||||
MY_CFLAGS_C :=
|
||||
MY_DEFS := '-DNO_TCMALLOC' \
|
||||
'-DNO_HEAPCHECKER' \
|
||||
'-DWEBRTC_TARGET_PC' \
|
||||
'-DWEBRTC_LINUX' \
|
||||
'-DWEBRTC_THREAD_RR' \
|
||||
'-DWEBRTC_ANDROID' \
|
||||
'-DANDROID'
|
||||
LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS)
|
||||
|
||||
# Include paths placed before CFLAGS/CPPFLAGS
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../.. \
|
||||
$(LOCAL_PATH)/../interface \
|
||||
$(LOCAL_PATH)/../../interface \
|
||||
$(LOCAL_PATH)/../../../common_video/vplib/main/interface \
|
||||
$(LOCAL_PATH)/../../media_file/interface \
|
||||
$(LOCAL_PATH)/../../video_coding/main/interface \
|
||||
$(LOCAL_PATH)/../../audio_coding/main/interface \
|
||||
$(LOCAL_PATH)/../../video_coding/codecs/interface \
|
||||
$(LOCAL_PATH)/../../../common_audio/resampler/main/interface \
|
||||
$(LOCAL_PATH)/../../../system_wrappers/interface
|
||||
|
||||
# Flags passed to only C++ (and not C) files.
|
||||
LOCAL_CPPFLAGS :=
|
||||
LOCAL_LDFLAGS :=
|
||||
LOCAL_STATIC_LIBRARIES :=
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := libcutils \
|
||||
libdl \
|
||||
libstlport
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES :=
|
||||
|
||||
include external/stlport/libstlport.mk
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
|
||||
|
61
modules/video_capture/main/source/Android.mk
Normal file
61
modules/video_capture/main/source/Android.mk
Normal file
@ -0,0 +1,61 @@
|
||||
# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
||||
#
|
||||
# Use of this source code is governed by a BSD-style license
|
||||
# that can be found in the LICENSE file in the root of the source
|
||||
# tree. An additional intellectual property rights grant can be found
|
||||
# in the file PATENTS. All contributing project authors may
|
||||
# be found in the AUTHORS file in the root of the source tree.
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_ARM_MODE := arm
|
||||
LOCAL_MODULE_CLASS := STATIC_LIBRARIES
|
||||
LOCAL_MODULE := libwebrtc_video_capture
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_CPP_EXTENSION := .cc
|
||||
LOCAL_GENERATED_SOURCES :=
|
||||
LOCAL_SRC_FILES := video_capture_impl.cc \
|
||||
vplib_conversions.cc \
|
||||
device_info_impl.cc \
|
||||
Android/video_capture_android.cc \
|
||||
Android/device_info_android.cc
|
||||
|
||||
# Flags passed to both C and C++ files.
|
||||
MY_CFLAGS :=
|
||||
MY_CFLAGS_C :=
|
||||
MY_DEFS := '-DNO_TCMALLOC' \
|
||||
'-DNO_HEAPCHECKER' \
|
||||
'-DWEBRTC_TARGET_PC' \
|
||||
'-DWEBRTC_LINUX' \
|
||||
'-DWEBRTC_THREAD_RR' \
|
||||
'-DWEBRTC_ANDROID' \
|
||||
'-DANDROID'
|
||||
LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS)
|
||||
|
||||
# Include paths placed before CFLAGS/CPPFLAGS
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../.. \
|
||||
$(LOCAL_PATH)/../interface \
|
||||
$(LOCAL_PATH)/../source \
|
||||
$(LOCAL_PATH)/../../../interface \
|
||||
$(LOCAL_PATH)/../../../../common_video/vplib/main/interface \
|
||||
$(LOCAL_PATH)/../../../../system_wrappers/interface \
|
||||
$(LOCAL_PATH)/../../../utility/interface \
|
||||
$(LOCAL_PATH)/../../../audio_coding/main/interface \
|
||||
$(LOCAL_PATH)/Android
|
||||
|
||||
# Flags passed to only C++ (and not C) files.
|
||||
LOCAL_CPPFLAGS :=
|
||||
|
||||
LOCAL_LDFLAGS :=
|
||||
|
||||
LOCAL_STATIC_LIBRARIES :=
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := libcutils \
|
||||
libdl \
|
||||
libstlport
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES :=
|
||||
|
||||
include external/stlport/libstlport.mk
|
||||
include $(BUILD_STATIC_LIBRARY)
|
19
modules/video_capture/main/test/Android/jni/Android.mk
Normal file
19
modules/video_capture/main/test/Android/jni/Android.mk
Normal file
@ -0,0 +1,19 @@
|
||||
# Android makefile for VideoCapture Module
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
WEBRTC_INTERFACES_PATH := $(LOCAL_PATH)/../../../../../../../build/interface
|
||||
WEBRTC_LIBS_PATH := $(LOCAL_PATH)/../../../../../../../build/libraries
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE := VideoCaptureModuleAndroidTestJniAPI
|
||||
LOCAL_SRC_FILES := video_capture_module_android_test_jni.cc
|
||||
LOCAL_CFLAGS := -DWEBRTC_TARGET_PC # For typedefs.h
|
||||
LOCAL_C_INCLUDES := $(WEBRTC_INTERFACES_PATH)
|
||||
LOCAL_LDLIBS := \
|
||||
$(WEBRTC_LIBS_PATH)/testVideoCaptureAPI_android_gcc.a \
|
||||
$(WEBRTC_LIBS_PATH)/VideoCaptureModuleTestApiLib_android_gcc.a \
|
||||
-llog -lgcc -lGLESv2
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
51
modules/video_coding/codecs/i420/main/source/Android.mk
Normal file
51
modules/video_coding/codecs/i420/main/source/Android.mk
Normal file
@ -0,0 +1,51 @@
|
||||
# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
||||
#
|
||||
# Use of this source code is governed by a BSD-style license
|
||||
# that can be found in the LICENSE file in the root of the source
|
||||
# tree. An additional intellectual property rights grant can be found
|
||||
# in the file PATENTS. All contributing project authors may
|
||||
# be found in the AUTHORS file in the root of the source tree.
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE_CLASS := STATIC_LIBRARIES
|
||||
LOCAL_MODULE := libwebrtc_i420
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_CPP_EXTENSION := .cc
|
||||
LOCAL_GENERATED_SOURCES :=
|
||||
LOCAL_SRC_FILES := i420.cc
|
||||
|
||||
# Flags passed to both C and C++ files.
|
||||
MY_CFLAGS :=
|
||||
MY_CFLAGS_C :=
|
||||
MY_DEFS := '-DNO_TCMALLOC' \
|
||||
'-DNO_HEAPCHECKER' \
|
||||
'-DWEBRTC_TARGET_PC' \
|
||||
'-DWEBRTC_LINUX' \
|
||||
'-DWEBRTC_THREAD_RR' \
|
||||
'-DWEBRTC_ANDROID' \
|
||||
'-DANDROID' \
|
||||
LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS)
|
||||
|
||||
# Include paths placed before CFLAGS/CPPFLAGS
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../../../.. \
|
||||
$(LOCAL_PATH)/../interface \
|
||||
$(LOCAL_PATH)/../../../interface \
|
||||
$(LOCAL_PATH)/../../../../../../system_wrappers/interface
|
||||
|
||||
# Flags passed to only C++ (and not C) files.
|
||||
LOCAL_CPPFLAGS :=
|
||||
|
||||
LOCAL_LDFLAGS :=
|
||||
|
||||
LOCAL_STATIC_LIBRARIES :=
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := libcutils \
|
||||
libdl \
|
||||
libstlport
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES :=
|
||||
|
||||
include external/stlport/libstlport.mk
|
||||
include $(BUILD_STATIC_LIBRARY)
|
53
modules/video_coding/codecs/vp8/main/source/Android.mk
Normal file
53
modules/video_coding/codecs/vp8/main/source/Android.mk
Normal file
@ -0,0 +1,53 @@
|
||||
# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
||||
#
|
||||
# Use of this source code is governed by a BSD-style license
|
||||
# that can be found in the LICENSE file in the root of the source
|
||||
# tree. An additional intellectual property rights grant can be found
|
||||
# in the file PATENTS. All contributing project authors may
|
||||
# be found in the AUTHORS file in the root of the source tree.
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE_CLASS := STATIC_LIBRARIES
|
||||
LOCAL_MODULE := libwebrtc_vp8
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_CPP_EXTENSION := .cc
|
||||
LOCAL_GENERATED_SOURCES :=
|
||||
LOCAL_SRC_FILES := vp8.cc
|
||||
|
||||
# Flags passed to both C and C++ files.
|
||||
MY_CFLAGS :=
|
||||
MY_CFLAGS_C :=
|
||||
MY_DEFS := '-DNO_TCMALLOC' \
|
||||
'-DNO_HEAPCHECKER' \
|
||||
'-DWEBRTC_TARGET_PC' \
|
||||
'-DWEBRTC_LINUX' \
|
||||
'-DWEBRTC_THREAD_RR' \
|
||||
'-DWEBRTC_ANDROID' \
|
||||
'-DANDROID'
|
||||
LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS)
|
||||
|
||||
# Include paths placed before CFLAGS/CPPFLAGS
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../../../.. \
|
||||
$(LOCAL_PATH)/../interface \
|
||||
$(LOCAL_PATH)/../../../interface \
|
||||
$(LOCAL_PATH)/../../../../../../modules/interface \
|
||||
$(LOCAL_PATH)/../../../../../../system_wrappers/interface \
|
||||
external/libvpx
|
||||
|
||||
# Flags passed to only C++ (and not C) files.
|
||||
LOCAL_CPPFLAGS :=
|
||||
|
||||
LOCAL_LDFLAGS :=
|
||||
|
||||
LOCAL_STATIC_LIBRARIES :=
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := libcutils \
|
||||
libdl \
|
||||
libstlport
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES :=
|
||||
|
||||
include external/stlport/libstlport.mk
|
||||
include $(BUILD_STATIC_LIBRARY)
|
79
modules/video_coding/main/source/Android.mk
Normal file
79
modules/video_coding/main/source/Android.mk
Normal file
@ -0,0 +1,79 @@
|
||||
# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
||||
#
|
||||
# Use of this source code is governed by a BSD-style license
|
||||
# that can be found in the LICENSE file in the root of the source
|
||||
# tree. An additional intellectual property rights grant can be found
|
||||
# in the file PATENTS. All contributing project authors may
|
||||
# be found in the AUTHORS file in the root of the source tree.
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_ARM_MODE := arm
|
||||
LOCAL_MODULE_CLASS := STATIC_LIBRARIES
|
||||
LOCAL_MODULE := libwebrtc_video_coding
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_CPP_EXTENSION := .cc
|
||||
LOCAL_GENERATED_SOURCES :=
|
||||
LOCAL_SRC_FILES := codec_database.cc \
|
||||
codec_timer.cc \
|
||||
content_metrics_processing.cc \
|
||||
encoded_frame.cc \
|
||||
exp_filter.cc \
|
||||
frame_buffer.cc \
|
||||
frame_dropper.cc \
|
||||
frame_list.cc \
|
||||
generic_decoder.cc \
|
||||
generic_encoder.cc \
|
||||
inter_frame_delay.cc \
|
||||
jitter_buffer.cc \
|
||||
jitter_estimator.cc \
|
||||
media_opt_util.cc \
|
||||
media_optimization.cc \
|
||||
packet.cc \
|
||||
qm_select.cc \
|
||||
receiver.cc \
|
||||
rtt_filter.cc \
|
||||
session_info.cc \
|
||||
timestamp_extrapolator.cc \
|
||||
timestamp_map.cc \
|
||||
timing.cc \
|
||||
video_coding_impl.cc
|
||||
|
||||
# Flags passed to both C and C++ files.
|
||||
MY_CFLAGS :=
|
||||
MY_CFLAGS_C :=
|
||||
MY_DEFS := '-DNO_TCMALLOC' \
|
||||
'-DNO_HEAPCHECKER' \
|
||||
'-DWEBRTC_TARGET_PC' \
|
||||
'-DWEBRTC_LINUX' \
|
||||
'-DWEBRTC_THREAD_RR' \
|
||||
'-DWEBRTC_ANDROID' \
|
||||
'-DANDROID'
|
||||
LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS)
|
||||
|
||||
# Include paths placed before CFLAGS/CPPFLAGS
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../.. \
|
||||
$(LOCAL_PATH)/../interface \
|
||||
$(LOCAL_PATH)/../../../interface \
|
||||
$(LOCAL_PATH)/../../codecs/interface \
|
||||
$(LOCAL_PATH)/../../codecs/i420/main/interface \
|
||||
$(LOCAL_PATH)/../../codecs/vp8/main/interface \
|
||||
$(LOCAL_PATH)/../../../../common_video/vplib/main/interface \
|
||||
$(LOCAL_PATH)/../../../../system_wrappers/interface
|
||||
|
||||
# Flags passed to only C++ (and not C) files.
|
||||
LOCAL_CPPFLAGS :=
|
||||
|
||||
LOCAL_LDFLAGS :=
|
||||
|
||||
LOCAL_STATIC_LIBRARIES :=
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := libcutils \
|
||||
libdl \
|
||||
libstlport
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES :=
|
||||
|
||||
include external/stlport/libstlport.mk
|
||||
include $(BUILD_STATIC_LIBRARY)
|
64
modules/video_processing/main/source/Android.mk
Normal file
64
modules/video_processing/main/source/Android.mk
Normal file
@ -0,0 +1,64 @@
|
||||
# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
||||
#
|
||||
# Use of this source code is governed by a BSD-style license
|
||||
# that can be found in the LICENSE file in the root of the source
|
||||
# tree. An additional intellectual property rights grant can be found
|
||||
# in the file PATENTS. All contributing project authors may
|
||||
# be found in the AUTHORS file in the root of the source tree.
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_ARM_MODE := arm
|
||||
LOCAL_MODULE_CLASS := STATIC_LIBRARIES
|
||||
LOCAL_MODULE := libwebrtc_video_processing
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_CPP_EXTENSION := .cc
|
||||
LOCAL_GENERATED_SOURCES :=
|
||||
LOCAL_SRC_FILES := video_processing_impl.cc \
|
||||
brightness_detection.cc \
|
||||
color_enhancement.cc \
|
||||
content_analysis.cc \
|
||||
deflickering.cc \
|
||||
denoising.cc \
|
||||
frame_preprocessor.cc \
|
||||
spatial_resampler.cc \
|
||||
video_decimator.cc
|
||||
|
||||
# Flags passed to both C and C++ files.
|
||||
MY_CFLAGS :=
|
||||
MY_CFLAGS_C :=
|
||||
MY_DEFS := '-DNO_TCMALLOC' \
|
||||
'-DNO_HEAPCHECKER' \
|
||||
'-DWEBRTC_TARGET_PC' \
|
||||
'-DWEBRTC_LINUX' \
|
||||
'-DWEBRTC_THREAD_RR' \
|
||||
'-DWEBRTC_ANDROID' \
|
||||
'-DANDROID'
|
||||
LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS)
|
||||
|
||||
# Include paths placed before CFLAGS/CPPFLAGS
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../.. \
|
||||
$(LOCAL_PATH)/../interface \
|
||||
$(LOCAL_PATH)/../../../../common_audio/signal_processing_library/main/interface \
|
||||
$(LOCAL_PATH)/../../../../common_video/vplib/main/interface \
|
||||
$(LOCAL_PATH)/../../../../system_wrappers/interface \
|
||||
$(LOCAL_PATH)/../../../utility/interface \
|
||||
$(LOCAL_PATH)/../../../interface \
|
||||
$(LOCAL_PATH)/../../../audio_coding/main/interface
|
||||
|
||||
# Flags passed to only C++ (and not C) files.
|
||||
LOCAL_CPPFLAGS :=
|
||||
|
||||
LOCAL_LDFLAGS :=
|
||||
|
||||
LOCAL_STATIC_LIBRARIES :=
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := libcutils \
|
||||
libdl \
|
||||
libstlport
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES :=
|
||||
|
||||
include external/stlport/libstlport.mk
|
||||
include $(BUILD_STATIC_LIBRARY)
|
64
modules/video_render/main/source/Android.mk
Normal file
64
modules/video_render/main/source/Android.mk
Normal file
@ -0,0 +1,64 @@
|
||||
# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
||||
#
|
||||
# Use of this source code is governed by a BSD-style license
|
||||
# that can be found in the LICENSE file in the root of the source
|
||||
# tree. An additional intellectual property rights grant can be found
|
||||
# in the file PATENTS. All contributing project authors may
|
||||
# be found in the AUTHORS file in the root of the source tree.
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE_CLASS := STATIC_LIBRARIES
|
||||
LOCAL_MODULE := libwebrtc_video_render
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_CPP_EXTENSION := .cc
|
||||
LOCAL_GENERATED_SOURCES :=
|
||||
LOCAL_SRC_FILES := incoming_video_stream.cc \
|
||||
video_render_frames.cc \
|
||||
video_render_impl.cc \
|
||||
external/video_render_external_impl.cc \
|
||||
Android/video_render_android_impl.cc \
|
||||
Android/video_render_android_native_opengl2.cc \
|
||||
Android/video_render_android_surface_view.cc \
|
||||
Android/video_render_opengles20.cc
|
||||
|
||||
# Flags passed to both C and C++ files.
|
||||
MY_CFLAGS :=
|
||||
MY_CFLAGS_C :=
|
||||
MY_DEFS := '-DNO_TCMALLOC' \
|
||||
'-DNO_HEAPCHECKER' \
|
||||
'-DWEBRTC_TARGET_PC' \
|
||||
'-DWEBRTC_LINUX' \
|
||||
'-DWEBRTC_THREAD_RR' \
|
||||
'-DWEBRTC_ANDROID' \
|
||||
'-DANDROID'
|
||||
|
||||
LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS)
|
||||
|
||||
# Include paths placed before CFLAGS/CPPFLAGS
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../.. \
|
||||
$(LOCAL_PATH)/. \
|
||||
$(LOCAL_PATH)/../interface \
|
||||
$(LOCAL_PATH)/../../../interface \
|
||||
$(LOCAL_PATH)/../../../../common_video/vplib/main/interface \
|
||||
$(LOCAL_PATH)/../../../../system_wrappers/interface \
|
||||
$(LOCAL_PATH)/../../../utility/interface \
|
||||
$(LOCAL_PATH)/../../../audio_coding/main/interface \
|
||||
$(LOCAL_PATH)/Android
|
||||
|
||||
# Flags passed to only C++ (and not C) files.
|
||||
LOCAL_CPPFLAGS :=
|
||||
|
||||
LOCAL_LDFLAGS :=
|
||||
|
||||
LOCAL_STATIC_LIBRARIES :=
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := libcutils \
|
||||
libdl \
|
||||
libstlport
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES :=
|
||||
|
||||
include external/stlport/libstlport.mk
|
||||
include $(BUILD_STATIC_LIBRARY)
|
67
system_wrappers/source/Android.mk
Normal file
67
system_wrappers/source/Android.mk
Normal file
@ -0,0 +1,67 @@
|
||||
# This file is generated by gyp; do not edit. This means you!
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_ARM_MODE := arm
|
||||
LOCAL_MODULE := libwebrtc_system_wrappers
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_CPP_EXTENSION := .cc
|
||||
LOCAL_GENERATED_SOURCES :=
|
||||
LOCAL_SRC_FILES := \
|
||||
map.cc \
|
||||
rw_lock_generic.cc \
|
||||
sort.cc \
|
||||
aligned_malloc.cc \
|
||||
atomic32.cc \
|
||||
condition_variable.cc \
|
||||
cpu.cc \
|
||||
cpu_features.cc \
|
||||
critical_section.cc \
|
||||
event.cc \
|
||||
file_impl.cc \
|
||||
list_no_stl.cc \
|
||||
rw_lock.cc \
|
||||
thread.cc \
|
||||
trace_impl.cc \
|
||||
condition_variable_linux.cc \
|
||||
cpu_linux.cc \
|
||||
critical_section_linux.cc \
|
||||
event_linux.cc \
|
||||
thread_linux.cc \
|
||||
trace_linux.cc \
|
||||
rw_lock_linux.cc
|
||||
|
||||
# Flags passed to both C and C++ files.
|
||||
MY_CFLAGS :=
|
||||
MY_CFLAGS_C :=
|
||||
MY_DEFS := '-DNO_TCMALLOC' \
|
||||
'-DNO_HEAPCHECKER' \
|
||||
'-DWEBRTC_TARGET_PC' \
|
||||
'-DWEBRTC_LINUX' \
|
||||
'-DWEBRTC_CLOCK_TYPE_REALTIME' \
|
||||
'-DWEBRTC_THREAD_RR' \
|
||||
'-DWEBRTC_ANDROID' \
|
||||
'-DANDROID'
|
||||
LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS)
|
||||
|
||||
# Include paths placed before CFLAGS/CPPFLAGS
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../.. \
|
||||
$(LOCAL_PATH)/spreadsortlib \
|
||||
$(LOCAL_PATH)/../interface
|
||||
|
||||
# Flags passed to only C++ (and not C) files.
|
||||
LOCAL_CPPFLAGS :=
|
||||
|
||||
LOCAL_LDFLAGS :=
|
||||
|
||||
LOCAL_STATIC_LIBRARIES :=
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := libcutils \
|
||||
libdl \
|
||||
libstlport
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES :=
|
||||
|
||||
include external/stlport/libstlport.mk
|
||||
include $(BUILD_STATIC_LIBRARY)
|
@ -1,34 +1,14 @@
|
||||
/* This file automatically generated by configure. Do not edit! */
|
||||
#define INLINE
|
||||
#define FORCEINLINE
|
||||
#define RESTRICT
|
||||
|
||||
#if defined(__arm__)
|
||||
|
||||
#define ARCH_ARM 1
|
||||
#define HAVE_ARMV5TE 0
|
||||
#else
|
||||
#define RESTRICT
|
||||
#define ARCH_ARM 0
|
||||
#endif
|
||||
|
||||
#if defined(__ARM_HAVE_NEON)
|
||||
#define HAVE_ARMV7 1
|
||||
#else
|
||||
#define HAVE_ARMV7 0
|
||||
#endif
|
||||
|
||||
#if defined(__ARM_HAVE_ARMV6)
|
||||
#define HAVE_ARMV6 1
|
||||
#else
|
||||
#define HAVE_ARMV6 0
|
||||
#endif
|
||||
|
||||
#define ARCH_MIPS 0
|
||||
#define ARCH_X86 0
|
||||
#define ARCH_X86_64 0
|
||||
#define ARCH_PPC32 0
|
||||
#define ARCH_PPC64 0
|
||||
|
||||
#define HAVE_ARMV5TE 0
|
||||
#define HAVE_ARMV6 0
|
||||
#define HAVE_ARMV7 0
|
||||
#define HAVE_IWMMXT 0
|
||||
#define HAVE_IWMMXT2 0
|
||||
#define HAVE_MIPS32 0
|
||||
@ -37,6 +17,7 @@
|
||||
#define HAVE_SSE2 0
|
||||
#define HAVE_SSE3 0
|
||||
#define HAVE_SSSE3 0
|
||||
#define HAVE_SSE4_1 0
|
||||
#define HAVE_ALTIVEC 0
|
||||
#define HAVE_VPX_PORTS 1
|
||||
#define HAVE_STDINT_H 1
|
||||
@ -47,12 +28,12 @@
|
||||
#define CONFIG_INSTALL_DOCS 0
|
||||
#define CONFIG_INSTALL_BINS 1
|
||||
#define CONFIG_INSTALL_LIBS 1
|
||||
#define CONFIG_INSTALL_SRCS 1
|
||||
#define CONFIG_INSTALL_SRCS 0
|
||||
#define CONFIG_DEBUG 0
|
||||
#define CONFIG_GPROF 0
|
||||
#define CONFIG_GCOV 0
|
||||
#define CONFIG_RVCT 0
|
||||
#define CONFIG_GCC 0
|
||||
#define CONFIG_GCC 1
|
||||
#define CONFIG_MSVS 0
|
||||
#define CONFIG_PIC 0
|
||||
#define CONFIG_BIG_ENDIAN 0
|
||||
@ -65,12 +46,8 @@
|
||||
#define CONFIG_MD5 1
|
||||
#define CONFIG_DEQUANT_TOKENS 0
|
||||
#define CONFIG_DC_RECON 0
|
||||
#define CONFIG_NEW_TOKENS 0
|
||||
#define CONFIG_EVAL_LIMIT 0
|
||||
#define CONFIG_RUNTIME_CPU_DETECT 0
|
||||
#define CONFIG_POSTPROC 0
|
||||
#define CONFIG_POSTPROC_GENERIC 0
|
||||
#define CONFIG_OS_SUPPORT 1
|
||||
#define CONFIG_MULTITHREAD 1
|
||||
#define CONFIG_PSNR 0
|
||||
#define CONFIG_VP8_ENCODER 1
|
||||
@ -81,3 +58,7 @@
|
||||
#define CONFIG_STATIC_MSVCRT 0
|
||||
#define CONFIG_SPATIAL_RESAMPLING 1
|
||||
#define CONFIG_REALTIME_ONLY 0
|
||||
#define CONFIG_SHARED 0
|
||||
#define CONFIG_SMALL 0
|
||||
#define CONFIG_POSTPROC_VISUALIZER 0
|
||||
#define CONFIG_OS_SUPPORT 1
|
||||
|
101
video_engine/main/source/Android.mk
Normal file
101
video_engine/main/source/Android.mk
Normal file
@ -0,0 +1,101 @@
|
||||
# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
||||
#
|
||||
# Use of this source code is governed by a BSD-style license
|
||||
# that can be found in the LICENSE file in the root of the source
|
||||
# tree. An additional intellectual property rights grant can be found
|
||||
# in the file PATENTS. All contributing project authors may
|
||||
# be found in the AUTHORS file in the root of the source tree.
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_ARM_MODE := arm
|
||||
LOCAL_MODULE := libwebrtc_vie_core
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_CPP_EXTENSION := .cc
|
||||
LOCAL_GENERATED_SOURCES :=
|
||||
LOCAL_SRC_FILES := vie_base_impl.cc \
|
||||
vie_capture_impl.cc \
|
||||
vie_codec_impl.cc \
|
||||
vie_encryption_impl.cc \
|
||||
vie_external_codec_impl.cc \
|
||||
vie_file_impl.cc \
|
||||
vie_image_process_impl.cc \
|
||||
vie_impl.cc \
|
||||
vie_network_impl.cc \
|
||||
vie_ref_count.cc \
|
||||
vie_render_impl.cc \
|
||||
vie_rtp_rtcp_impl.cc \
|
||||
vie_shared_data.cc \
|
||||
vie_capturer.cc \
|
||||
vie_channel.cc \
|
||||
vie_channel_manager.cc \
|
||||
vie_encoder.cc \
|
||||
vie_file_image.cc \
|
||||
vie_file_player.cc \
|
||||
vie_file_recorder.cc \
|
||||
vie_frame_provider_base.cc \
|
||||
vie_input_manager.cc \
|
||||
vie_manager_base.cc \
|
||||
vie_performance_monitor.cc \
|
||||
vie_receiver.cc \
|
||||
vie_renderer.cc \
|
||||
vie_render_manager.cc \
|
||||
vie_sender.cc \
|
||||
vie_sync_module.cc
|
||||
|
||||
# Flags passed to both C and C++ files.
|
||||
MY_CFLAGS :=
|
||||
MY_CFLAGS_C :=
|
||||
MY_DEFS := '-DNO_TCMALLOC' \
|
||||
'-DNO_HEAPCHECKER' \
|
||||
'-DWEBRTC_TARGET_PC' \
|
||||
'-DWEBRTC_LINUX' \
|
||||
'-DWEBRTC_THREAD_RR' \
|
||||
'-DWEBRTC_ANDROID' \
|
||||
'-DANDROID'
|
||||
LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS)
|
||||
|
||||
# Include paths placed before CFLAGS/CPPFLAGS
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../.. \
|
||||
$(LOCAL_PATH)/../interface \
|
||||
$(LOCAL_PATH)/../../../modules/video_capture/main/interface \
|
||||
$(LOCAL_PATH)/../../../modules/video_render/main/interface \
|
||||
$(LOCAL_PATH)/../../../common_video/vplib/main/interface \
|
||||
$(LOCAL_PATH)/../../../common_video/jpeg/main/interface \
|
||||
$(LOCAL_PATH)/../../../modules/media_file/interface \
|
||||
$(LOCAL_PATH)/../../../modules/interface \
|
||||
$(LOCAL_PATH)/../../../modules/rtp_rtcp/interface \
|
||||
$(LOCAL_PATH)/../../../modules/udp_transport/interface \
|
||||
$(LOCAL_PATH)/../../../modules/utility/interface \
|
||||
$(LOCAL_PATH)/../../../modules/audio_coding/main/interface \
|
||||
$(LOCAL_PATH)/../../../modules/video_coding/main/interface \
|
||||
$(LOCAL_PATH)/../../../modules/video_coding/codecs/interface \
|
||||
$(LOCAL_PATH)/../../../modules/video_mixer/main/interface \
|
||||
$(LOCAL_PATH)/../../../modules/video_processing/main/interface \
|
||||
$(LOCAL_PATH)/../../../voice_engine/main/interface \
|
||||
$(LOCAL_PATH)/../../../system_wrappers/interface
|
||||
|
||||
# Flags passed to only C++ (and not C) files.
|
||||
LOCAL_CPPFLAGS :=
|
||||
|
||||
LOCAL_LDFLAGS :=
|
||||
|
||||
LOCAL_STATIC_LIBRARIES :=
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := libcutils \
|
||||
libdl \
|
||||
libstlport
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES :=
|
||||
|
||||
ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true)
|
||||
LOCAL_LDLIBS += -ldl -lpthread
|
||||
endif
|
||||
|
||||
ifneq ($(TARGET_SIMULATOR),true)
|
||||
LOCAL_SHARED_LIBRARIES += libdl
|
||||
endif
|
||||
|
||||
include external/stlport/libstlport.mk
|
||||
include $(BUILD_STATIC_LIBRARY)
|
41
video_engine/main/test/AndroidTest/Android.mk
Normal file
41
video_engine/main/test/AndroidTest/Android.mk
Normal file
@ -0,0 +1,41 @@
|
||||
# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
||||
#
|
||||
# Use of this source code is governed by a BSD-style license
|
||||
# that can be found in the LICENSE file in the root of the source
|
||||
# tree. An additional intellectual property rights grant can be found
|
||||
# in the file PATENTS. All contributing project authors may
|
||||
# be found in the AUTHORS file in the root of the source tree.
|
||||
|
||||
LOCAL_PATH:= $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
MY_CAPTURE_FOLDER := ../../../../modules/video_capture/main/source
|
||||
MY_CAPTURE_JAVA_FOLDER := Android/java/org/webrtc/videoengine
|
||||
MY_CAPTURE_PATH := $(MY_CAPTURE_FOLDER)/$(MY_CAPTURE_JAVA_FOLDER)
|
||||
|
||||
MY_RENDER_FOLDER := ../../../../modules/video_render/main/source
|
||||
MY_RENDER_JAVA_FOLDER := Android/java/org/webrtc/videoengine
|
||||
MY_RENDER_PATH := $(MY_RENDER_FOLDER)/$(MY_RENDER_JAVA_FOLDER)
|
||||
|
||||
LOCAL_MODULE_TAGS := tests
|
||||
|
||||
LOCAL_SRC_FILES := \
|
||||
src/org/webrtc/videoengineapp/ViEAndroidDemo.java \
|
||||
src/org/webrtc/videoengineapp/ViEAndroidJavaAPI.java \
|
||||
src/org/webrtc/videoengineapp/IViEAndroidCallback.java \
|
||||
$(MY_CAPTURE_PATH)/CaptureCapabilityAndroid.java \
|
||||
$(MY_CAPTURE_PATH)/VideoCaptureAndroid.java \
|
||||
$(MY_CAPTURE_PATH)/VideoCaptureDeviceInfoAndroid.java \
|
||||
$(MY_RENDER_PATH)/ViEAndroidGLES20.java \
|
||||
$(MY_RENDER_PATH)/ViERenderer.java \
|
||||
$(MY_RENDER_PATH)/ViESurfaceRenderer.java
|
||||
|
||||
LOCAL_PACKAGE_NAME := webrtc-video-demo
|
||||
LOCAL_CERTIFICATE := platform
|
||||
|
||||
LOCAL_JNI_SHARED_LIBRARIES := libwebrtc-video-demo-jni
|
||||
|
||||
include $(BUILD_PACKAGE)
|
||||
|
||||
include $(call all-makefiles-under,$(LOCAL_PATH))
|
45
video_engine/main/test/AndroidTest/jni/Android.mk
Normal file
45
video_engine/main/test/AndroidTest/jni/Android.mk
Normal file
@ -0,0 +1,45 @@
|
||||
# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
||||
#
|
||||
# Use of this source code is governed by a BSD-style license
|
||||
# that can be found in the LICENSE file in the root of the source
|
||||
# tree. An additional intellectual property rights grant can be found
|
||||
# in the file PATENTS. All contributing project authors may
|
||||
# be found in the AUTHORS file in the root of the source tree.
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
INTERFACES_PATH := $(LOCAL_PATH)/../../../../../../../build/interface
|
||||
LIBS_PATH := $(LOCAL_PATH)/../../../../../../../build/libraries
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE_TAGS := tests
|
||||
LOCAL_MODULE := libwebrtc-video-demo-jni
|
||||
LOCAL_CPP_EXTENSION := .cc
|
||||
LOCAL_SRC_FILES := vie_android_java_api.cc
|
||||
LOCAL_CPPFLAGS :=
|
||||
LOCAL_LDFLAGS :=
|
||||
LOCAL_CFLAGS += \
|
||||
'-DWEBRTC_TARGET_PC' \
|
||||
'-DWEBRTC_ANDROID' \
|
||||
'-DANDROID'
|
||||
|
||||
LOCAL_C_INCLUDES := \
|
||||
external/gtest/include \
|
||||
$(LOCAL_PATH)/../../../../.. \
|
||||
$(LOCAL_PATH)/../../../interface \
|
||||
$(LOCAL_PATH)/../../../../../voice_engine/main/interface
|
||||
|
||||
LOCAL_PRELINK_MODULE := false
|
||||
LOCAL_STATIC_LIBRARIES :=
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libutils \
|
||||
libstlport \
|
||||
libandroid \
|
||||
libwebrtc \
|
||||
libGLESv2
|
||||
LOCAL_LDLIBS := $(LIBS_PATH)/VideoEngine_android_gcc.a -llog -lgcc
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
39
video_engine/main/test/AutoTest/Android/Android.mk
Normal file
39
video_engine/main/test/AutoTest/Android/Android.mk
Normal file
@ -0,0 +1,39 @@
|
||||
# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
||||
#
|
||||
# Use of this source code is governed by a BSD-style license
|
||||
# that can be found in the LICENSE file in the root of the source
|
||||
# tree. An additional intellectual property rights grant can be found
|
||||
# in the file PATENTS. All contributing project authors may
|
||||
# be found in the AUTHORS file in the root of the source tree.
|
||||
|
||||
LOCAL_PATH:= $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
MY_CAPTURE_FOLDER := ../../../../../modules/video_capture/main/source
|
||||
MY_CAPTURE_JAVA_FOLDER := Android/java/org/webrtc/videoengine
|
||||
MY_CAPTURE_PATH := $(MY_CAPTURE_FOLDER)/$(MY_CAPTURE_JAVA_FOLDER)
|
||||
|
||||
MY_RENDER_FOLDER := ../../../../../modules/video_render/main/source
|
||||
MY_RENDER_JAVA_FOLDER := Android/java/org/webrtc/videoengine
|
||||
MY_RENDER_PATH := $(MY_RENDER_FOLDER)/$(MY_RENDER_JAVA_FOLDER)
|
||||
|
||||
LOCAL_MODULE_TAGS := tests
|
||||
|
||||
LOCAL_SRC_FILES := \
|
||||
src/org/webrtc/vieautotest/ViEAutotest.java \
|
||||
$(MY_CAPTURE_PATH)/CaptureCapabilityAndroid.java \
|
||||
$(MY_CAPTURE_PATH)/VideoCaptureAndroid.java \
|
||||
$(MY_CAPTURE_PATH)/VideoCaptureDeviceInfoAndroid.java \
|
||||
$(MY_RENDER_PATH)/ViEAndroidGLES20.java \
|
||||
$(MY_RENDER_PATH)/ViERenderer.java \
|
||||
$(MY_RENDER_PATH)/ViESurfaceRenderer.java
|
||||
|
||||
LOCAL_PACKAGE_NAME := webrtc-video-autotest
|
||||
LOCAL_CERTIFICATE := platform
|
||||
|
||||
LOCAL_JNI_SHARED_LIBRARIES := libwebrtc-video-autotest-jni
|
||||
|
||||
include $(BUILD_PACKAGE)
|
||||
|
||||
include $(call all-makefiles-under,$(LOCAL_PATH))
|
76
video_engine/main/test/AutoTest/Android/jni/Android.mk
Normal file
76
video_engine/main/test/AutoTest/Android/jni/Android.mk
Normal file
@ -0,0 +1,76 @@
|
||||
# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
||||
#
|
||||
# Use of this source code is governed by a BSD-style license
|
||||
# that can be found in the LICENSE file in the root of the source
|
||||
# tree. An additional intellectual property rights grant can be found
|
||||
# in the file PATENTS. All contributing project authors may
|
||||
# be found in the AUTHORS file in the root of the source tree.
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
# the follow two lines are for NDK build
|
||||
INTERFACES_PATH := $(LOCAL_PATH)/../../../../../../../build/interface
|
||||
LIBS_PATH := $(LOCAL_PATH)/../../../../../../../build/libraries
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE_TAGS := tests
|
||||
LOCAL_MODULE := libwebrtc-video-autotest-jni
|
||||
LOCAL_CPP_EXTENSION := .cc
|
||||
LOCAL_SRC_FILES := \
|
||||
vie_autotest_jni.cc \
|
||||
../../source/vie_autotest_android.cc \
|
||||
../../source/vie_autotest.cc \
|
||||
../../source/vie_autotest_base.cc \
|
||||
../../source/vie_autotest_capture.cc \
|
||||
../../source/vie_autotest_codec.cc \
|
||||
../../source/vie_autotest_encryption.cc \
|
||||
../../source/vie_autotest_file.cc \
|
||||
../../source/vie_autotest_image_process.cc \
|
||||
../../source/vie_autotest_loopback.cc \
|
||||
../../source/vie_autotest_network.cc \
|
||||
../../source/vie_autotest_render.cc \
|
||||
../../source/vie_autotest_rtp_rtcp.cc \
|
||||
../../source/tb_I420_codec.cc \
|
||||
../../source/tb_capture_device.cc \
|
||||
../../source/tb_external_transport.cc \
|
||||
../../source/tb_interfaces.cc \
|
||||
../../source/tb_video_channel.cc
|
||||
|
||||
LOCAL_CPPFLAGS :=
|
||||
LOCAL_LDFLAGS :=
|
||||
LOCAL_CFLAGS += \
|
||||
'-DWEBRTC_TARGET_PC' \
|
||||
'-DWEBRTC_ANDROID' \
|
||||
'-DANDROID'
|
||||
|
||||
LOCAL_C_INCLUDES := \
|
||||
external/gtest/include \
|
||||
$(LOCAL_PATH)/../interface \
|
||||
$(LOCAL_PATH)/../../interface \
|
||||
$(LOCAL_PATH)/../../../../interface \
|
||||
$(LOCAL_PATH)/../../../../../.. \
|
||||
$(LOCAL_PATH)/../../../../source \
|
||||
$(LOCAL_PATH)/../../../../../../modules/video_render/main/interface \
|
||||
$(LOCAL_PATH)/../../../../../../modules/interface \
|
||||
$(LOCAL_PATH)/../../../../../../modules/video_capture/main/interface \
|
||||
$(LOCAL_PATH)/../../../../../../modules/video_coding/codecs/interface \
|
||||
$(LOCAL_PATH)/../../../../../../voice_engine/main/interface \
|
||||
$(LOCAL_PATH)/../../../../../../system_wrappers/interface
|
||||
|
||||
|
||||
LOCAL_PRELINK_MODULE := false
|
||||
LOCAL_STATIC_LIBRARIES :=
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libutils \
|
||||
libstlport \
|
||||
libandroid \
|
||||
libwebrtc \
|
||||
libGLESv2
|
||||
|
||||
# the following line is for NDK build
|
||||
LOCAL_LDLIBS := $(LIBS_PATH)/VideoEngine_android_gcc.a -llog -lgcc
|
||||
|
||||
include external/stlport/libstlport.mk
|
||||
include $(BUILD_SHARED_LIBRARY)
|
62
video_engine/main/test/AutoTest/source/Android.mk
Normal file
62
video_engine/main/test/AutoTest/source/Android.mk
Normal file
@ -0,0 +1,62 @@
|
||||
# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
||||
#
|
||||
# Use of this source code is governed by a BSD-style license
|
||||
# that can be found in the LICENSE file in the root of the source
|
||||
# tree. An additional intellectual property rights grant can be found
|
||||
# in the file PATENTS. All contributing project authors may
|
||||
# be found in the AUTHORS file in the root of the source tree.
|
||||
|
||||
LOCAL_PATH:= $(call my-dir)
|
||||
|
||||
# voice engine test app
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE_TAGS := tests
|
||||
LOCAL_CPP_EXTENSION := .cc
|
||||
LOCAL_SRC_FILES:= \
|
||||
vie_autotest.cc \
|
||||
vie_autotest_android.cc \
|
||||
vie_autotest_base.cc \
|
||||
vie_autotest_capture.cc \
|
||||
vie_autotest_codec.cc \
|
||||
vie_autotest_encryption.cc \
|
||||
vie_autotest_file.cc \
|
||||
vie_autotest_image_process.cc \
|
||||
vie_autotest_loopback.cc \
|
||||
vie_autotest_network.cc \
|
||||
vie_autotest_render.cc \
|
||||
vie_autotest_rtp_rtcp.cc
|
||||
|
||||
# Flags passed to both C and C++ files.
|
||||
LOCAL_CFLAGS := \
|
||||
'-DWEBRTC_TARGET_PC' \
|
||||
'-DWEBRTC_ANDROID' \
|
||||
'-DANDROID'
|
||||
LOCAL_CPPFLAGS :=
|
||||
LOCAL_LDFLAGS :=
|
||||
LOCAL_C_INCLUDES := \
|
||||
$(LOCAL_PATH)/../interface \
|
||||
$(LOCAL_PATH)/../../../../.. \
|
||||
$(LOCAL_PATH)/../../../test/AutoTest/interface \
|
||||
$(LOCAL_PATH)/../../../interface \
|
||||
$(LOCAL_PATH)/../../../source \
|
||||
$(LOCAL_PATH)/../../../../../modules/video_coding/codecs/interface \
|
||||
$(LOCAL_PATH)/../../../../../system_wrappers/interface \
|
||||
$(LOCAL_PATH)/../../../../../modules/video_render/main/interface \
|
||||
$(LOCAL_PATH)/../../../../../modules/interface \
|
||||
$(LOCAL_PATH)/../../../../../modules/video_capture/main/interface \
|
||||
$(LOCAL_PATH)/../../../../../common_video/vplib/main/interface \
|
||||
$(LOCAL_PATH)/../../../../../voice_engine/main/interface
|
||||
|
||||
LOCAL_STATIC_LIBRARIES :=
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libutils \
|
||||
libstlport \
|
||||
libwebrtc
|
||||
|
||||
LOCAL_MODULE:= webrtc_video_test
|
||||
|
||||
include external/stlport/libstlport.mk
|
||||
include $(BUILD_EXECUTABLE)
|
98
voice_engine/main/source/Android.mk
Normal file
98
voice_engine/main/source/Android.mk
Normal file
@ -0,0 +1,98 @@
|
||||
# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
||||
#
|
||||
# Use of this source code is governed by a BSD-style license
|
||||
# that can be found in the LICENSE file in the root of the source
|
||||
# tree. An additional intellectual property rights grant can be found
|
||||
# in the file PATENTS. All contributing project authors may
|
||||
# be found in the AUTHORS file in the root of the source tree.
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_ARM_MODE := arm
|
||||
LOCAL_MODULE := libwebrtc_voe_core
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_CPP_EXTENSION := .cc
|
||||
LOCAL_GENERATED_SOURCES :=
|
||||
LOCAL_SRC_FILES := audio_frame_operations.cc \
|
||||
channel.cc \
|
||||
channel_manager.cc \
|
||||
channel_manager_base.cc \
|
||||
dtmf_inband.cc \
|
||||
dtmf_inband_queue.cc \
|
||||
level_indicator.cc \
|
||||
monitor_module.cc \
|
||||
output_mixer.cc \
|
||||
ref_count.cc \
|
||||
shared_data.cc \
|
||||
statistics.cc \
|
||||
transmit_mixer.cc \
|
||||
utility.cc \
|
||||
voe_audio_processing_impl.cc \
|
||||
voe_base_impl.cc \
|
||||
voe_call_report_impl.cc \
|
||||
voe_codec_impl.cc \
|
||||
voe_dtmf_impl.cc \
|
||||
voe_encryption_impl.cc \
|
||||
voe_external_media_impl.cc \
|
||||
voe_file_impl.cc \
|
||||
voe_hardware_impl.cc \
|
||||
voe_neteq_stats_impl.cc \
|
||||
voe_network_impl.cc \
|
||||
voe_rtp_rtcp_impl.cc \
|
||||
voe_video_sync_impl.cc \
|
||||
voe_volume_control_impl.cc \
|
||||
voice_engine_impl.cc
|
||||
|
||||
# Flags passed to both C and C++ files.
|
||||
MY_CFLAGS :=
|
||||
MY_CFLAGS_C :=
|
||||
MY_DEFS := '-DNO_TCMALLOC' \
|
||||
'-DNO_HEAPCHECKER' \
|
||||
'-DWEBRTC_TARGET_PC' \
|
||||
'-DWEBRTC_LINUX' \
|
||||
'-DWEBRTC_THREAD_RR' \
|
||||
'-DWEBRTC_ANDROID' \
|
||||
'-DANDROID'
|
||||
LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS)
|
||||
|
||||
# Include paths placed before CFLAGS/CPPFLAGS
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../.. \
|
||||
$(LOCAL_PATH)/../interface \
|
||||
$(LOCAL_PATH)/../../../common_audio/resampler/main/interface \
|
||||
$(LOCAL_PATH)/../../../common_audio/signal_processing_library/main/interface \
|
||||
$(LOCAL_PATH)/../../../modules/audio_coding/main/interface \
|
||||
$(LOCAL_PATH)/../../../modules/interface \
|
||||
$(LOCAL_PATH)/../../../modules/audio_conference_mixer/interface \
|
||||
$(LOCAL_PATH)/../../../modules/audio_device/main/interface \
|
||||
$(LOCAL_PATH)/../../../modules/audio_processing/main/interface \
|
||||
$(LOCAL_PATH)/../../../modules/media_file/interface \
|
||||
$(LOCAL_PATH)/../../../modules/rtp_rtcp/interface \
|
||||
$(LOCAL_PATH)/../../../modules/udp_transport/interface \
|
||||
$(LOCAL_PATH)/../../../modules/utility/interface \
|
||||
$(LOCAL_PATH)/../../../system_wrappers/interface
|
||||
|
||||
# Flags passed to only C++ (and not C) files.
|
||||
LOCAL_CPPFLAGS :=
|
||||
|
||||
LOCAL_LDFLAGS :=
|
||||
|
||||
LOCAL_STATIC_LIBRARIES :=
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := libcutils \
|
||||
libdl \
|
||||
libstlport
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES :=
|
||||
|
||||
ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true)
|
||||
LOCAL_LDLIBS += -ldl -lpthread
|
||||
endif
|
||||
|
||||
ifneq ($(TARGET_SIMULATOR),true)
|
||||
LOCAL_SHARED_LIBRARIES += libdl
|
||||
endif
|
||||
|
||||
include external/stlport/libstlport.mk
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
#include $(BUILD_SHARED_LIBRARY)
|
29
voice_engine/main/test/Android/android_test/jni/Android.mk
Normal file
29
voice_engine/main/test/Android/android_test/jni/Android.mk
Normal file
@ -0,0 +1,29 @@
|
||||
# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
||||
#
|
||||
# Use of this source code is governed by a BSD-style license
|
||||
# that can be found in the LICENSE file in the root of the source
|
||||
# tree. An additional intellectual property rights grant can be found
|
||||
# in the file PATENTS. All contributing project authors may
|
||||
# be found in the AUTHORS file in the root of the source tree.
|
||||
|
||||
# Android makefile for webrtc VoiceEngine Java API wrapper
|
||||
# This setup assumes two libs built outside Android makefile structure.
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
WEBRTC_INTERFACES_PATH := $(LOCAL_PATH)/../../../../../../../../build/interface
|
||||
WEBRTC_LIBS_PATH := $(LOCAL_PATH)/../../../../../../../../build/libraries
|
||||
WEBRTC_AUTO_TEST_PATH := $(LOCAL_PATH)/../../../auto_test
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE := android_test
|
||||
LOCAL_SRC_FILES := android_test.cc
|
||||
LOCAL_CFLAGS := -DWEBRTC_TARGET_PC # For typedefs.h
|
||||
LOCAL_C_INCLUDES := $(WEBRTC_INTERFACES_PATH) $(WEBRTC_AUTO_TEST_PATH)
|
||||
LOCAL_LDLIBS := \
|
||||
$(WEBRTC_LIBS_PATH)/VoiceEngine_android_gcc.a \
|
||||
$(WEBRTC_AUTO_TEST_PATH)/auto_test_android_gcc.a \
|
||||
-llog -lgcc
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
47
voice_engine/main/test/auto_test/Android.mk
Normal file
47
voice_engine/main/test/auto_test/Android.mk
Normal file
@ -0,0 +1,47 @@
|
||||
# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
||||
#
|
||||
# Use of this source code is governed by a BSD-style license
|
||||
# that can be found in the LICENSE file in the root of the source
|
||||
# tree. An additional intellectual property rights grant can be found
|
||||
# in the file PATENTS. All contributing project authors may
|
||||
# be found in the AUTHORS file in the root of the source tree.
|
||||
|
||||
LOCAL_PATH:= $(call my-dir)
|
||||
|
||||
# voice engine test app
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE_TAGS := tests
|
||||
LOCAL_CPP_EXTENSION := .cc
|
||||
LOCAL_SRC_FILES:= \
|
||||
voe_cpu_test.cc \
|
||||
voe_standard_test.cc \
|
||||
voe_stress_test.cc \
|
||||
voe_unit_test.cc \
|
||||
voe_extended_test.cc
|
||||
# Flags passed to both C and C++ files.
|
||||
LOCAL_CFLAGS := \
|
||||
'-DWEBRTC_TARGET_PC' \
|
||||
'-DWEBRTC_LINUX' \
|
||||
'-DWEBRTC_ANDROID' \
|
||||
'-DANDROID'
|
||||
LOCAL_CPPFLAGS :=
|
||||
LOCAL_LDFLAGS :=
|
||||
LOCAL_C_INCLUDES := \
|
||||
external/gtest/include \
|
||||
$(LOCAL_PATH)/../../interface \
|
||||
$(LOCAL_PATH)/../../../.. \
|
||||
$(LOCAL_PATH)/../../../../system_wrappers/interface
|
||||
|
||||
LOCAL_STATIC_LIBRARIES :=
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libutils \
|
||||
libstlport \
|
||||
libwebrtc
|
||||
|
||||
LOCAL_MODULE:= webrtc_voe_autotest
|
||||
|
||||
include external/stlport/libstlport.mk
|
||||
include $(BUILD_EXECUTABLE)
|
52
voice_engine/main/test/ui_linux_test/Android.mk
Normal file
52
voice_engine/main/test/ui_linux_test/Android.mk
Normal file
@ -0,0 +1,52 @@
|
||||
# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
||||
#
|
||||
# Use of this source code is governed by a BSD-style license
|
||||
# that can be found in the LICENSE file in the root of the source
|
||||
# tree. An additional intellectual property rights grant can be found
|
||||
# in the file PATENTS. All contributing project authors may
|
||||
# be found in the AUTHORS file in the root of the source tree.
|
||||
|
||||
LOCAL_PATH:= $(call my-dir)
|
||||
|
||||
# voice engine test app
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE_TAGS := tests
|
||||
LOCAL_CPP_EXTENSION := .cc
|
||||
LOCAL_SRC_FILES:= \
|
||||
ui_linux_test.cc
|
||||
|
||||
# Flags passed to both C and C++ files.
|
||||
LOCAL_CFLAGS := \
|
||||
'-DWEBRTC_TARGET_PC' \
|
||||
'-DWEBRTC_ANDROID' \
|
||||
'-DANDROID' \
|
||||
'-DDEBUG'
|
||||
LOCAL_CPPFLAGS :=
|
||||
LOCAL_LDFLAGS :=
|
||||
LOCAL_C_INCLUDES := \
|
||||
external/gtest/include \
|
||||
$(LOCAL_PATH)/../../interface \
|
||||
$(LOCAL_PATH)/../../../.. \
|
||||
frameworks/base/include
|
||||
|
||||
LOCAL_STATIC_LIBRARIES :=
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libutils \
|
||||
libstlport \
|
||||
libwebrtc \
|
||||
libmedia \
|
||||
libcamera_client \
|
||||
libgui \
|
||||
libhardware \
|
||||
libandroid_runtime \
|
||||
libbinder
|
||||
|
||||
#libwilhelm.so libDunDef-Android.so libbinder.so libsystem_server.so
|
||||
|
||||
LOCAL_MODULE:= webrtc_voe_cmd
|
||||
|
||||
include external/stlport/libstlport.mk
|
||||
include $(BUILD_EXECUTABLE)
|
Loading…
x
Reference in New Issue
Block a user