OSDN Git Service

android-x86/ndk.git
13 years agosamples: fix x86 build by changing target to android-8 froyo-x86 android-x86-2.2-r2
Chih-Wei Huang [Fri, 18 Feb 2011 07:11:46 +0000 (15:11 +0800)]
samples: fix x86 build by changing target to android-8

13 years agofix x86 NDK support
Chih-Wei Huang [Fri, 18 Feb 2011 04:35:30 +0000 (12:35 +0800)]
fix x86 NDK support

Use AOSP prebuilt toolchain directly. Set default app abi to x86.

13 years agocpu-features.h only exists for ARM android-x86-2.2
Bruce Beare [Fri, 25 Jun 2010 16:09:44 +0000 (09:09 -0700)]
cpu-features.h only exists for ARM

Change-Id: I515c631421a83db21fad63fc8a394e927f028adf
Signed-off-by: Bruce Beare <brucex.j.beare@intel.com>
13 years agondk-build: fix Cygwin make auto-detection.
David 'Digit' Turner [Thu, 17 Jun 2010 22:53:10 +0000 (15:53 -0700)]
ndk-build: fix Cygwin make auto-detection.

Change-Id: I695ea8e09e55a48ddb23f35cd26c91e96966cb6a

13 years agoDon't Include cpufeatures in sim-eng
Brian Muramatsu [Thu, 10 Jun 2010 00:45:19 +0000 (17:45 -0700)]
Don't Include cpufeatures in sim-eng

Bug 2713199

...to fix the build.

Change-Id: If5deba8c3b054b0d1085604d98a60f2b08b5f2a2

13 years agoMerge "Include cpufeatures in ndk/Android.mk" into froyo
Brian Muramatsu [Wed, 9 Jun 2010 22:54:17 +0000 (15:54 -0700)]
Merge "Include cpufeatures in ndk/Android.mk" into froyo

13 years agoMerge "ndk-build: On Windows, check that a Cygwin-compatible GNU Make is being used...
David 'Digit' Turner [Wed, 9 Jun 2010 00:56:45 +0000 (17:56 -0700)]
Merge "ndk-build: On Windows, check that a Cygwin-compatible GNU Make is being used." into froyo

13 years agondk-build: On Windows, check that a Cygwin-compatible GNU Make is being used.
David 'Digit' Turner [Tue, 8 Jun 2010 23:58:08 +0000 (16:58 -0700)]
ndk-build: On Windows, check that a Cygwin-compatible GNU Make is being used.

It looks like that many NDK developers on Windows have some sort of other GNU
Make program installed in their path (e.g. because they installed another IDE
or Developer Environment), and that conflicts badly with our build scripts.

Also fix a tiny bug where the debuggable flag was lost when building
the modules.

Change-Id: I2d26131b08cf19959122abdefec9a22955d2a89c

13 years agoInclude cpufeatures in ndk/Android.mk
Brian Muramatsu [Mon, 7 Jun 2010 19:13:05 +0000 (12:13 -0700)]
Include cpufeatures in ndk/Android.mk

Bug 2713199

Include the cpufeatures Android.mk since this library will be needed
by CTS to test the Build.CPU_ABI constants. This approach is favored
over putting the include line in the CTS tests Android.mk.

Change-Id: I350cdb82351174f6dd91b7f77fb8e0ece00a9090

13 years agoFix simple doc typo (LOCAL_DEFAULT_CPP_EXTENSION => LOCAL_CPP_EXTENSION)
David 'Digit' Turner [Tue, 8 Jun 2010 17:38:40 +0000 (10:38 -0700)]
Fix simple doc typo (LOCAL_DEFAULT_CPP_EXTENSION => LOCAL_CPP_EXTENSION)

Change-Id: I993a974c6ce42114441153c384536cb3dcbfed87

13 years agoSet optimization mode to 'debug' automatically for debuggable applications.
David 'Digit' Turner [Tue, 8 Jun 2010 00:04:21 +0000 (17:04 -0700)]
Set optimization mode to 'debug' automatically for debuggable applications.

As a convenience to NDK users, many who are not used to debugging native code at all
and will find that gdb cannot set breakpoints properly or dump local variables by
default strange.

This also moves the computation of APP_MANIFEST and APP_DEBUGGABLE to add-application.mk
which is just more logical.

Change-Id: Ia801f3aeda6a87d91d92bfc618c2620afd1470aa

13 years agondk-gdb: fix to work properly with cygwin path madness.
David 'Digit' Turner [Thu, 3 Jun 2010 18:57:49 +0000 (11:57 -0700)]
ndk-gdb: fix to work properly with cygwin path madness.

Change-Id: Ia7e750f9042d4ed93f6cb8193dfc5d4f67857c17

13 years agondk-gdb: fix to work properly with OS X's BSD awk
David 'Digit' Turner [Thu, 3 Jun 2010 18:57:49 +0000 (11:57 -0700)]
ndk-gdb: fix to work properly with OS X's BSD awk

"gensub()" is a GNUAwk-ism that should not be used.

Change-Id: I2df89efc165c84034594b98327921f9461188a76

13 years agoWarn about unsupported source file extensions in LOCAL_SRC_FILES.
David 'Digit' Turner [Wed, 2 Jun 2010 00:42:59 +0000 (17:42 -0700)]
Warn about unsupported source file extensions in LOCAL_SRC_FILES.

The previous behaviour was to silently ignore these source files, which
confused several NDK users.

Change-Id: I0decb18af9ee6d1c210813d2046e7d3f71c20763

13 years agoPlace generated binaries under $PROJECT/obj/ndk/ instead of $PROJECT/bin/ndk/
David 'Digit' Turner [Tue, 1 Jun 2010 23:43:47 +0000 (16:43 -0700)]
Place generated binaries under $PROJECT/obj/ndk/ instead of $PROJECT/bin/ndk/

Change-Id: Ia76b2aa2cab588b89b2bbaa09ef7c7046491f33f

13 years agoMake the AndroidManifest.xml optional when using ndk-build.
David 'Digit' Turner [Tue, 1 Jun 2010 22:46:22 +0000 (15:46 -0700)]
Make the AndroidManifest.xml optional when using ndk-build.

Several people have reported they used the NDK to generate static libraries only
and that they don't have a manifest when doing so (the old "make APP=<name>" method
worked fine).

Change-Id: I4bf4ea0708e954e253b7ed65a8680887031d5347

13 years agondk-gdb: check target device API level + proper filtering of adb shell output.
David 'Digit' Turner [Tue, 1 Jun 2010 21:40:11 +0000 (14:40 -0700)]
ndk-gdb: check target device API level + proper filtering of adb shell output.

Change-Id: I2472ac149e6b6a435a864e7a10109306322b512c

13 years agondk/build/tools: fix improper mktemp usage
David 'Digit' Turner [Tue, 1 Jun 2010 18:31:20 +0000 (11:31 -0700)]
ndk/build/tools: fix improper mktemp usage

Change-Id: I592b025ebdf2181a80f5c7014fb40d3cdcd8e2ca

13 years agoFix C headers for all platforms.
David 'Digit' Turner [Fri, 14 May 2010 19:16:22 +0000 (12:16 -0700)]
Fix C headers for all platforms.

See docs/CHANGES.TXT for a detailed list of changes. These are mainly cosmetic
and to reflect new declarations for android-8.

Change-Id: I152dcee6ae6b1fd9368fe5d468443dd9fee459db

13 years agoMove samples from apps/<name>/project to samples/<name>
David 'Digit' Turner [Mon, 10 May 2010 22:23:34 +0000 (15:23 -0700)]
Move samples from apps/<name>/project to samples/<name>

Update documentation accordingly

Note: removes obsolete unit tests under apps/unit-tests/
+ fix --verbose option in build/tools/rebuild-all-prebuilt.sh
+ add NX support to x86-4.2.1 toolchain config file
+ update .gitignore

Change-Id: I3c8e6185ad41f103a425387d7618ab3e73182fdc

14 years agoFix windows NDK build - add runtime check for Cygwin 1.5
David 'Digit' Turner [Fri, 7 May 2010 00:48:37 +0000 (17:48 -0700)]
Fix windows NDK build - add runtime check for Cygwin 1.5

Change-Id: I73107f2f72ec3b3486e59f80b942f041cf65b02d

14 years agondk-gdb: Improve detection of common user errors. Clarify some error messages.
David 'Digit' Turner [Thu, 6 May 2010 22:31:34 +0000 (15:31 -0700)]
ndk-gdb: Improve detection of common user errors. Clarify some error messages.

Change-Id: If72f42324848823a01cffcad56c304b5c7e46d7d

14 years agoClarify Windows requirements for the NDK release.
David 'Digit' Turner [Thu, 6 May 2010 18:13:35 +0000 (11:13 -0700)]
Clarify Windows requirements for the NDK release.

We only support Cygwin 1.7 at this point, which is not completely
compatible with 1.5 (now obsolete) due to a different way to implement
symbolic links (among other things).

Change-Id: Ib321bdbbad50cde24eb1e4ccbeec8fdf8d0aca86

14 years agoEnable the NX (No Execute) security feature for all NDK-generated machine code on...
David 'Digit' Turner [Mon, 3 May 2010 22:19:47 +0000 (15:19 -0700)]
Enable the NX (No Execute) security feature for all NDK-generated machine code on ARM.

Change-Id: Ic25be4e8a83e741040c7944251688dcdcc97838b
Question: shall we enable it for x86 too?

14 years agoFix --package option processing in build/tools/download-toolchain-sources.sh
David 'Digit' Turner [Mon, 3 May 2010 21:11:37 +0000 (14:11 -0700)]
Fix --package option processing in build/tools/download-toolchain-sources.sh

Also fix common option processing on OS X. Its 'expr' command works slightly differently from Linux.

Change-Id: I7d79b8cea1b14eb8f0efe67f5fb08db342bbbf84

14 years agoAdd <android/bitmap.h> / libjnigraphics.so to it.
David 'Digit' Turner [Wed, 28 Apr 2010 01:10:37 +0000 (18:10 -0700)]
Add <android/bitmap.h> / libjnigraphics.so to it.

Change-Id: Ib33601fd74e097edacf2dbe3e73d75153cd65c36

Also contain a new sample under samples/bitmap-plasma.
This one cannot be built with 'make APP=<name>' so use 'ndk-build' instead.

14 years agoAdd android-8 sysroot to the NDK. For now, this is a simple copy of android-5.
David 'Digit' Turner [Fri, 30 Apr 2010 00:17:02 +0000 (17:17 -0700)]
Add android-8 sysroot to the NDK. For now, this is a simple copy of android-5.

Later patch will add <android/bitmap.h> / libjnigraphics.so.

Change-Id: I0a0095710d25d2dabfa56072f78211517c01b9ec

14 years agoMerge "Add --start, --launch=<name> and --launch-list options to ndk-gdb." into froyo
David 'Digit' Turner [Fri, 30 Apr 2010 19:06:30 +0000 (12:06 -0700)]
Merge "Add --start, --launch=<name> and --launch-list options to ndk-gdb." into froyo

14 years agoAdd --start, --launch=<name> and --launch-list options to ndk-gdb.
David 'Digit' Turner [Tue, 27 Apr 2010 19:33:46 +0000 (12:33 -0700)]
Add --start, --launch=<name> and --launch-list options to ndk-gdb.

Move all awk scripts to build/awk/ and rework them a bit

Add build/awk/xmlparser.awk to parse XML files into something that
is easier to process with awk. Its output is used by several
scripts now (extract-debuggable.awk, extract-package-name.awk and
the new extract-launchable.awk).

Also update documentation.

Change-Id: I50507abbb2b438aeea25a4e0521e6bf69ad86603

14 years agoFix rebuild-all-prebuilt.sh, and add --try-x86 option.
David 'Digit' Turner [Wed, 28 Apr 2010 00:17:14 +0000 (17:17 -0700)]
Fix rebuild-all-prebuilt.sh, and add --try-x86 option.

--try-x86 is used to enable the build of the x86-4.2.1 toolchain.

Change-Id: Ie018d5c1e2ebb082058f522058a643a00825b70a

14 years agoMerge "Support .s raw assembly source files in LOCAL_SRC_FILES too." into froyo
David 'Digit' Turner [Tue, 27 Apr 2010 20:43:16 +0000 (13:43 -0700)]
Merge "Support .s raw assembly source files in LOCAL_SRC_FILES too." into froyo

14 years agoSupport .s raw assembly source files in LOCAL_SRC_FILES too.
David 'Digit' Turner [Tue, 27 Apr 2010 19:39:39 +0000 (12:39 -0700)]
Support .s raw assembly source files in LOCAL_SRC_FILES too.

Change-Id: Id17875ebc6dd4e9719b7ad179921e44a5246f596

14 years agoAllow <cpu-features.h> to be properly included from C++
David 'Digit' Turner [Tue, 27 Apr 2010 19:35:41 +0000 (12:35 -0700)]
Allow <cpu-features.h> to be properly included from C++

Change-Id: I25086bd56550cabf3153524cfed35ee7b9256680

14 years agoRework toolchain binaries build scripts.
David 'Digit' Turner [Fri, 16 Apr 2010 18:58:02 +0000 (11:58 -0700)]
Rework toolchain binaries build scripts.

Remove build-toolchain.sh and now provide rebuild-all-prebuilts.sh

Change-Id: I558c95d1667d1283be9b3a075ad0565e05da0dc5

14 years agoAdd ndk-gdb script to the NDK.
David 'Digit' Turner [Fri, 16 Apr 2010 19:45:33 +0000 (12:45 -0700)]
Add ndk-gdb script to the NDK.

This is a helper script used to launch a native debugging session.
To use it, follow these steps:

1. Make your application debuggable
2. Build the machine code with 'ndk-build'  (make APP=<name> is not supported)
3. Build the package with ant or the ADT Eclipse plugin
4. Install it on your device/emulator
5. Launch it
6. Run 'ndk-gdb' from your application project directory.

Change-Id: Ie3b0557e70cefa0080075a34ad0ca46bebef3c42
NOTE: To work properly, a modified gdbserver binary must be used
      (one that binds to Unix sockets instead of TCP ones). Patch
      upcoming.

14 years agoSimplify build system with the 'ndk-build' script.
David 'Digit' Turner [Wed, 14 Apr 2010 22:22:30 +0000 (15:22 -0700)]
Simplify build system with the 'ndk-build' script.

There is no need to modify $NDK/apps anymore to build an application.

Now all you need to do is launch $NDK/ndk-build from the project path,
or any of its sub-directory, and the build scripts will handle everything
automatically.

You can also place an optional Application.mk under $PROJECT/jni, but
by default the NDK will build all modules listed in your Android.mk for
the 'armeabi' ABI.

+ Update the documentation

Change-Id: I235c4051d7f00f37d50e6b4bb0e796c0bdaa001d

14 years agoMake APP_MODULES optional in Application.mk.
David 'Digit' Turner [Thu, 8 Apr 2010 22:50:22 +0000 (15:50 -0700)]
Make APP_MODULES optional in Application.mk.

If APP_MODULES is defined, now computes the transitive closure of module dependencies automatically.

+ cleanup some of the build scripts
+ add module database management functions for future work

Change-Id: I4ae14d8a3cbd2240e1efec27c55f8314b618c4d9

14 years agoMerge "Remove annoying compiler warning when building C++ sources using va_list types...
David 'Digit' Turner [Fri, 9 Apr 2010 00:06:05 +0000 (17:06 -0700)]
Merge "Remove annoying compiler warning when building C++ sources using va_list types." into froyo

14 years agoRemove annoying compiler warning when building C++ sources using va_list types.
David 'Digit' Turner [Thu, 8 Apr 2010 22:56:29 +0000 (15:56 -0700)]
Remove annoying compiler warning when building C++ sources using va_list types.

Change-Id: I0da78a785cd3b045b38beb2ff91d784c5e128c3a

14 years agoExtract the debuggable flag from the application's manifest and
David 'Digit' Turner [Thu, 8 Apr 2010 21:24:34 +0000 (14:24 -0700)]
Extract the debuggable flag from the application's manifest and
only copy the gdbserver binary to $PROJECT/libs/<abi> if it is set to TRUE.

Change-Id: I06bc0c0c7993d93d7ee22b9b055b10ad8ef3cd86

14 years agoPerform auto-detection of host platform in build scripts.
David 'Digit' Turner [Wed, 7 Apr 2010 22:30:45 +0000 (15:30 -0700)]
Perform auto-detection of host platform in build scripts.

This removes build/host-setup.sh and the generated file out/host/config.mk

Also: fix a bug that copied gdbserver into release projects, not debug ones.

Change-Id: Ie3641dadb6148b1a671534d9bbb5e587cd742845

14 years agoAdd two awk scripts that will be used by the ndk debugging helper scripts.
David 'Digit' Turner [Wed, 7 Apr 2010 01:14:38 +0000 (18:14 -0700)]
Add two awk scripts that will be used by the ndk debugging helper scripts.

Change-Id: I9b1d6f39fd33f5b7cbc2e875a292f5901780ce26

14 years agoCopy the gdbserver binary from the toolchain to the proper location
David 'Digit' Turner [Tue, 6 Apr 2010 20:57:08 +0000 (13:57 -0700)]
Copy the gdbserver binary from the toolchain to the proper location
for debuggable applications.

This ensures that the binary will be embedded in the final .apk,
unpacked by the PackageManager into /data/data/<package>/lib and
later invokable through the 'run-as' tool.

Change-Id: Ib1efc832dc02926204b05836b90f78adb9c3365b

14 years agoMerge "Refine download function to support ftp, ssh with <machine>:<path> and file...
David 'Digit' Turner [Tue, 6 Apr 2010 17:36:45 +0000 (10:36 -0700)]
Merge "Refine download function to support ftp, ssh with <machine>:<path> and file://<path>" into froyo

14 years agoRefine download function to support ftp, ssh with <machine>:<path> and file://<path>
David 'Digit' Turner [Tue, 6 Apr 2010 00:39:35 +0000 (17:39 -0700)]
Refine download function to support ftp, ssh with <machine>:<path> and file://<path>

This is a preliminary change to further toolchain build scripts modifications

Change-Id: I47758a23d916bc59f4b60eca83bcc6d6c2332203

14 years agoProperly select the toolchain based on the ABIs we want to build for.
David Turner [Mon, 5 Apr 2010 01:27:35 +0000 (18:27 -0700)]
Properly select the toolchain based on the ABIs we want to build for.

Before this patch, it was not possible to use the x86-4.2.1 toolchain
without explicitely selecting it with NDK_TOOLCHAIN. Now if all toolchains
are installed, a simple line like the following just works:

  APP_ABI := armeabi armeabi-v7a x86

Change-Id: I58ff6dda09a6d1406a83a45af542bba35a3caa40

14 years agoFix APP parsing.
David Turner [Mon, 5 Apr 2010 03:40:34 +0000 (20:40 -0700)]
Fix APP parsing.

This change modifies the build script so that only the
Application.mk/Android.mk files of the applications listed
by APP are actually parsed.

Also, the error messages displayed when APP is empty or
when it is malformed has been improved.

+ Remove installed binaries when "make APP=<name> clean"
  is called.

14 years agoMove common functions from build tool scripts to ndk-common.sh
David 'Digit' Turner [Fri, 2 Apr 2010 22:42:37 +0000 (15:42 -0700)]
Move common functions from build tool scripts to ndk-common.sh

Also add build/tools/build-ccache.sh to rebuild ccache prebuilt binary
(for future use in the NDK to speedup rebuilds).

Change-Id: I10373c0d3f0e42b768c7e28d45e73e182fd6a299

14 years agoRemove obsolete script from NDK build process.
David 'Digit' Turner [Fri, 2 Apr 2010 20:55:02 +0000 (13:55 -0700)]
Remove obsolete script from NDK build process.

After this change, we no longer require running a shell script
during the build process. This makes us less dependent on Cygwin
and is a small step towards integrating the NDK into the SDK properly.

Change-Id: I62d7e200b47c8138abb39aaf9eb0f52d3f124bdf

14 years agoMerge "Fix location of <fenv.h> in the NDK C library headers." into froyo
David 'Digit' Turner [Fri, 2 Apr 2010 19:22:54 +0000 (12:22 -0700)]
Merge "Fix location of <fenv.h> in the NDK C library headers." into froyo

14 years agoFix location of <fenv.h> in the NDK C library headers.
David 'Digit' Turner [Fri, 2 Apr 2010 19:10:42 +0000 (12:10 -0700)]
Fix location of <fenv.h> in the NDK C library headers.

Change-Id: I8cb22ee6c9170637463dd7eac3069772177e1cec

14 years agoMerge "Clarify build/host-setup.sh error message when there are no toolchain binaries...
David 'Digit' Turner [Fri, 2 Apr 2010 18:50:53 +0000 (11:50 -0700)]
Merge "Clarify build/host-setup.sh error message when there are no toolchain binaries." into froyo

14 years agoClarify build/host-setup.sh error message when there are no toolchain binaries.
David 'Digit' Turner [Fri, 2 Apr 2010 18:39:29 +0000 (11:39 -0700)]
Clarify build/host-setup.sh error message when there are no toolchain binaries.

Change-Id: I91f7a455183c917f8d8dfb3b205ac98671769b96

14 years agobuild/host-setup.sh will panic if the NDK installation root contains a space.
David 'Digit' Turner [Fri, 2 Apr 2010 18:37:28 +0000 (11:37 -0700)]
build/host-setup.sh will panic if the NDK installation root contains a space.

Change-Id: I3d6bf6f38696804741d96a31728860c561fc5f39

14 years agoMention and define the 'x86' ABI in the documentation.
David 'Digit' Turner [Fri, 2 Apr 2010 01:22:32 +0000 (18:22 -0700)]
Mention and define the 'x86' ABI in the documentation.

Change-Id: I3e51f241f61a9d212f9827e08879e9936d2df75b

14 years agobuild-toolchain.sh: fix the --force-build option
David 'Digit' Turner [Sat, 27 Mar 2010 01:10:33 +0000 (18:10 -0700)]
build-toolchain.sh: fix the --force-build option

Change-Id: Ia171eff5bc4c352b1d9c646f133c69a77ff6681a

14 years agoAllow toolchain source patching in build-toolchain.sh
David 'Digit' Turner [Sat, 27 Mar 2010 00:48:46 +0000 (17:48 -0700)]
Allow toolchain source patching in build-toolchain.sh

This is going to make patching/debugging the toolchain sources
a lot easier.

Change-Id: I54f2fcb42465f9f5b1f3735bda1ce9d43eb96a64

14 years agoMerge "NDK can now build JNI code for IA" into froyo-plus-aosp
Jean-Baptiste Queru [Wed, 31 Mar 2010 23:19:17 +0000 (16:19 -0700)]
Merge "NDK can now build JNI code for IA" into froyo-plus-aosp

14 years agoMerge "Port NDK build tools to IA" into froyo-plus-aosp
Jean-Baptiste Queru [Wed, 31 Mar 2010 23:19:12 +0000 (16:19 -0700)]
Merge "Port NDK build tools to IA" into froyo-plus-aosp

14 years agoNDK can now build JNI code for IA
Bruce Beare [Wed, 10 Mar 2010 23:37:03 +0000 (15:37 -0800)]
NDK can now build JNI code for IA

Change-Id: I5c03c2680663a4fefc4b22524088a3489132e74f

14 years agoPort NDK build tools to IA
Bruce Beare [Thu, 11 Mar 2010 19:14:29 +0000 (11:14 -0800)]
Port NDK build tools to IA

Change-Id: I4788cafb998b79234e7fb16661bb225680d5566c

14 years agodownload-toolchain-source.sh: use 'master' branch instead of 'eclair' by default.
David 'Digit' Turner [Wed, 31 Mar 2010 22:14:31 +0000 (15:14 -0700)]
download-toolchain-source.sh: use 'master' branch instead of 'eclair' by default.

Change-Id: Ia9bfc633d90d7d613baa286850a6ab5a4e68af30

14 years agoDoc fix: document <dlfcn.h> and libdl.so as supported stable ABIs.
David 'Digit' Turner [Wed, 31 Mar 2010 21:14:51 +0000 (14:14 -0700)]
Doc fix: document <dlfcn.h> and libdl.so as supported stable ABIs.

Also fix CHANGES.TXT to list ARMv7+NEON+cpufeatures in r4, not r3

Change-Id: Ibe9d8e3179701b5c94fd7d51f7d0a07cab46d164

14 years agoAdded coverage target for Contacts and Calendar Provider
Swarna Kumar [Mon, 22 Mar 2010 22:38:22 +0000 (15:38 -0700)]
Added coverage target for Contacts and Calendar Provider

Change-Id: I0066451fa4deaee50f51d14c969580ed9626a4a4

14 years agoAdd new quality constant.
Dianne Hackborn [Tue, 23 Mar 2010 00:02:46 +0000 (17:02 -0700)]
Add new quality constant.

Change-Id: I386438485a921ec94ed1047936ca182c04bce410

14 years agomerge from open-source master
The Android Open Source Project [Mon, 22 Mar 2010 22:55:11 +0000 (15:55 -0700)]
merge from open-source master

Change-Id: Ia641d105e05982e3a3c85c7b82a70fe1fa664f1a

14 years agoAn APN list with a few relevant carriers.
Jean-Baptiste Queru [Mon, 22 Mar 2010 18:00:35 +0000 (11:00 -0700)]
An APN list with a few relevant carriers.

This comes from the open-source vendor/aosp, which in
turn came from the ADP1 configuration.

Bug: 2533998
Change-Id: I83f0884a15e43e1a3542df8939e84253adfb7cd2

14 years agoMerge "Remove use of deprecated API from test sample code."
Brett Chabot [Fri, 19 Mar 2010 18:39:06 +0000 (11:39 -0700)]
Merge "Remove use of deprecated API from test sample code."

14 years agoMerge "Add missing headers to the x86 android-5 headers (GLES/GLES2/log)"
David 'Digit' Turner [Fri, 19 Mar 2010 18:25:48 +0000 (11:25 -0700)]
Merge "Add missing headers to the x86 android-5 headers (GLES/GLES2/log)"

14 years agoRemove use of deprecated API from test sample code.
Brett Chabot [Fri, 19 Mar 2010 01:47:53 +0000 (18:47 -0700)]
Remove use of deprecated API from test sample code.

Modify tests sample code to use ActivityInstrumentationTestCase2 and its new
constructor.

Change-Id: Idf927b6641c8dfb4aede8cb2bba45de29320bcf5

14 years agoRemove problematic headers from x86 android-5 headers.
David 'Digit' Turner [Fri, 19 Mar 2010 01:00:31 +0000 (18:00 -0700)]
Remove problematic headers from x86 android-5 headers.

These files have the same case-insensitive name, and this creates problems
when used on Windows + Cygwin.

Change-Id: I911906c209ad9fca8752ba4cdc9c65abdd0bd4a9

14 years agoAdd missing headers to the x86 android-5 headers (GLES/GLES2/log)
David 'Digit' Turner [Fri, 19 Mar 2010 00:45:15 +0000 (17:45 -0700)]
Add missing headers to the x86 android-5 headers (GLES/GLES2/log)

Change-Id: I0e066a1256d6a23b65672327c0cfcf67a0f03f1b

14 years agoPackage the new ant rules file in the SDK.
Xavier Ducrohet [Thu, 18 Mar 2010 20:38:52 +0000 (13:38 -0700)]
Package the new ant rules file in the SDK.

Change-Id: Ic4db70e75b7a747c86635d9f28cfb98537c0e9a1

14 years agoMerge "android-5 platform files for IA"
David Turner [Wed, 17 Mar 2010 21:30:53 +0000 (14:30 -0700)]
Merge "android-5 platform files for IA"

14 years agofix runtest for unqualified Instrumentation class names
Fred Quintana [Tue, 16 Mar 2010 23:27:03 +0000 (16:27 -0700)]
fix runtest for unqualified Instrumentation class names

Change-Id: I0dcc9918b0bde568219d9085e8bbbc4cbba2b552
http://b/issue?id=2472406

14 years ago- change the accounts list to include the account type
Fred Quintana [Mon, 8 Mar 2010 21:13:53 +0000 (13:13 -0800)]
- change the accounts list to include the account type
- removed the list of account types from the top
- changed the context menu to use the actual account type, not
  the one selected in the spinner
- add the clear password option to the context menu

Change-Id: Icd509ed3f3da889f48b064cf524345e0121899fc

14 years agoPut the test for the new API back in now that the requestCenterFitZoom
Bart Sears [Mon, 15 Mar 2010 22:52:54 +0000 (15:52 -0700)]
Put the test for the new API back in now that the requestCenterFitZoom
API has been put back in.

Revert "Revert "Add a test for the new requestCenterFitZoom api.""

This reverts commit 103e5768937c748adb06dd70b3f301775168c0d5.

14 years agoRevert "Add a test for the new requestCenterFitZoom api."
Grace Kloba [Sat, 13 Mar 2010 02:35:23 +0000 (18:35 -0800)]
Revert "Add a test for the new requestCenterFitZoom api."

This reverts commit 8f406a355f73c9b4c7b9501c9e002c3e41030505.

14 years agoAdd a test for the new requestCenterFitZoom api.
Grace Kloba [Fri, 12 Mar 2010 21:35:47 +0000 (13:35 -0800)]
Add a test for the new requestCenterFitZoom api.

14 years agoMerge "Change ant.prop to sdk.prop"
Xavier Ducrohet [Fri, 12 Mar 2010 01:28:49 +0000 (17:28 -0800)]
Merge "Change ant.prop to sdk.prop"

14 years agoandroid-5 platform files for IA
Bruce Beare [Wed, 10 Mar 2010 22:40:06 +0000 (14:40 -0800)]
android-5 platform files for IA

Change-Id: Id785125438abfd4dbc795f358ec223bf22c73fc1

14 years agoandroid-5 platform files for IA
Bruce Beare [Wed, 10 Mar 2010 22:40:06 +0000 (14:40 -0800)]
android-5 platform files for IA

Change-Id: Id785125438abfd4dbc795f358ec223bf22c73fc1

14 years agoMerge "Support for ignoring or exit running when native crashes."
Ying Wang [Thu, 11 Mar 2010 17:11:55 +0000 (09:11 -0800)]
Merge "Support for ignoring or exit running when native crashes."

14 years agoChange ant.prop to sdk.prop
Xavier Ducrohet [Thu, 11 Mar 2010 00:52:06 +0000 (16:52 -0800)]
Change ant.prop to sdk.prop

Change-Id: I45bb6652b2ae9455e20d681555f2bb61e11f9ce7

14 years agoMerge "Removed the camera related test from the test_defs for external usage."
Yu Shan Emily Lau [Wed, 10 Mar 2010 03:18:27 +0000 (19:18 -0800)]
Merge "Removed the camera related test from the test_defs for external usage."

14 years agoRemoved the camera related test from the test_defs for external usage.
Yu Shan Emily Lau [Wed, 10 Mar 2010 03:06:18 +0000 (19:06 -0800)]
Removed the camera related test from the test_defs for external usage.

Change-Id: Ia231f8d63e1d80ef6281ee85acf24a49a87a0243

14 years agoSupport for ignoring or exit running when native crashes.
Ying Wang [Tue, 9 Mar 2010 21:25:11 +0000 (13:25 -0800)]
Support for ignoring or exit running when native crashes.

http://b/issue?id=2359586
with this CL, if --monitor-native-crashes is set and --ignore-native-crashes
is not set, monkey will exit when a native crash occurs.

Change-Id: I07ab17b5430ed090d8fb6286fdc793bac1b2caa9

14 years agoMatch the new android_npapi
Grace Kloba [Tue, 9 Mar 2010 22:10:59 +0000 (14:10 -0800)]
Match the new android_npapi

14 years agoAdd an empty CleanSpec.mk
Jean-Baptiste Queru [Tue, 9 Mar 2010 02:04:07 +0000 (18:04 -0800)]
Add an empty CleanSpec.mk

Change-Id: I2c3a023b86c501be816441715b2a5690d48ff667

14 years agoFix make_windows_sdk when invoked without params.
Raphael [Sat, 6 Mar 2010 22:50:50 +0000 (14:50 -0800)]
Fix make_windows_sdk when invoked without params.

Change-Id: I24a6e06498a343a31c562e0c765f6e8075b1916e

14 years agoMore bad behavior: ANR and long-term wedge in system process.
Dan Egnor [Fri, 5 Mar 2010 01:29:40 +0000 (17:29 -0800)]
More bad behavior: ANR and long-term wedge in system process.

Use ActivityController (the special monkey hook) to wedge
ActivityManagerService, useful for triggering system ANRs
and for setting off the watchdog.

Also add more logging so it's clear what happens when.

14 years agoUpdate to use correct resources.
Dianne Hackborn [Thu, 4 Mar 2010 19:37:50 +0000 (11:37 -0800)]
Update to use correct resources.

14 years agoChange runtest 'overriding test def' log to silent.
Brett Chabot [Tue, 2 Mar 2010 23:53:42 +0000 (15:53 -0800)]
Change runtest 'overriding test def' log to silent.

Change-Id: I9b52aac04f2b95e9c93963bfad0c6d29dbddb87d

14 years agoMerge "Fix proguard flags."
Ying Wang [Tue, 2 Mar 2010 17:35:56 +0000 (09:35 -0800)]
Merge "Fix proguard flags."

14 years agoMerge "Update Eclipse classpath to reflect arity lib version change."
Mihai Preda [Tue, 2 Mar 2010 14:46:14 +0000 (06:46 -0800)]
Merge "Update Eclipse classpath to reflect arity lib version change."

14 years agoPointer location in framework, no longer need to link common.
Dianne Hackborn [Tue, 2 Mar 2010 05:42:38 +0000 (21:42 -0800)]
Pointer location in framework, no longer need to link common.

14 years agoMerge "Fix make_windows_sdk."
Raphael [Mon, 1 Mar 2010 23:17:46 +0000 (15:17 -0800)]
Merge "Fix make_windows_sdk."

14 years agoFix make_windows_sdk.
Raphael [Mon, 1 Mar 2010 19:55:48 +0000 (11:55 -0800)]
Fix make_windows_sdk.

SDK Bug 2478848: emulator fails to build because sdl-config
was not checkout as +x by git/cygwin.

SDK Bug 2479321: aapt built using Cygwin 1.7.x depends on some
new cygwin DLL instead of mgwz.dll. The latter DLL is not even
present and fails to be bundled. This does not change the behavior,
it just makes sure we are using the proper version of cygwin.

14 years agoMerge "Add SMS manager demo"
Roman Nurik [Mon, 1 Mar 2010 21:03:16 +0000 (13:03 -0800)]
Merge "Add SMS manager demo"

14 years agoMerge "Allow the build-toolchain.sh script to apply source packages."
David 'Digit' Turner [Mon, 1 Mar 2010 19:36:30 +0000 (11:36 -0800)]
Merge "Allow the build-toolchain.sh script to apply source packages."