Commit Graph

19109 Commits

Author SHA1 Message Date
Dan Willemsen
c794996b46 runtest: Fix mmm equivalent
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
2016-08-11 17:38:23 -07:00
Treehugger Robot
4008acc1a9 Merge "Put bsd_signal back in android-21+." 2016-08-11 17:19:40 +00:00
Dan Albert
107ea8235a Put bsd_signal back in android-21+.
Test: Added tests/build/signal
Bug: https://github.com/android-ndk/ndk/issues/160
Change-Id: Ifb222540708aad597994ebd33019e2b478b25953
2016-08-09 14:10:55 -07:00
Treehugger Robot
735aab1f1a Merge "Remove more hard float crap." 2016-08-02 20:34:48 +00:00
Dan Albert
5831e92366 Remove more hard float crap.
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
2016-08-02 10:24:19 -07:00
Dimitry Ivanov
baeb854d5f Merge changes Ia67fd60d,Iace0af9f
* changes:
  Remove android_set_abort_message from libstdc++.so
  Remove invalid libstdc++ symbols
2016-07-28 19:58:19 +00:00
Dimitry Ivanov
2212ea5c73 Remove android_set_abort_message from libstdc++.so
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
2016-07-28 11:31:55 -07:00
Dimitry Ivanov
ead16304af Remove invalid libstdc++ symbols
There are not present in current platform version of the library.

Bug: http://b/28987948
Test: python checkbuild.py
Change-Id: Iace0af9f7ee0d9fa424ea4f27035894499f4aa8c
2016-07-28 11:11:27 -07:00
Treehugger Robot
784eace983 Merge "Stack: Fix tool for long stacks" 2016-07-27 00:36:57 +00:00
Treehugger Robot
c1ba3c3726 Merge "Update Vulkan headers to 1.0.22." 2016-07-26 23:07:27 +00:00
Jesse Hall
08c41d3399 Update Vulkan headers to 1.0.22.
Change-Id: Ibff15a1a8f0cac0aa27abffac6c65403d9198ee0
2016-07-26 14:15:14 -07:00
Treehugger Robot
990ecb6773 Merge "Stack: Fix libmemunreachable stack test" 2016-07-26 21:13:29 +00:00
Colin Cross
1127df9e6f Stack: Fix libmemunreachable stack test
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
2016-07-26 10:57:22 -07:00
Andreas Gampe
48068ac0b4 Stack: Fix tool for long stacks
To make the comparison meaningful, better compare integrals rather
than strings.

Test: ./stack_core.py
Change-Id: Ie24bea75d7c0bc57a1b7683b91e62fafead70341
2016-07-26 08:43:27 -07:00
Treehugger Robot
92863bc8cb Merge changes I94edfc1f,Ia40d7761
* changes:
  Remove __NDK_FPABI__ from all definitions.
  Add a script to unify each platform level.
2016-07-16 00:21:01 +00:00
Dan Albert
27f936e0b9 Remove __NDK_FPABI__ from all definitions.
There's no such thing as the hard float ABI any more.

Change-Id: I94edfc1f12e93286b87febfd9b8486f2f3df051e
2016-07-15 11:30:28 -07:00
Dan Albert
b6ef7b6664 Add a script to unify each platform level.
Change-Id: Ia40d7761e070fdb40b99719b4bd2b536d49925ba
2016-07-14 16:03:35 -07:00
Colin Cross
530c874716 Merge "stack: support output from dumpsys meminfo --unreachable" 2016-07-08 16:41:43 +00:00
Colin Cross
807ec0ec36 stack: support output from dumpsys meminfo --unreachable
Support unreachable memory reports in the form:

 Unreachable memory
  4307 bytes in 61 unreachable allocations
  ABI: 'arm64'

  112 bytes unreachable at 79352e38d0
   and 1904 similar unreachable bytes in 17 allocations
   first 32 bytes of contents:
   79352e38d0: 30 9c 83 52 79 00 00 00 00 00 00 00 00 00 00 00 0..Ry...........
   79352e38e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
          #00  pc 000000000006e218  /system/lib64/libc++.so (operator new(unsigned long)+36)
          #01  pc 000000000009171c  /system/lib64/libhwui.so
          #02  pc 0000000000093cc8  /system/lib64/libhwui.so (android::uirenderer::RecordingCanvas::drawText(unsigned short const*, float const*, int, SkPaint const&, float, float, float, float, float, float, float)+300)
          #03  pc 00000000000fbdd0  /system/lib64/libandroid_runtime.so (android::CanvasJNI::drawText(android::Canvas*, unsigned short const*, int, int, int, float, float, int, android::Paint const&, android::TypefaceImpl*)+2120)

Test: ./stack_core.py
Change-Id: I8075f3390f08972e57ec71f84dfe60adac110eed
2016-07-07 17:09:04 -07:00
Treehugger Robot
a11983f566 Merge changes I1ee1ee05,Ieb6d9f68,Ia3d77625
* 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"
2016-07-06 19:03:57 +00:00
Chris Craik
2d201fc34b Add atrace and multinetwork symbols to android-23.
Bug: http://b/29936226
Change-Id: I1ee1ee05888beead305b3b330d8f94f8037bd5d4
2016-07-06 11:33:49 -07:00
Dan Albert
36aa91084a Copy libandroid.so symbols from L to M.
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
2016-07-06 11:15:59 -07:00
Dan Albert
9274b9c85f Revert "Add atrace and multinetwork symbols to NDK"
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
2016-07-06 11:15:55 -07:00
Chris Craik
59a4978c1c Merge "Add atrace and multinetwork symbols to NDK" 2016-07-06 17:46:17 +00:00
Treehugger Robot
e85e33cfd7 Merge "Fixes the system server hang forever issue caused by the monkey not read completed the sync pipe." 2016-07-06 17:43:51 +00:00
Chris Craik
00b322bb05 Add atrace and multinetwork symbols to NDK
bug:29936226

Change-Id: I19b5b42fcf626e972d0c4c13dda90003f4e651f0
2016-07-01 17:20:14 -07:00
songjinshi
f032537cea Fixes the system server hang forever issue caused by
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>
2016-06-30 00:55:45 +00:00
Treehugger Robot
256e246ae4 Merge "Fix missing atexit in 21+ static ARM executables." 2016-06-28 17:36:02 +00:00
Dan Albert
4cd30b35b6 Fix missing atexit in 21+ static ARM executables.
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
2016-06-27 23:56:34 -07:00
Josh Gao
46ba021a2b Merge "Rename DT_MIPS_RLD_MAP2 flag to DT_MIPS_RLD_MAP_REL in NDK headers" 2016-06-24 21:59:04 +00:00
David Turner
ddc353fb83 Merge "kernel-ranchu: add ranchu kernel for sdk builds" 2016-06-16 09:48:04 +00:00
Eric Laurent
6925e3e774 Merge "Update OpenSLES_Android.h and OpenSLES_AndroidConfiguration.h for N API" 2016-06-08 00:26:42 +00:00
Eric Laurent
8a430eaadd Update OpenSLES_Android.h and OpenSLES_AndroidConfiguration.h for N API
All other include/SLES/*.h are unchanged since API 21

Bug: 29126594
Change-Id: I356a6dab91586ec81ebd346acaca20e936ba23bf
2016-06-07 15:32:34 -07:00
Sergio Giro
aeed89eea4 Merge "KeyDerivationFunction: example about treating data encrypted via SHA1PRNG" 2016-06-07 15:14:24 +00:00
Sergio Giro
477c90ca1a KeyDerivationFunction: example about treating data encrypted via SHA1PRNG
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
2016-06-07 16:05:06 +01:00
Dimitry Ivanov
3f23e555e9 Merge "Remove __brk" 2016-06-03 18:43:14 +00:00
Dan Albert
6aab0f5838 Merge "Camera: update NDK camera API headers" 2016-06-01 19:40:36 +00:00
Yin-Chia Yeh
6abb269438 Camera: update NDK camera API headers
Add documentation. No function/symbol change.

Bug: 27102995
Change-Id: I86bde8bcbb7d2ba2dc7c8c43439e905dcc8893ea
2016-05-31 15:30:35 -07:00
Dimitry Ivanov
b8c745f181 Remove __brk
The symbol is unused and deprecated

Bug: http://b/29005114
Change-Id: I314437d0517ffa855ebcc29895df6b781a42c8a4
2016-05-27 13:33:14 -07:00
Nikola Veljkovic
7a06b0c0a0 Rename DT_MIPS_RLD_MAP2 flag to DT_MIPS_RLD_MAP_REL in NDK headers
New tag name is coming from upstream (binutils), while the old one
was specific to Android.

Change-Id: Iaa0559a33bf8b472fff79e188d57dc77e6a1b106
2016-05-27 15:55:38 +02:00
Treehugger Robot
61a13b032d Merge changes I42303b1a,I854e142c,Ib5e3b5a4,Id3f015d2
* 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
2016-05-26 22:55:44 +00:00
Dimitry Ivanov
1b4f9ecb49 android-9: Add symbol versions for libc
This change applies version to the current list
of symbols.

Bug: http://b/26143749
Change-Id: I42303b1ad0525fc5be9a794e19d63d27be71c658
2016-05-26 14:52:44 -07:00
Dimitry Ivanov
2463618b03 android-12: No difference in libc.so between 12 and 14
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
2016-05-26 14:27:33 -07:00
Dimitry Ivanov
8eb20a39b1 android-9: Add symbol versions for libm
This change applies version to the current list
of symbols.

Bug: http://b/26143749
Change-Id: Ib5e3b5a4864715a62bfd27347c9d671e23535460
2016-05-26 14:17:51 -07:00
Dimitry Ivanov
d89ad44a6f android-9: Add symbol versions for libdl
This change applies version to the current list
of symbols.

Bug: http://b/26143749
Change-Id: Id3f015d299eac9a55f7fe9de5434f54db38a8d93
2016-05-26 14:01:49 -07:00
Treehugger Robot
dc016b7303 Merge "Remove symbols which we did not expose before android-23" 2016-05-26 20:42:16 +00:00
Dimitry Ivanov
002bf7468f Remove symbols which we did not expose before android-23
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
2016-05-26 11:31:38 -07:00
Treehugger Robot
d00ce0a001 Merge "Add missing symbols to android-19 libc" 2016-05-26 17:43:19 +00:00
Dimitry Ivanov
1d9f64bb0e Add missing symbols to android-19 libc
Symbols missing from NDK libc but present in the
platform version of libc:

__system_property_add
__system_property_area_init
__system_property_foreach
__system_property_serial
__system_property_set_filename
__system_property_update
__system_property_wait_any
abs
clearerr_unlocked
feof_unlocked
ferror_unlocked
fileno_unlocked
fstatvfs
imaxabs
imaxdiv
labs
llabs
statvfs
swapoff
swapon
timerfd_create
timerfd_gettime
timerfd_settime

Bug: http://b/28864994
Change-Id: I8f5d7716b19d2aa3aeac80db13f2728307a26599
2016-05-26 09:51:42 -07:00
Treehugger Robot
f559375df6 Merge changes Ib8ccc370,Id68c1840
* changes:
  Add missing symbols to android-18 libc
  Copy libc symbols from android-17 to 18
2016-05-25 22:43:17 +00:00