Commit Graph

8591 Commits

Author SHA1 Message Date
David 'Digit' Turner
5e7c4e6a57 ndk: Remove prebuilt C runtime objects. Add sources instead.
This patch removes all prebuilt C runtime object files from
the ndk/platforms/ directory. We replace them with equivalent
assembly sources lifted from the following directories:

  bionic/libc/private/      (for __dso_handle.S and __dso_handle_so.S)
  bionic/libc/arch-$ARCH/   (for all others)

Note: This requires that your NDK's gen-platforms.sh script be
      capable of rebuilding the object files from sources.
      See https://android-review.googlesource.com/36822

The goal here is to make it much easier to update these files,
and track their changes relative to the content of bionic/lib.
For example to fix the following issues in the future:

Change-Id: If4c84e2584b0e58ca3585b034bb8a13a8add8ab9
http://code.google.com/p/android/issues/detail?id=26911
http://code.google.com/p/android/issues/detail?id=23203
2012-05-31 10:58:57 +02:00
Jean-Baptiste Queru
99314f432e Merge "Fix old style edit text drawable display error." 2012-05-23 14:58:09 -07:00
Raphael Moll
69ce67b42d Merge "Fix Mac SDK: sed s/--in-place/-i/" 2012-05-15 17:45:52 -07:00
Raphael Moll
877b365e36 Fix Mac SDK: sed s/--in-place/-i/
Change-Id: Idd6481fd86c62596e95647bd3acaedf1a7158640
2012-05-15 17:22:50 -07:00
Raphael Moll
d721f0e2c2 Merge "Fix SDK: don't generate empty codename line in source.properties." 2012-05-15 13:28:56 -07:00
Raphael Moll
8707207977 Fix SDK: don't generate empty codename line in source.properties.
This fixes commit 41a7acfa6b.

Change-Id: I3cc6ee0efea53fd0469c29fb0ffa87d727b15431
2012-05-15 12:26:37 -07:00
SeongJae Park
b9ca48dc1d Fix old style edit text drawable display error.
[Problem]
LinearLayout5, RelativeLayout2 of ApiDemos has text input field
display error.

[Cause]
They use Holo theme although text input field use old style edit text
drawable as background.

[Solution]
Use default edit text without custom background for RelativeLayout2,
LinearLayout5 sample.

Change-Id: I102bf267119ba0903bd17e898b525af0aa2f0c5d
Signed-off-by: SeongJae Park <sj38.park@gmail.com>
2012-05-16 02:53:26 +09:00
Raphael Moll
66493c9e6a Merge "SDK: don't generate empty codename line in source.properties." 2012-05-15 10:37:04 -07:00
Raphael Moll
41a7acfa6b SDK: don't generate empty codename line in source.properties.
SDK Bug: b/6490860

Change-Id: I1eb7090eedca961a2a71a18e5dcef68e6cbf7163
2012-05-14 21:00:01 -07:00
Trevor Johns
90e9900c44 Merge "Modified Snake Sample app to run on non-touch devices like Google Tv and also devices with no dpad support" 2012-05-03 18:30:25 -07:00
Andrew Hsieh
56849da62c Merge "[MIPS] Import signal.h from bionic. This version fixes the warning emitted by the toolchain" 2012-05-02 19:32:35 -07:00
Raghu Gandham
ae9a5f960c [MIPS] Import signal.h from bionic. This version fixes the
warning emitted by the toolchain
2012-05-02 18:46:58 -07:00
Kartic Grover
a1843415aa Modified Snake Sample app to run on non-touch devices like Google Tv and also devices with no dpad support
2D canvas DrawVertex to create a vector graphic background
touch & keypad playable
landscape & portrait for all known device sizes.  All measurements in DP and nicely scaling.
using xml drawables to rotate "dpad" arrow

Change-Id: I995acaaf0935c13c03fcbcf974ce5af06f46780e
2012-05-02 09:43:34 -07:00
Trevor Johns
b2c1343d41 Merge "Changes in some of the Android samples to support Google TV" 2012-05-01 13:02:01 -07:00
Kartic Grover
08bbdb6b21 Changes in some of the Android samples to support Google TV
Made changes in manifest files for 3 Android samples, namely ActionBarCompat, BackupRestore and CrossCompatibility for supporting Google TV devices. Changes related to making touchscreen support as optional and adding support for large screen devices was added.

Change-Id: Ie49b6fe94d750304b249b154b4bd9dffc3f789ee
2012-04-25 16:52:12 -07:00
Raphael Moll
424c95da4b Merge "SDK: Update sdk product library dependency list" 2012-04-25 15:07:43 -07:00
Raphael Moll
a70fac3d09 Merge "SDK: update product sdk.mk" 2012-04-25 10:23:13 -07:00
Raphael Moll
feaa5e8fbe SDK: Update sdk product library dependency list
Change-Id: I4830e7eac1192360a0a9850f763f98063b2c266f
2012-04-24 17:01:20 -07:00
Raphael Moll
fa6183c396 SDK: update product sdk.mk
The target/product/sdk.mk was split out of build.git.
Now this moves a few dependencies that were listed into the sdk.git
version of this file by mistake. Also sort the entries to be more
readable.

Change-Id: I652bca2b0322e9e8efd4bf2d5d9fcfd6c86d9c6c
2012-04-24 16:30:39 -07:00
Raphael Moll
6a04b5bb4e Merge "Support for Windows SDK pre-requisite module list." 2012-04-23 14:26:53 -07:00
Raphael Moll
3fb225fbfd Support for Windows SDK pre-requisite module list.
Requires sdk.git change I08fc98f2e1

Change-Id: I7388d7292d175ceac221ce6790655b37f85e8a32
2012-04-23 13:16:16 -07:00
Raphael Moll
186f007a74 Merge "Split build/targets/product/sdk.mk" 2012-04-23 09:48:51 -07:00
Raphael Moll
01d30e1a87 Split build/targets/product/sdk.mk
Change-Id: I6bbc6644a1dbf19ac768c2ea65d0e383b5dd23ef
2012-04-20 14:19:51 -07:00
Andrew Hsieh
bdd8dd7d1f Merge "Fixed compilation error #include <android/*h>" 2012-04-20 00:52:04 -07:00
Andrew Hsieh
d0e65433d0 Fixed compilation error #include <android/*h>
Fixed compilation error when header in #include <android/*h> is
included alone.

Fix for rect.h already exists in $ANDROID/frameworks/native/include/android

Change-Id: I7c49e044507581c5ad591f26f99cda6870b411c5
2012-04-20 15:50:10 +08:00
Xavier Ducrohet
2fa7b9ffeb Merge "Move emulator GLES from development.git to sdk.git" 2012-04-18 12:14:25 -07:00
Jesse Hall
80d4ba7716 Move emulator GLES from development.git to sdk.git
The emulator GLES support has two interfaces: a host shared library
interface used by QEMU, and a protocol between the platform and the
host. The host library interface is not versioned; QEMU and the GLES
renderer must match. The protocol on the other hand must be backwards
compatible: a new GLES renderer must support an older platform image.

Thus for branching purposes it makes more sense to put the GLES
renderer in sdk.git, which is branched along with qemu.git for SDK
releases. Platform images will be built against the protocol version
in the platform branch of sdk.git.

Change-Id: Ie73fce12815c9740e27d0f56caa53c6ceb3d30cc
2012-04-18 06:26:17 -07:00
Andrew Hsieh
46ead86b02 Merge "Refresh development/ndk/platforms/android-9/arch-x86/include/machine" 2012-04-05 22:30:09 -07:00
Andrew Hsieh
dab6072046 Refresh development/ndk/platforms/android-9/arch-x86/include/machine
Apply changes in bionic/libc/arch-x86/include/machine to
development/ndk/platforms/android-9/arch-x86/include/machine:

   commit 5fbf2e09921723cfdea75e83c1fac2080f0ad564

Change-Id: Ie0fe711ae4c866d9c1300430d5e9613ccb82da22
2012-04-06 13:29:08 +08:00
Xavier Ducrohet
2a57c79366 Merge "Move stuff from prebuilt to prebuilts/tools" 2012-04-04 13:02:37 -07:00
Xavier Ducrohet
40525ef472 Move stuff from prebuilt to prebuilts/tools
Also move some atree copy to sdk.git where they belong.

Change-Id: Iab62343806917f24f47d15b9dea75e44422d8764
2012-04-03 16:33:35 -07:00
Andrew Hsieh
34ccdaa87b Merge "ndk: ANativeActivity: Fix 'clazz' member documentation." 2012-04-03 04:32:21 -07:00
David 'Digit' Turner
16c0f25354 ndk: ANativeActivity: Fix 'clazz' member documentation.
As discussed on android-ndk, the member is misnamed

Change-Id: I2a5a1c8dce327ddf9ab7a4d14f4e2fdf62808753
2012-04-03 19:30:08 +08: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