Initial Contribution
Add a few missing headers.

Fixes build with gcc 4.3.2 on Debian.

Signed-off-by: Alexey Zaytsev <alexey.zaytsev@gmail.com>
Detect a missing javac and provide a slightly more helpful error message.

Note the hyphens in the error message are required because the output of
this scripts is used directly in a Makefile target.

Signed-off-by: Rod Whitby <rod@whitby.id.au>
Use a typed comparison of floating point field values rather than just a string comparison.
This addresses toolchain issues; see http://code.google.com/p/android/issues/detail?id=994
Added broadcasts for external power events.
Merge
ftb (fix the build)
add build system design doc
Fix the build with a proper current.xml API file.
revive the TINY_ANDROID build option

- update core/main.mk to include the right top-level directories
- disable tasks/apicheck.mk in TINY_ANDROID builds to prevent failure
Fix the build by hand apling JBQs current.xml change because my attempt to merge failed.
Changed dexpreopt/Config.mk to use new (correct) path.
This is the first set of build system changes to support
architecture versions other than ARMv5TE.

The general approach is to provide TARGET_ARCH_VERSION, to complement
TARGET_ARCH. This defaults to the current armv5te. The variable
values should match the architectures as defined by gcc.

There is a block of defines for each supported architecture version
(currently ARMv5TE and ARMv4). Each block defines a set of features
using ARCH_ARM_HAVE_<x> variables. It also specifies a set of c
preprocessor defines to pass to the compiler. Finally it defines a
default CPU. (As for architecture versions, the default CPU should
match a CPU that gcc knows about.)

Support is added for architectures that do not support THUMB. Specifically
we change the 'thumb compile' target to simply compile as ARM code
instead, and we change the interworking flag passed to the compiler.

Finally, we ensure that the system/core/include/arch/linux-arm directory
is added to the default include path, which allows the use of asm/macros.h
header file described in review #1626. The way in which this done is
considerably unclean/hacky, if someone can suggest a better way please
let me know.
Install apns-conf_sdk.xml if no other apns-conf.xml is specified

This should make data work in generic emulator builds.
Fix "make dist"

Remove a dependency on the OTA package for now.
Reflect the change in the original media.AudioSystem API so that API-validation continues to work
Reflect the change in the original media.AudioSystem API so that API-validation continues to work
Code drop from //branches/cupcake/...@124589
Merge commit 'remotes/korg/cupcake'

Conflicts:
	core/api/1.xml
	core/api/current.xml
	core/main.mk
auto import from //branches/cupcake/...@125939