Andrew Hsieh
d1e28cda45
am 23f0a72d: am 956fc5ca: Merge "Add libm_hard.a for armeabi-v7a"
...
* commit '23f0a72de7894d00912b7d829bd29f9ad628c80d':
Add libm_hard.a for armeabi-v7a
2013-10-17 05:05:30 -07:00
Andrew Hsieh
3e06938e3d
am 3bc014a6: am 69845974: Merge "Add __NDK_FPABI__ to function taking/returning float/double"
...
* commit '3bc014a6abc7d9569d2ff18a9fd076c5c8fbd058':
Add __NDK_FPABI__ to function taking/returning float/double
2013-10-17 05:05:28 -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
2cc7212ebb
am 91939c30: am a36935be: Merge "Add missing math functions"
...
* commit '91939c301c9598a6babbf0ad0e7696dda1cb5d57':
Add missing math functions
2013-10-17 04:00:20 -07: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
Ed Heyl
8eccbd3b5d
am edb74965: merge in klp-release (no-op)
...
* commit 'edb749657954b65ecf4d1dc884659f90a2e57f90':
2013-10-16 17:47:52 -07:00
Ed Heyl
edb7496579
merge in klp-release (no-op)
2013-10-16 17:35:18 -07:00
Andrew Hsieh
88e4cafe0d
am 610b14ac: am e3f5a9c5: Merge "Update libandroid.so for API9 .. API18"
...
* commit '610b14acd4a3ebc565f88d96a6aa274b9bd75a3d':
Update libandroid.so for API9 .. API18
2013-10-16 17:33:38 -07:00
Ben Cheng
930f4b1285
am 2babe409: am bfd1ec82: Merge "Use updated uapi headers for aarch64."
...
* commit '2babe4093578d15356ce9e0da62fff09f78f6f77':
Use updated uapi headers for aarch64.
2013-10-16 17:33:37 -07:00
Andrew Hsieh
1c7eb03927
am 7af421e1: am dc8f1f8d: Merge "Add arch-mips64 symlink"
...
* commit '7af421e1e21199456003bf70695334472b53babf':
Add arch-mips64 symlink
2013-10-16 17:33:36 -07: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
The Android Automerger
6c22b7b05d
merge in klp-release history after reset to klp-dev
2013-10-13 19:20:00 -07:00
Dianne Hackborn
e0dce67f03
am dbe4e751: New system UI API demos.
...
* commit 'dbe4e751b70b1f1699eed4047c7a1a772c4bcc8f':
New system UI API demos.
2013-10-13 12:56:02 -07:00
The Android Automerger
10b290e3cb
merge in klp-release history after reset to klp-dev
2013-10-13 06:01:21 -07:00
Dianne Hackborn
dbe4e751b7
New system UI API demos.
...
- Content browser that hides nav bar.
- Translucent bars.
- All the new flags on the direct system UI tweaker example.
Change-Id: I16fc8da252174db1ed45b0f60c37d6cbb8d7f13c
2013-10-11 16:17:58 -07:00
Raphael Moll
906ec536f2
am 37684bb0: Merge "resolved conflicts for merge of 14794b20 to klp-dev" into klp-dev
...
* commit '37684bb0653e2e93fb70fb4481799db485a90db1':
Android SDK: build tools 18.1.1 (RS fixes: windows EOL, YUV-to-RGB)
2013-10-10 15:38:25 -07:00
Raphael Moll
37684bb065
Merge "resolved conflicts for merge of 14794b20 to klp-dev" into klp-dev
2013-10-10 22:18:20 +00:00
Tor Norbye
afe40e3f75
am bc9875e2: Merge "Update the api-versions.xml file for KitKat" into klp-dev
...
* commit 'bc9875e27cbc042dc1388b94b1d20a1b46f21fc2':
Update the api-versions.xml file for KitKat
2013-10-10 13:12:06 -07:00
Tor Norbye
bc9875e27c
Merge "Update the api-versions.xml file for KitKat" into klp-dev
2013-10-10 20:08:13 +00:00
Raphael Moll
161314c80b
resolved conflicts for merge of 14794b20 to klp-dev
...
Change-Id: Idfdd970a9c90ca91c23f1780457c6fd8a3644cdc
2013-10-10 12:00:41 -07:00
Raphael Moll
14794b209c
am 3404cd16: am 827c0c16: Android SDK: build tools 18.1.1 (RS fixes: windows EOL, YUV-to-RGB)
...
* commit '3404cd16bfd0fadf7d50a10351ca407d938dbf28':
Android SDK: build tools 18.1.1 (RS fixes: windows EOL, YUV-to-RGB)
2013-10-10 11:52:48 -07:00
Raphael Moll
3404cd16bf
am 827c0c16: Android SDK: build tools 18.1.1 (RS fixes: windows EOL, YUV-to-RGB)
...
* commit '827c0c16080fcb92505945e2210c440571251e3e':
Android SDK: build tools 18.1.1 (RS fixes: windows EOL, YUV-to-RGB)
2013-10-10 11:49:45 -07:00
Siva Velusamy
f14254870e
am 3f12dac9: samples: Do not attempt to clean line endings for *.py DO NOT MERGE
...
* commit '3f12dac94da218f6a706a30201ac7bc06fe4b8ae':
samples: Do not attempt to clean line endings for *.py DO NOT MERGE
2013-10-10 11:32:48 -07:00
The Android Automerger
af7160bdd2
merge in klp-release history after reset to klp-dev
2013-10-10 06:00:38 -07:00
Siva Velusamy
3f12dac94d
samples: Do not attempt to clean line endings for *.py DO NOT MERGE
...
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
(cherry picked from commit de3fa5df07 )
Change-Id: Icee78118d0d7367176e8561338ae547228ee087d
2013-10-09 18:16:06 -07:00
Raphael Moll
827c0c1608
Android SDK: build tools 18.1.1 (RS fixes: windows EOL, YUV-to-RGB)
...
Change-Id: I02c11397681ee543cc5300170e5c2a7ba7e63da8
2013-10-09 15:53:22 -07:00
Raphael Moll
704d17c385
am f2f8671a: Update Android SDK properties for KLP
...
* commit 'f2f8671a929136a5be19e5a30ffe1f8d9ec5e81e':
Update Android SDK properties for KLP
2013-10-09 15:08:27 -07:00
Siva Velusamy
f5eea9d9cb
am aeccc700: am 777285ce: Merge "samples: Do not attempt to clean line endings for *.py"
...
* commit 'aeccc7000290f3f2edc59f9ff3a941df0d37ebc3':
samples: Do not attempt to clean line endings for *.py
2013-10-09 15:07:11 -07: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
Raphael Moll
f2f8671a92
Update Android SDK properties for KLP
...
Change-Id: I301d300f2e2e2b828ad4f398f3450d09f9329f7f
2013-10-09 14:14:47 -07: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
Tor Norbye
a25bbc368f
Update the api-versions.xml file for KitKat
...
This CL updates the api-versions.xml file, which is a file
used by Lint API check to check which API version each class,
field and method reference was introduced in.
It is generated by running sdk/apigenerator on an SDK install
which has android.jar from all 19 releases of Android installed.
This diff shows some methods getting removed from API 18 which
apparently were not in API 18; the last revision of the file
must have been run on a non-final version of the platform.
Change-Id: If08e4e9f08ae7fecbe938c1e928ad8698ed4025a
2013-10-08 18:16:30 -07:00
Ben Cheng
f2c2829b89
am 44d4d905: am 6972ffa7: Merge "Initial set of minimal sysroot headers to build aarch64-gcc."
...
* commit '44d4d905bf6da9d38cb4695962335c9c8b4a38ad':
Initial set of minimal sysroot headers to build aarch64-gcc.
2013-10-08 16:55:51 -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