This was installing all modules defined in Soong, since we always load
the Soong-generated Makefile for mm/mmm. So use MODULES-IN-* instead of
all_modules.
Also switch to the new GET-INSTALL-PATH-IN-* arguments.
Bug: 30191725
Change-Id: I8a660e24c9933f3f77eb23efd71f8e374a248576
Ugh. We had redefinitions of all the __builtin_* math functions in
here.
Test: ./checkbuild.py
Bug: https://github.com/android-ndk/ndk/issues/142
Change-Id: Iec187c3a542e2dc9b3d628c2a9aa3fb45d7986ef
This function is already exported by libc.so there
is no need for it in libstdc++.so
Bug: http://b/28987948
Test: python tests/run-all.py --abi armeabi --platform android-21 --suite build /ssd/aosp/master-ndk/out/android-ndk-r13-beta1
Test: python tests/run-all.py --abi arm64-v8a --platform android-21 --suite build /ssd/aosp/master-ndk/out/android-ndk-r13-beta1
Change-Id: Ia67fd60d31b9427db27ffc2ba980b331da3a8e6a
There are not present in current platform version of the library.
Bug: http://b/28987948
Test: python checkbuild.py
Change-Id: Iace0af9f7ee0d9fa424ea4f27035894499f4aa8c
Manually count input stack trace lines that match the regexps instead of
relying on the output of addr2line. Random changes to the libraries
listed in the test case could cause addr2line to land in an inlined
function and print multiple lines for each input stack frame.
Test: development/scripts/stack_core.py
Change-Id: I87f45466df4e814ec59a4c5f7e201fd1f3ee8419
To make the comparison meaningful, better compare integrals rather
than strings.
Test: ./stack_core.py
Change-Id: Ie24bea75d7c0bc57a1b7683b91e62fafead70341
* changes:
Add atrace and multinetwork symbols to android-23.
Copy libandroid.so symbols from L to M.
Revert "Add atrace and multinetwork symbols to NDK"
We need to update these for the multinetwork and atrace APIs. Copy
the baseline android-21 into place first to make the review simpler.
Bug: http://b/29936226
Change-Id: Ieb6d9f68b0474f0ec86a79b43bbd9f682d3b6aea
I did a bad job of reviewing this. This is libandroid.so, not a new
library. We need to keep all the old symbols here too. I'll copy in
android-21 first, then add these back.
This reverts commit 00b322bb05.
Bug: http://b/29936226
Change-Id: Ia3d7762599c29cc97add0c3f8a93b9562bed53f6
the monkey not read completed the sync pipe.
- Incorrect exception handle.
When no space left on the device the write will
occurs an I/O exception, so we needed to catch it
and continue to read the data of the sync pipe to
aviod the bugreport hang forever.
https://code.google.com/p/android/issues/detail?id=211970
Change-Id: I80c6548434587bcc17b50f0c246a5887cdd339cf
Signed-off-by: songjinshi <songjinshi@xiaomi.com>
The only difference between crtbegin_static.c and crtbegin_dynamic.c
is the inclusion of the atexit implementation. Until android-21,
atexit was included in libc.a. After android-21, it's expected to
come from crtbegin. In true NDK fashion, this isn't true across all
architectures. x86 and mips always had this coming from crtbegin.
Copy the android-9 ARM CRT files to android-21 and merge the crtbegin
implementations.
We should probably take a closer look at everything going on here at
some point to make sure we don't need anything new from the bionic
sources.
Test: Improved tests/device/static-executable in the NDK, built ARM
NDK, tested with and without `--platform android-21`.
Bug: https://github.com/android-ndk/ndk/issues/132
Change-Id: Ibc73984db25359590384391583bf24f738c8dd30
The Crypto provider providing the SHA1PRNG algorithm for random number
generation was deprecated.
This algorithm was sometimes incorrectly used to derive keys.
This example provides a helper class and shows how to treat data that
was encrypted in the incorrect way and re-encrypt it in a proper way.
Bug: 27873296
Change-Id: I92d2fd4ebb07d5823de31f5a199e23b1dba4836e
* changes:
android-9: Add symbol versions for libc
android-12: No difference in libc.so between 12 and 14
android-9: Add symbol versions for libm
android-9: Add symbol versions for libdl
Remove android-14 symbols for libc.so there is nothing new in
android-14. Also move version scripts for libc to android-12.
Bug: http://b/26143749
Change-Id: I854e142c1c06f099eef908518bcc5ddec257f3cb
Even though platform libc for 19 has this symbols, android-21 and 22
do not export them - to preserve forward compatibility they were
removed from android-19:
clearerr_unlocked
feof_unlocked
ferror_unlocked
fileno_unlocked
Bug: http://b/28864994
Change-Id: I3dfd27ee82d8886bf5cf934bd426ef7c2f26ecfd