Elliott Hughes
ff11bce097
am 07bdc2b8: Merge "Fix build."
...
* commit '07bdc2b8e6980173ca9e8070803dcaad042e52c2':
Fix build.
2013-10-31 21:26:13 -07:00
Elliott Hughes
07bdc2b8e6
Merge "Fix build."
2013-11-01 04:24:08 +00:00
Elliott Hughes
0d86e637f6
Fix build.
...
Change-Id: If09775ab21fef5b1df0222f07443a55190ae7a1c
2013-10-31 18:41:52 -07:00
Andrew Hsieh
522490da81
am 55530bf3: Merge "ndk: Add missing declaration for mkdtemp"
...
* commit '55530bf38722d88132efeee41c3f4fbff5e08e08':
ndk: Add missing declaration for mkdtemp
2013-10-28 18:55:30 -07:00
Andrew Hsieh
55530bf387
Merge "ndk: Add missing declaration for mkdtemp"
2013-10-29 01:52:24 +00:00
David 'Digit' Turner
82703204a9
ndk: Add missing declaration for mkdtemp
...
The mkdtemp() function has always been implemented in the C library
(see [1] for proof) but was missing a declaration in <stdlib.h>, until
Android 4.0.1 [2]
This patch simply adds the missing declaration to former <stdlib.h>
versions. This makes it easier to build certain open-source programs
for Android, because auto-tools probing typically looks at the symbols
in libc.so to define HAVE_MKDTEMP, then the source fails to compile
because of the lack of declaration.
Note that the mkdtemp is also already listed in
platforms/android-*/arch-*/symbols/libc.so.functions.txt, which were
generated by parsing actual system libraries, and thus don't need to
be updated here.
[1] https://android.googlesource.com/platform/bionic/+/android-1.6_r1/libc/stdio/mktemp.c
https://android.googlesource.com/platform/bionic/+/android-1.6_r1/libc/Android.mk
[2] ad1ff2fb26
Change-Id: I838b54bcb5cbfd2fed24cf7649897889ec7a5559
2013-10-28 18:46:54 +01:00
Andrew Hsieh
ba2adddbd9
am 3fd7d3d3: Merge "cleaned code, added pinch gesture detector, better opengl context handling, fixed issues"
...
* commit '3fd7d3d383fd64e4a8b334ab831ece073580c02c':
cleaned code, added pinch gesture detector, better opengl context handling, fixed issues
2013-10-28 02:10:15 -07:00
Andrew Hsieh
3fd7d3d383
Merge "cleaned code, added pinch gesture detector, better opengl context handling, fixed issues"
2013-10-28 09:07:25 +00:00
Hak Matsuda
5d1c91fb75
cleaned code, added pinch gesture detector, better opengl context handling, fixed issues
...
Change-Id: I26a28374ae74391204586b4584d03cf0c58772c2
2013-10-28 11:41:58 +08:00
Elliott Hughes
9c52702306
am 122d194b: Merge "Fix incorrect extern declaration of poll(2)."
...
* commit '122d194b36e41ca6291efe6c27e02fc73d2a1683':
Fix incorrect extern declaration of poll(2).
2013-10-25 10:22:10 -07:00
Elliott Hughes
122d194b36
Merge "Fix incorrect extern declaration of poll(2)."
2013-10-25 17:19:25 +00:00
Elliott Hughes
ebfbb367fb
Fix incorrect extern declaration of poll(2).
...
Change-Id: I9ed5136a6b7d20fd0520e09d455a0447ea73e122
2013-10-25 09:07:42 -07:00
Narayan Kamath
80b5d8d23a
am b4f054a8: Merge "Remove invalid UTF-8 chars from source."
...
* commit 'b4f054a894790f68f991c1034fb9c5cb75fe546e':
Remove invalid UTF-8 chars from source.
2013-10-25 08:47:43 -07:00
Narayan Kamath
b4f054a894
Merge "Remove invalid UTF-8 chars from source."
2013-10-25 15:44:24 +00:00
Narayan Kamath
94ade845a7
Remove invalid UTF-8 chars from source.
...
Double checked that the time corrected verlet
equation is still readable. (If it isn't there's
always wikipedia).
Change-Id: I6573a4a096c2f2089968c19c79465b37540c2197
2013-10-24 19:15:06 +01:00
Ben Cheng
d4b49c6ccf
am 8edf8ef6: Merge "Refresh sysroot headers for aarch64."
...
* commit '8edf8ef6aadc1a568be40d52c0da659c2b1f5aa8':
Refresh sysroot headers for aarch64.
2013-10-17 15:54:32 -07:00
Ben Cheng
8edf8ef6aa
Merge "Refresh sysroot headers for aarch64."
2013-10-17 22:52:21 +00:00
Ben Cheng
2e2d9927e5
Refresh sysroot headers for aarch64.
...
Change-Id: I2443ff351aec5d558cb7843885e5b3f8177527e8
2013-10-17 14:07:49 -07:00
Andrew Hsieh
23f0a72de7
am 956fc5ca: Merge "Add libm_hard.a for armeabi-v7a"
...
* commit '956fc5ca9ea08e532a81a1eb8ff4b1b530b2a25c':
Add libm_hard.a for armeabi-v7a
2013-10-17 04:46:49 -07:00
Andrew Hsieh
956fc5ca9e
Merge "Add libm_hard.a for armeabi-v7a"
2013-10-17 11:43:29 +00:00
Andrew Hsieh
059df41ed9
Add libm_hard.a for armeabi-v7a
...
A math library compiled with -mhard-float. Build instructions:
1. cd to a recent Android source tree: bionic.git
fbefb252b09634114977dbd1b48dd42bb2629b83 (internal) in this case
2. Temporarily remove "-mfloat-abi=softfp" from build/core/combo/arch/arm/armv7*
and build/core/combo/TARGET_linux-arm.mk
3. Temporarily add "-mhard-float -mfloat-abi=hard" to LOCAL_CFLAGS
for libm.a in bionic/libm/Android.mk
4. make -B -j32 out/target/product/generic/obj/STATIC_LIBRARIES/libm_intermediates/libm.a
5. Rename it
Change-Id: I107eea48af75e97b448862cfc7aae2e8f8911a63
2013-10-17 19:41:06 +08:00
Andrew Hsieh
3bc014a6ab
am 69845974: Merge "Add __NDK_FPABI__ to function taking/returning float/double"
...
* commit '69845974fd0374acdadb5019e2f10242d1690d46':
Add __NDK_FPABI__ to function taking/returning float/double
2013-10-17 04:20:58 -07:00
Andrew Hsieh
69845974fd
Merge "Add __NDK_FPABI__ to function taking/returning float/double"
2013-10-17 11:16:53 +00:00
Andrew Hsieh
5881b5cbe7
Add __NDK_FPABI__ to function taking/returning float/double
...
Allow user code to be compiled with "-mhard-float" for armeabi-v7a
(which implies -mfloat-abi=hard), and either link with
1. Android native APIs which use softfp, or
2. A customized libm_hard.a which is compiled with -mhard-float. Need
-D_NDK_MATH_NO_SOFTFP=1
See tests/device/hard-float/jni/Android.mk for details and restriction
on Clang
Change-Id: I773a842c73368e08b9a6cda0441e95a96fa303b2
2013-10-17 19:15:22 +08:00
Andrew Hsieh
91939c301c
am a36935be: Merge "Add missing math functions"
...
* commit 'a36935be2189bb9cdb8bf6aa4b16db66fd1521b4':
Add missing math functions
2013-10-17 03:56:40 -07:00
Andrew Hsieh
a36935be21
Merge "Add missing math functions"
2013-10-17 10:54:18 +00:00
Andrew Hsieh
610b14acd4
am e3f5a9c5: Merge "Update libandroid.so for API9 .. API18"
...
* commit 'e3f5a9c5ddba72f688d48b87bc515852e032e3f6':
Update libandroid.so for API9 .. API18
2013-10-16 17:30:09 -07:00
Ben Cheng
2babe40935
am bfd1ec82: Merge "Use updated uapi headers for aarch64."
...
* commit 'bfd1ec82b44bb90a327202aafa620523aed6307b':
Use updated uapi headers for aarch64.
2013-10-16 17:30:08 -07:00
Andrew Hsieh
7af421e1e2
am dc8f1f8d: Merge "Add arch-mips64 symlink"
...
* commit 'dc8f1f8d078bde63a1440b4eff533d455773b720':
Add arch-mips64 symlink
2013-10-16 17:30:07 -07:00
Andrew Hsieh
e3f5a9c5dd
Merge "Update libandroid.so for API9 .. API18"
2013-10-17 00:27:47 +00:00
Ben Cheng
bfd1ec82b4
Merge "Use updated uapi headers for aarch64."
2013-10-17 00:27:11 +00:00
Andrew Hsieh
dc8f1f8d07
Merge "Add arch-mips64 symlink"
2013-10-17 00:27:05 +00:00
Ben Cheng
6570d523c4
Use updated uapi headers for aarch64.
...
Change-Id: I6093b3908f26842524acd5ba845e083b8ad6a888
2013-10-16 17:24:18 -07:00
Andrew Hsieh
0df3e70b99
Add missing math functions
...
1. Add sincos, sincosf, and sincosl to API >= 9 (for ARM only,
because X86 and MIPS have it already)
2. Add nan, nanf, nanl, and tgammaf to API >= 13 (11 actually,
but we don't want to add another API which is not released)
3. Add log2, log2f, log2l, logbl, nexttoward, and nexttowardl to
API >= 18
See b.android.com/38423
Change-Id: I0a756aeeddafc3862f3c0ae38218cb3301608231
2013-10-15 15:55:12 +08:00
Andrew Hsieh
0c147ba2dc
Update libandroid.so for API9 .. API18
...
This CL update library. See
f3c3a93bc4 for API13..18 header update
Add functions:
android-9:
AMotionEvent_getHistoricalRawX
AMotionEvent_getHistoricalRawY
AMotionEvent_getHistoricalTouchMajor
AMotionEvent_getHistoricalTouchMinor
AMotionEvent_getHistoricalToolMajor
AMotionEvent_getHistoricalToolMinor
AMotionEvent_getHistoricalOrientation
android-13:
AAsset_seek64
AAsset_getLength64
AAsset_getRemainingLength64
AAsset_openFileDescriptor64
AConfiguration_getScreenWidthDp
AConfiguration_setScreenWidthDp
AConfiguration_getScreenHeightDp
AConfiguration_setScreenHeightDp
AConfiguration_getSmallestScreenWidthDp
AConfiguration_setSmallestScreenWidthDp
AMotionEvent_getAxisValue
AMotionEvent_getHistoricalAxisValue
ANativeWindow_fromSurfaceTexture (removed in >=API16)
android_getTtsEngine
getTtsEngine
android-14:
AMotionEvent_getButtonState
AMotionEvent_getToolType
android-15:
<< none >>
android-16:
Remove ANativeWindow_fromSurfaceTexture
android-17:
AConfiguration_getLayoutDirection
AConfiguration_setLayoutDirection
android-18:
<< none >>
Also
1. remove android-16/include/android/native_activity.h which is the
same as android-13's
2. fix input.h comments and missing args, same as
9d0136004f for android-9
3. sort android-9's libandroid.so.functions.txt for easier comparison
See https://code.google.com/p/android/issues/detail?id=47150
https://code.google.com/p/android/issues/detail?id=58528
Change-Id: Iaa88fe45d188482fd0905ca54180c635ab02dd95
2013-10-14 18:44:24 +08:00
Andrew Hsieh
dc5ecc7e3e
Add arch-mips64 symlink
...
To build mips64el-linux-android-4.8
eg.
./build/tools/gen-platforms.sh --minimal --dst-dir=$NDK --ndk-dir=$NDK --overlay --arch=mips64
./build/tools/build-gcc.sh /tmp/ndk-$USER/src $NDK mips64el-linux-android-4.8 \
--with-python=prebuilt --try-64
Change-Id: Ia1d4e12db2da18b1a20bcb00e754c23d8b5ba990
ToDo: Need to update platforms/android-9/arch-mips/src/crt*
2013-10-14 13:46:57 +08:00
Siva Velusamy
aeccc70002
am 777285ce: Merge "samples: Do not attempt to clean line endings for *.py"
...
* commit '777285ceedba8cda5fb0fe0843fae6a887522c03':
samples: Do not attempt to clean line endings for *.py
2013-10-09 15:02:49 -07:00
Siva Velusamy
777285ceed
Merge "samples: Do not attempt to clean line endings for *.py"
2013-10-09 21:54:41 +00:00
Siva Velusamy
de3fa5df07
samples: Do not attempt to clean line endings for *.py
...
The line endings script changes line endings, but also
removes the executable permissions of the files. We don't
want this to happen for scripts such as systrace.py
Change-Id: I355cbc4c77cfb3c90e4615962863288680389bce
2013-10-09 09:30:08 -07:00
Ben Cheng
44d4d905bf
am 6972ffa7: Merge "Initial set of minimal sysroot headers to build aarch64-gcc."
...
* commit '6972ffa7981648275119fe62bcdd0e330d2b4312':
Initial set of minimal sysroot headers to build aarch64-gcc.
2013-10-08 16:52:21 -07:00
Ben Cheng
6972ffa798
Merge "Initial set of minimal sysroot headers to build aarch64-gcc."
2013-10-08 23:50:05 +00:00
Ben Cheng
032d79d013
Initial set of minimal sysroot headers to build aarch64-gcc.
...
These files are copied over from arch-arm and to be used as boilerplates
only for now.
Change-Id: I61662e4fb9b7582174ef806e5d7eb8ed28e3a1f6
2013-10-08 15:48:50 -07:00
Andrew Hsieh
daf3fdac2d
am cb83cfb5: Merge "Refresh include/sys/vfs.h"
...
* commit 'cb83cfb5fcc9ae9af3d14f1b28c2ba4d0cb519b9':
Refresh include/sys/vfs.h
2013-10-07 19:00:04 -07:00
Andrew Hsieh
cb83cfb5fc
Merge "Refresh include/sys/vfs.h"
2013-10-08 01:58:12 +00:00
Andrew Hsieh
c8a4b55563
am 81631c6b: Merge "Little fix for headers comparison tool"
...
* commit '81631c6b3c5ce8c25c216b65014d74b79e0d643e':
Little fix for headers comparison tool
2013-10-07 17:38:31 -07:00
Andrew Hsieh
81631c6b3c
Merge "Little fix for headers comparison tool"
2013-10-08 00:35:43 +00:00
Grigoriy Kraynov
fc36418fb2
Little fix for headers comparison tool
...
Change-Id: Iaa9602a0d5f6864d65bc0e41bef7573bd5499b84
Signed-off-by: Grigoriy Kraynov <grigoriy.kraynov@intel.com >
2013-10-07 17:30:08 +04:00
Andrew Hsieh
16af6afb9a
Refresh include/sys/vfs.h
...
1. Sync bionic's, remove mips-specific one
2. Fix statfs.c to transfer the new f_flags too
3. Revise comment about --wrap=symbol
Change-Id: If68818e3dcb2a4056cd0b2e100fcfb8b2156c33a
2013-10-07 15:39:47 +08:00
Kenny Root
6182008e73
am 88a42f9d: Merge "Fix MIPS build"
...
* commit '88a42f9daf0b081a40f7833875df4b04817319f6':
Fix MIPS build
2013-10-02 18:19:12 -07:00
Kenny Root
88a42f9daf
Merge "Fix MIPS build"
2013-10-03 00:24:00 +00:00