* Last major but partial merge from upstream
was from r2699 on 9/17/2012.
Manual changes after "git merge 9b1cf54"
* Remove LOCAL_CLANG:=false
* Fix or workaround clang compilation error:
* Remove unnecessary LOCAL_CLANG_* flags or add comment.
* Fix type cast error and asm code error in
src/modules/audio_coding/codecs/isac/fix/source/filters_neon.c
* Keep AOSP's Android.mk files, but update include path,
local source file lists, and new -D predefined macros.
* Remove new Android.mk files from r2699.
We do not need new features from r2699.
* Remove all definition and use of WEBRTC_TARGET_PC and WEBRTC_USE_SSE2.
They are not needed with new upgraded Android.mk files.
* Keep old AOSP patches to compile on Android in
src/system_wrappers/source/android/cpu-features.c
src/modules/audio_coding/codecs/isac/fix/test/kenny.c
src/common_audio/signal_processing/spl_sqrt_floor.c
src/typedefs.h
* In /src/common_audio/signal_processing, the following C files have
new definitions from r2699, and some .s files for neon.
The new .s files have compilation error on AOSP, so we skip them.
The .s files are changed to .S in newer upstream versions that
we could merge in later and hopefully resolve all the problems.
The new .c files should also work, no worse than current AOSP .c files.
min_mnax_operations_neon.c
cross_correlation.c
downsample_fast.c
filter_ar_fast_q12.c
complex_bit_reverse.c
* Use nsx_core_neon.c instead of nsx_core_neon.S for arm64 target
because of arm64 compilation errors on AOSP.
* Remove unused parameter in src/modules/interface/module.h.
* Remove ./test, src/.../Testsort.cpp, and other files that were in
AOSP but not used and not in r2699.
* Some r2699 features are not ported to AOSP:
MY_WEBRTC_ROOT_PATH, LOCAL_PRELINK_MODULE, libstlport,
TARGET_SIMULATOR, webrtc_audioproc, webrtc_audioproc_unittest,
external/gtest/include, libgtest, libstlport
* Remove WEBRTC_USE_SSE2, no need after upgrade.
* Copy upstream *.gypi files, but they are not used in AOSP build.
After this merge of r2699, we should have git merge history
to simplify future merges.
Change-Id: I703e59bdb27d60cd5aab9f0744dd8ce25d0ea339
-mfpu=neon collides when we have improved flags like -mfpu=neon-vfpv4
(that can be used with krait CPUs).
The prior -no-integrated-as change (which exposes this bug) was also
missing a BUG: link in the Android.mk itself.
Change-Id: I808144d4560ca579749af2aa1372f3d599890308
spreadsort.hpp used a template parameter named `getchar`. In early
versions of the NDK (such as the one used by this project), getchar is
defined as a macro. For whatever reason, C++11 affects this behavior,
so explicitly use the default standard version (gnu++98).
Change-Id: I356c2c0886f1c5436732c902a6d22ccfd25bf725
"../" leads to object files spilling out of the module's intermediate
directory and causes build race condition.
Change-Id: I0f503b2ecca391b5255848e1ed6b56a898753ae8
Webrtc used to support both platform build and ndk build in a single makefile.
However, ndk build should be done by gyp, no need to support ndk build in android
makefile, remove NDK_ROOT.
Change-Id: I73c4ab84cec9f4f2d75ec21a50e420f9b076fce4
"../" leads to object files spilling out of the module's intermediate
directory and causes build race condition.
Change-Id: I0f503b2ecca391b5255848e1ed6b56a898753ae8
Specifically:
external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/../test/kenny.c:366: error: undefined reference to 'atof'
The real problem here is that this code is compiling against the platform
bionic headers but linking against the NDK C library. That's a terrible
idea, but I can't understand the makefile well enough to stop that.
This fixes the build by using a function that's common to both C libraries.
Change-Id: I3d5747014a45269520a4c3585be42f2a78293d86