Commit Graph

8682 Commits

Author SHA1 Message Date
Andrew Hsieh
1f52f49c35 am 3e7f4c62: Merge "ndk: <sys/cdefs.h> minor update"
* commit '3e7f4c62a242d9aeaf91d7b5590959d96ffbc730':
  ndk: <sys/cdefs.h> minor update
2012-04-02 07:55:34 -07:00
Andrew Hsieh
b8e1cdda80 am 7ae589ca: Merge "ndk: minor header update"
* commit '7ae589ca49c8a37f52712101476c6cd664cc7e08':
  ndk: minor header update
2012-04-02 07:55:33 -07:00
Andrew Hsieh
2128eb22fd am 61e72dbc: Merge "ndk: Fix ipv6 related headers"
* commit '61e72dbc24de26fd54e09a30ec9e74ee9a22c306':
  ndk: Fix ipv6 related headers
2012-04-02 07:55:32 -07:00
Andrew Hsieh
708a75ba60 am ad05e868: Merge "ndk: Fix <sys/atomics.h> declarations."
* commit 'ad05e868b8f4a4e57bffcdbf5ffdfff5d3f8c92b':
  ndk: Fix <sys/atomics.h> declarations.
2012-04-02 07:55:30 -07:00
Andrew Hsieh
0480b89871 am 26f8b539: Merge "ndk: minor update to <netinet/...> headers."
* commit '26f8b5393020c1b8a569e8bb659c7bd8ed6ef796':
  ndk: minor update to <netinet/...> headers.
2012-04-02 07:55:29 -07:00
Andrew Hsieh
9487df9a0f Merge "Remove auto-gen project.properties" 2012-04-02 03:36:57 -07:00
Andrew Hsieh
3f59495d17 Remove auto-gen project.properties
It's auto-gen by tool from default.properties in the same dir, etc.

Change-Id: I081ecb809699d42b707218b08e61b97fc9a51f1a
2012-04-02 18:32:04 +08:00
Andrew Hsieh
2bbd700ef6 Merge "ndk: <dlfcn.h>: dladdr() takes a 'const void*' parameter, not 'void*'" 2012-04-02 03:16:37 -07:00
David 'Digit' Turner
b2f20362ac ndk: <dlfcn.h>: dladdr() takes a 'const void*' parameter, not 'void*'
This is a back-port to API level 8 of a non-ABI-breaking change of the declaration.
2012-04-02 18:15:50 +08:00
Andrew Hsieh
48aaee2cd0 Merge "Native media sample app for NDK API level 14" 2012-04-02 03:13:45 -07:00
Glenn Kasten
00038deedc Native media sample app for NDK API level 14 2012-04-02 18:08:03 +08:00
Andrew Hsieh
2c10ade96c Merge "ndk: android-9: Add missing <sys/eventfd.h> header" 2012-04-02 03:06:50 -07:00
David 'Digit' Turner
e43487b854 ndk: android-9: Add missing <sys/eventfd.h> header
For some reason, the header was missing from previous NDK releases.
Note: the function symbols are properly listed in arch-$ARCH/symbols/libc.so.functions.txt
2012-04-02 18:05:57 +08:00
Andrew Hsieh
ea94d94a3b Merge "ndk: <signal.h>: Increase _NSIG definition to 64" 2012-04-02 03:03:52 -07:00
David 'Digit' Turner
ef0d31ec73 ndk: <signal.h>: Increase _NSIG definition to 64
This is a minor update to this NDK header to better match the upstream definition.
2012-04-02 18:03:00 +08:00
Andrew Hsieh
535478dd4d Merge "ndk: <pthread.h>: formatting + updates" 2012-04-02 03:01:46 -07:00
David 'Digit' Turner
015d0543d2 ndk: <pthread.h>: formatting + updates
This patch improves the formatting of <pthread.h> as exposed by the NDK:

- change '#if __cplusplus' into '#ifdef __cplusplus'
- change C++-style comment into C-style comment

Change-Id: Ib093058e8d7a7554d8329a40e102cde11d065932
2012-04-02 17:59:26 +08:00
Andrew Hsieh
5f37cda9b9 Merge "ndk: <unistd.h>: minor cleanup" 2012-04-02 02:56:37 -07:00
David 'Digit' Turner
002d5366b6 ndk: <unistd.h>: minor cleanup
- Cleanup declaration of lseek64() to use off64_t instead of loff_t
- Cleanup declaration of prctl() to use variable number of arguments

The cleanups are performed to better match upstream.

Change-Id: I3c9420e328c3772bbb57dc9108dc879aa698a981
2012-04-02 17:54:27 +08:00
Andrew Hsieh
3e7f4c62a2 Merge "ndk: <sys/cdefs.h> minor update" 2012-04-02 02:42:37 -07:00
David 'Digit' Turner
3da072d28f ndk: <sys/cdefs.h> minor update
This patch fixes some formatting issues in <sys/cdefs.h>:

- change '#if __STDC_VERSION__ > xxx' into '#if defined(__STDC_VERSION__) && __STDC_VERSION > xxx'
- add __LIBC_HIDDEN__ definition (not technically required, but makes comparing the headers with upstream easier)
2012-04-02 17:41:16 +08:00
Andrew Hsieh
7ae589ca49 Merge "ndk: minor header update" 2012-04-02 01:08:05 -07:00
David 'Digit' Turner
1fe0de682b ndk: minor header update
<net/ethernet.h>: new header
<netdb.h>: add EAI_ADDRFAMILY definition
2012-04-02 16:07:07 +08:00
Andrew Hsieh
61e72dbc24 Merge "ndk: Fix ipv6 related headers" 2012-04-02 01:05:31 -07:00
David 'Digit' Turner
f4e62ff4a3 ndk: Fix ipv6 related headers
This fixes two minor issues with recent updates to the IPv6 related headers:

- add missing <linux/ipv6.h> kernel header
- avoid conflict in netinet/in6.h, the macro is already defined by <linux/in6.h>
2012-04-02 16:04:42 +08:00
Andrew Hsieh
ad05e868b8 Merge "ndk: Fix <sys/atomics.h> declarations." 2012-04-02 01:01:39 -07:00
David 'Digit' Turner
6c32dacf97 ndk: Fix <sys/atomics.h> declarations.
The atomic operations exported by the platform's C library do not
provide full memory barriers. This can result in incorrect results
when NDK machine code linked against them runs on multi-core devices.

While the bug has been fixed in the platform, this NDK header change
ensures that any source code that includes <sys/atomics.h> will end
up using a correct implementation of these functions, based on the
corresponding GCC builtins.

These builtins always provide a full barrier and have reasonable
performance. Application developers who depend on <sys/atomics.h>
should recompile their unmodified sources against this version
of the NDK as soon as possible.
2012-04-02 15:59:46 +08:00
Andrew Hsieh
26f8b53930 Merge "ndk: minor update to <netinet/...> headers." 2012-04-02 00:56:56 -07:00
Andrew Hsieh
ea046fadf5 am ee8746da: Merge "ndk: libc: Add RLIM_RTTIME to <asm-generic/resource.h>"
* commit 'ee8746daba45a79e32bfb0946f4ac9677cc4cafe':
  ndk: libc: Add RLIM_RTTIME to <asm-generic/resource.h>
2012-04-02 00:41:49 -07:00
Andrew Hsieh
a4c42802df am 3211c04a: Merge "ndk: arm: Update <asm/ptrace.h> and <asm/user.h>"
* commit '3211c04af13ce0d5a5280fa0ba6cdcd5760a542e':
  ndk: arm: Update <asm/ptrace.h> and <asm/user.h>
2012-04-02 00:41:48 -07:00
Andrew Hsieh
15b930a3e1 am a9adb11a: Merge "ndk: disable logs in release builds of native_app_glue library."
* commit 'a9adb11aaee79fb74a89025f41d4206a565bf6a3':
  ndk: disable logs in release builds of native_app_glue library.
2012-04-02 00:41:47 -07:00
Andrew Hsieh
7ea377d2a7 am ac1d40cf: Merge "Fixed inconsistent minSdkVersion and target= in NDK samples"
* commit 'ac1d40cf4fae70533a18205e4a6736b198aa8251':
  Fixed inconsistent minSdkVersion and target= in NDK samples
2012-04-02 00:41:46 -07:00
Andrew Hsieh
0117043e29 am 7a17a9af: Merge "Fixed to #include correct 32-bit headers"
* commit '7a17a9aff795e9ae17de50b5001bef8412f3e300':
  Fixed to #include correct 32-bit headers
2012-04-02 00:41:44 -07:00
David 'Digit' Turner
5704b40d70 ndk: minor update to <netinet/...> headers.
This patch contains a minor update to the netinet headers from the C library.
Most of the changes come from later platform release, but can be safely back-ported
to previous API levels since they don't change the ABI:

- <netinet/icmp6.h>, <netinet/ip6.h>: new headers
- <netinet/in.h>: now always include <linux/ipv6.h> by default
- <netinet/in6.h>: add macros: IN6_IS_ADDR_ULA, IN6ADDR_LOOPBACK_INIT
- <netinet/ip.h>: add macro: IPTOS_MINCOST
- <net/if_ether.h>: always include <sys/types.h> by default.
2012-04-02 15:31:20 +08:00
Andrew Hsieh
ee8746daba Merge "ndk: libc: Add RLIM_RTTIME to <asm-generic/resource.h>" 2012-04-02 00:15:32 -07:00
David 'Digit' Turner
554c5eca78 ndk: libc: Add RLIM_RTTIME to <asm-generic/resource.h>
This is a back-port of a fix that was performed in 4.0.1 to all previous platforms.
2012-04-02 15:14:10 +08:00
Andrew Hsieh
3211c04af1 Merge "ndk: arm: Update <asm/ptrace.h> and <asm/user.h>" 2012-04-02 00:12:14 -07:00
David 'Digit' Turner
34c6c855bc ndk: arm: Update <asm/ptrace.h> and <asm/user.h>
This is a minor update to two ARM-specific kernel headers.

- <asm/ptrace.h>: Add two new constants
- <asm/user.h>: Add 'struct vfp_user' and 'struct vfp_user_exc'
2012-04-02 15:11:02 +08:00
Andrew Hsieh
a9adb11aae Merge "ndk: disable logs in release builds of native_app_glue library." 2012-04-02 00:08:08 -07:00
David 'Digit' Turner
e938d97d6b ndk: disable logs in release builds of native_app_glue library.
This patch disables all the logs from the 'native_app_glue' helper
library (used to implement native activities with the NDK), unless
you're building a debug build.
2012-04-02 15:06:11 +08:00
Andrew Hsieh
ac1d40cf4f Merge "Fixed inconsistent minSdkVersion and target= in NDK samples" 2012-04-02 00:00:56 -07:00
Andrew Hsieh
a79e56e2f8 Fixed inconsistent minSdkVersion and target= in NDK samples
Also removed Dummy.java and auto-gen files
Inspired by http://code.google.com/p/android/issues/detail?id=20017
2012-04-02 15:00:03 +08:00
Andrew Hsieh
7a17a9aff7 Merge "Fixed to #include correct 32-bit headers" 2012-04-01 23:38:27 -07:00
Andrew Hsieh
0523af7ca2 Fixed to #include correct 32-bit headers
Corrected for example <asm/io.h> to include io_32.h instead of io_64.h
(which is missing, BTW).

Copied from the results of commit (same title) in bionic.git:
126601dd3f5303b50033dcb88945d928aa764aa4
2012-04-02 14:35:36 +08:00
Tony Chan
a29f43f6e1 am 1a2ddb42: sdk doc change: Added KeyChain API Demo
* commit '1a2ddb4216d81f9feadfea3a94bc9923255fe49a':
  sdk doc change: Added KeyChain API Demo
2012-03-31 02:17:44 -07:00
Andrew Hsieh
b002fa5fc8 am 2c950473: Merge "MIPS platform files for building the NDK"
* commit '2c9504731b2338b28640a752b94bc8c41299e6cb':
  MIPS platform files for building the NDK
2012-03-30 22:31:30 -07:00
Andrew Hsieh
7512bce044 am 49513bb2: Merge "[MIPS] crt* Object files generated from .S files. The object files are generated with the assembler built from binutils-2.21"
* commit '49513bb2c3105b43e81e1d6dbace3626750bd1a8':
  [MIPS] crt* Object files generated from .S files. The object files are generated with the assembler built from binutils-2.21
2012-03-30 22:31:29 -07:00
Andrew Hsieh
2c9504731b Merge "MIPS platform files for building the NDK" 2012-03-30 19:10:05 -07:00
Andrew Hsieh
49513bb2c3 Merge "[MIPS] crt* Object files generated from .S files. The object files are generated with the assembler built from binutils-2.21" 2012-03-30 19:07:23 -07:00
Raghu Gandham
22d3d88a7a [MIPS] crt* Object files generated from .S files.
The object files are generated with the assembler
built from binutils-2.21
2012-03-30 18:27:51 -07:00