OSDN Git Service

android-x86/sdk.git
15 years agoam 7e056ae8: AI 148870: Pinging Ryan for Dr No approval. --- Cloned from CL 14724...
Gaurav Mathur [Thu, 14 May 2009 23:18:22 +0000 (16:18 -0700)]
am 7e056ae8: AI 148870: Pinging Ryan for Dr No approval.   ---   Cloned from CL 147240 by \'g4 patch\'.   Original change by dwarren@dwarren-pdk on 2009/04/21 14:59:50.   "Making PDK work in SDK environment."   This CL should be pretty straight forward and should be touching only PDK   related templates, etc. Turns out we no longer need to touch the highlightNav   code.

Merge commit '7e056ae8a20848754f85202d9d903f4a152d3027' into donut

* commit '7e056ae8a20848754f85202d9d903f4a152d3027':
  AI 148870: Pinging Ryan for Dr No approval.

15 years agoAI 148870: Pinging Ryan for Dr No approval.
Gaurav Mathur [Thu, 14 May 2009 23:02:22 +0000 (16:02 -0700)]
AI 148870: Pinging Ryan for Dr No approval.
  ---
  Cloned from CL 147240 by 'g4 patch'.
  Original change by dwarren@dwarren-pdk on 2009/04/21 14:59:50.
  "Making PDK work in SDK environment."
  This CL should be pretty straight forward and should be touching only PDK
  related templates, etc. Turns out we no longer need to touch the highlightNav
  code.

Automated import of CL 148870

15 years agoMerge change 1699 into donut
Android (Google) Code Review [Thu, 14 May 2009 23:00:17 +0000 (16:00 -0700)]
Merge change 1699 into donut

* changes:
  Make IDevice#getSyncService() throws an IOException.

15 years agoMake IDevice#getSyncService() throws an IOException.
Xavier Ducrohet [Thu, 14 May 2009 22:18:56 +0000 (15:18 -0700)]
Make IDevice#getSyncService() throws an IOException.

This lets callers differentiate between errors when connecting to adb and
errors because adb couldn't talk to the device.

15 years agoFix bad automatic dependency computations
David 'Digit' Turner [Thu, 14 May 2009 15:16:32 +0000 (17:16 +0200)]
Fix bad automatic dependency computations

15 years agoMerge change 1681 into donut
Android (Google) Code Review [Thu, 14 May 2009 21:57:44 +0000 (14:57 -0700)]
Merge change 1681 into donut

* changes:
  Remove duplicate initialization in AdtPlugin.

15 years agoMerge change 1653 into donut
Android (Google) Code Review [Thu, 14 May 2009 21:55:55 +0000 (14:55 -0700)]
Merge change 1653 into donut

* changes:
  Fix bad dependency between generated shared libraries and the corresponding installed module. Also fixes the "make clean" target by the way.

15 years agoMerge change 1651 into donut
Android (Google) Code Review [Thu, 14 May 2009 21:51:09 +0000 (14:51 -0700)]
Merge change 1651 into donut

* changes:
  Fix the build-toolchain.sh script which doesn't work due to the new download location of the NDK sources and a small typo when using wget. Also make --force-download actually work.

15 years agoRemove duplicate initialization in AdtPlugin.
Xavier Ducrohet [Thu, 14 May 2009 20:31:11 +0000 (13:31 -0700)]
Remove duplicate initialization in AdtPlugin.

The is a remnant of the old #start() method of the Editors Plugin class.

15 years agoMerge change 1673 into donut
Android (Google) Code Review [Thu, 14 May 2009 20:19:03 +0000 (13:19 -0700)]
Merge change 1673 into donut

* changes:
  Made valgrind optional. Capture the target output.

15 years agoMerge change 1501 into donut
Android (Google) Code Review [Thu, 14 May 2009 19:56:35 +0000 (12:56 -0700)]
Merge change 1501 into donut

* changes:
  ADT #1844909: SDK manager, define XML schemas & sample XMLs

15 years agoADT #1844909: SDK manager, define XML schemas & sample XMLs
Raphael [Wed, 13 May 2009 00:10:26 +0000 (17:10 -0700)]
ADT #1844909: SDK manager, define XML schemas & sample XMLs

For reference, there's an XSD primer here:
- http://www.w3.org/TR/xmlschema-0/#NS
- http://www.w3schools.com/Schema/

15 years agoMade valgrind optional. Capture the target output.
Nicolas Catania [Thu, 14 May 2009 19:25:23 +0000 (12:25 -0700)]
Made valgrind optional. Capture the target output.

Don't fail if valgrind (system version not the google3 one) is missing.
If the test fail, print the output of the test.
Added .pyc to the gitignore file.

15 years agoFix bad dependency between generated shared libraries and the corresponding installed...
David 'Digit' Turner [Thu, 14 May 2009 15:23:35 +0000 (17:23 +0200)]
Fix bad dependency between generated shared libraries and the corresponding installed module.
Also fixes the "make clean" target by the way.

15 years agoFix the build-toolchain.sh script which doesn't work due to the new download location...
David 'Digit' Turner [Thu, 14 May 2009 14:43:03 +0000 (16:43 +0200)]
Fix the build-toolchain.sh script which doesn't work due to the new download location of the NDK sources
and a small typo when using wget. Also make --force-download actually work.

15 years agoFix a double issue regarding interrupted builds due to pre-existing errors.
Xavier Ducrohet [Thu, 14 May 2009 00:57:43 +0000 (17:57 -0700)]
Fix a double issue regarding interrupted builds due to pre-existing errors.

First, the ApkBuilder didn't cancel its run if the project had markers from JDT.
Second, the try/catch on ApkBuilder#build didn't properly test the
CoreException status severity (used getCode instead of getSeverity), so it did
not detect cancels being thrown by #abortOnBadSetup and displayed the error
in the console instead.

15 years agoADT: remove an obsolete import from the manifest.
Xavier Ducrohet [Thu, 14 May 2009 00:41:07 +0000 (17:41 -0700)]
ADT: remove an obsolete import from the manifest.

15 years agoADT: Refactoring classes dealing with android resources out of the editor.
Xavier Ducrohet [Thu, 14 May 2009 00:34:09 +0000 (17:34 -0700)]
ADT: Refactoring classes dealing with android resources out of the editor.

Basically:
editors.resources.manager -> resources.manager
editors.resources.configurations -> resources.configurations

This is to make it less confusing between the "Resources editors" and the
class parsing/handling Android resources (either in a project or in the
framework).
Also moved the ResourceExplorerView out of the resources editors, and clean
up a few other misc classes.

15 years agoADT: Move more packages into internal:
Xavier Ducrohet [Thu, 14 May 2009 00:23:00 +0000 (17:23 -0700)]
ADT: Move more packages into internal:

editors -> adt.internal.editors.

This also marks the final refactoring of combining previous editors/common
plugin under the adt package.

15 years agoADT: Move more packages into internal.
Xavier Ducrohet [Thu, 14 May 2009 00:13:15 +0000 (17:13 -0700)]
ADT: Move more packages into internal.

common.project -> adt.internal.project
adt.resources -> adt.internal.resources
adt.wizards.* -> adt.internal.wizards
adt.ui -> adt.internal.ui

15 years agoADT: Move more packages into internal
Xavier Ducrohet [Wed, 13 May 2009 23:58:07 +0000 (16:58 -0700)]
ADT: Move more packages into internal

project.*
refactorings.*

Also: moved the export wizard from project.export to wizards.export, moved some
actions out of project into the new internal package actions.

15 years agoADT: Remove StreamHelper and integrate it in AdtPlugin.
Xavier Ducrohet [Wed, 13 May 2009 23:46:31 +0000 (16:46 -0700)]
ADT: Remove StreamHelper and integrate it in AdtPlugin.

StreamHelper was used before by AdtPlugin, DdmsPlugin and EditorsPlugin. It's now
only used by AdtPlugin, so the only 2 methods in it can go in AdtPlugin.
I merged the externalized string in the messages.properties file used by AdtPlugin.

15 years agoMoved more ADT packages into internal.
Xavier Ducrohet [Wed, 13 May 2009 23:37:55 +0000 (16:37 -0700)]
Moved more ADT packages into internal.

adt.build
adt.launch.*
adt.preferences

Also started combining adt and common.

15 years agoUpdate ADT to use the refactored sdklib from previous patch.
Xavier Ducrohet [Wed, 13 May 2009 22:06:27 +0000 (15:06 -0700)]
Update ADT to use the refactored sdklib from previous patch.

15 years agoMerge change 1571 into donut
Android (Google) Code Review [Wed, 13 May 2009 22:04:17 +0000 (15:04 -0700)]
Merge change 1571 into donut

* changes:
  Move some classes that have non ready APIs to internal packages

15 years agoMove some classes that have non ready APIs to internal packages
Xavier Ducrohet [Wed, 13 May 2009 21:53:49 +0000 (14:53 -0700)]
Move some classes that have non ready APIs to internal packages

- com.android.sdklib.avd -> com.android.sdklib.internal.avd
- com.android.sdklib.project -> com.android.sdklib.internal.project

15 years agoam c331aeb: AI 148799: New TOC for PDK -- should be less cluttered and u
Gaurav Mathur [Wed, 13 May 2009 20:57:23 +0000 (13:57 -0700)]
am c331aeb: AI 148799: New TOC for PDK -- should be less cluttered and u

Merge commit 'c331aeb8d65805a3a1129ecdea62567b6c7bb24b' into donut

* commit 'c331aeb8d65805a3a1129ecdea62567b6c7bb24b':
  AI 148799: New TOC for PDK -- should be less cluttered and uses folding to better

15 years agoAI 148799: New TOC for PDK -- should be less cluttered and uses folding to better
Gaurav Mathur [Wed, 13 May 2009 20:53:51 +0000 (13:53 -0700)]
AI 148799: New TOC for PDK -- should be less cluttered and uses folding to better
  organize

Automated import of CL 148799

15 years agoam 24a8fe8: AI 148797: Back-port the new version of the Grid.java from D
Jack Palevich [Wed, 13 May 2009 20:00:15 +0000 (13:00 -0700)]
am 24a8fe8: AI 148797: Back-port the new version of the Grid.java from D

Merge commit '24a8fe82dffacdfe2fab9d007b2a6538b5f511bc' into donut

* commit '24a8fe82dffacdfe2fab9d007b2a6538b5f511bc':
  AI 148797: Back-port the new version of the Grid.java from Donut.

15 years agoAI 148797: Back-port the new version of the Grid.java from Donut.
Jack Palevich [Wed, 13 May 2009 19:56:48 +0000 (12:56 -0700)]
AI 148797: Back-port the new version of the Grid.java from Donut.
  This new version uses "direct" java.nio.Buffer objects, which avoids a potential
  crash that may occur when "indirect" java.nio.Buffer objects are used.
  BUG=1849855

Automated import of CL 148797

15 years agoam 0355976: AI 148793: Integrating publicly posted Bluetooth content.
David Warren [Wed, 13 May 2009 19:09:32 +0000 (12:09 -0700)]
am 0355976: AI 148793: Integrating publicly posted Bluetooth content.

Merge commit '0355976f628857b2675377fa4f2de12b3b5a44aa' into donut

* commit '0355976f628857b2675377fa4f2de12b3b5a44aa':
  AI 148793: Integrating publicly posted Bluetooth content.

15 years agoam eb98133: AI 148792: 3 new pages: customization, early_suspend, and wa
David Warren [Wed, 13 May 2009 19:09:32 +0000 (12:09 -0700)]
am eb98133: AI 148792: 3 new pages: customization, early_suspend, and wa

Merge commit 'eb98133b0f66cca46ea2b8f54479fb745ddc478a' into donut

* commit 'eb98133b0f66cca46ea2b8f54479fb745ddc478a':
  AI 148792: 3 new pages: customization, early_suspend, and wakelock.

15 years agoAI 148793: Integrating publicly posted Bluetooth content.
David Warren [Wed, 13 May 2009 19:02:27 +0000 (12:02 -0700)]
AI 148793: Integrating publicly posted Bluetooth content.

Automated import of CL 148793

15 years agoAI 148792: 3 new pages: customization, early_suspend, and wakelock.
David Warren [Wed, 13 May 2009 19:00:07 +0000 (12:00 -0700)]
AI 148792: 3 new pages: customization, early_suspend, and wakelock.

Automated import of CL 148792

15 years agoam b755508: AI 148763: Adding STK to PDK.
David Warren [Wed, 13 May 2009 01:49:38 +0000 (18:49 -0700)]
am b755508: AI 148763: Adding STK to PDK.

Merge commit 'b755508480b626ab038e20259171c45af021b785' into donut

* commit 'b755508480b626ab038e20259171c45af021b785':
  AI 148763: Adding STK to PDK.

15 years agoRemove the PlatformLibrary
Xavier Ducrohet [Wed, 13 May 2009 00:55:35 +0000 (17:55 -0700)]
Remove the PlatformLibrary

This sample is not an application sample, but a framework sample.
It is moved to vendor/sample. A new "sample" vendor that will show how to create Android-based device

15 years agoAI 148763: Adding STK to PDK.
David Warren [Tue, 12 May 2009 22:44:40 +0000 (15:44 -0700)]
AI 148763: Adding STK to PDK.

Automated import of CL 148763

15 years agoMerge change 1392 into donut
Android (Google) Code Review [Tue, 12 May 2009 01:35:42 +0000 (18:35 -0700)]
Merge change 1392 into donut

* changes:
  Fixed bugs in the media player api demo application - release the MediaPlayer object when onPause - use onVideoSizeChanged listener to make sure that correct video size is known before starting playback

15 years agoMerge change 1347 into donut
Android (Google) Code Review [Tue, 12 May 2009 01:00:42 +0000 (18:00 -0700)]
Merge change 1347 into donut

* changes:
  Add a new program for checking the correctness of the computed stack from a trace.

15 years agoMerge change 1346 into donut
Android (Google) Code Review [Tue, 12 May 2009 01:00:23 +0000 (18:00 -0700)]
Merge change 1346 into donut

* changes:
  Better output for viewing the method trace.

15 years agoAdd a new program for checking the correctness of the computed stack from a trace.
Jack Veenstra [Sat, 9 May 2009 18:56:59 +0000 (11:56 -0700)]
Add a new program for checking the correctness of the computed stack from a trace.

The check_stack program checks that the generated stack that includes both
native functions and Java methods (generated from the emulator instruction
trace plus the method trace) is consistent with the stack of Java methods
that is computed from the method trace alone. (The method trace is
generated by the Dalvik interpreter).

15 years agoMerge changes 1344,1345 into donut
Android (Google) Code Review [Tue, 12 May 2009 00:28:21 +0000 (17:28 -0700)]
Merge changes 1344,1345 into donut

* changes:
  Fix the tracing code that keeps track of the Java method stack.
  Add a "-d time" option to stack_dump to dump the stack at the given time.

15 years agoBetter output for viewing the method trace.
Jack Veenstra [Sat, 9 May 2009 18:54:37 +0000 (11:54 -0700)]
Better output for viewing the method trace.

This now keeps track of the names of the methods on the stack instead
of just the addresses.  This makes it easier to debug when something goes
wrong.

15 years agoFix the tracing code that keeps track of the Java method stack.
Jack Veenstra [Sat, 9 May 2009 18:50:34 +0000 (11:50 -0700)]
Fix the tracing code that keeps track of the Java method stack.

This fixes a bug that was causing a "stack overflow" because it sometimes
wasn't popping off a Java method when it should have.  I also changed the
showStack() method so that instead of always printing to stderr, you can
pass in a FILE* object to print to.

15 years agoMerge change 1343 into donut
Android (Google) Code Review [Mon, 11 May 2009 22:13:07 +0000 (15:13 -0700)]
Merge change 1343 into donut

* changes:
  Fix compiler warnings by changing "char*" to "const char*".

15 years agoUpdate the NDK packaging script to generate zip archives for all platforms.
Xavier Ducrohet [Mon, 11 May 2009 20:58:02 +0000 (13:58 -0700)]
Update the NDK packaging script to generate zip archives for all platforms.

15 years agoFixed bugs in the media player api demo application
James Dong [Mon, 11 May 2009 20:51:43 +0000 (13:51 -0700)]
Fixed bugs in the media player api demo application
- release the MediaPlayer object when onPause
- use onVideoSizeChanged listener to make sure that correct video size is known before starting playback

15 years agoMerge change 1361 into donut
Android (Google) Code Review [Mon, 11 May 2009 18:54:41 +0000 (11:54 -0700)]
Merge change 1361 into donut

* changes:
  Remove hard-coded path to my home directory in build/tools/make-release.sh. Now you need to use the --prebuilt-path=<path> option to specify where to pick up the prebuilt toolchain tarballs instead, for example:

15 years agoMerge change 1360 into donut
Android (Google) Code Review [Mon, 11 May 2009 18:33:21 +0000 (11:33 -0700)]
Merge change 1360 into donut

* changes:
  remove documentation for unsupported variable (LOCAL_STATIC_WHOLE_LIBRARIES)

15 years agoMerge change 1359 into donut
Android (Google) Code Review [Mon, 11 May 2009 18:32:53 +0000 (11:32 -0700)]
Merge change 1359 into donut

* changes:
  Remove references to 'cupcake' in all of NDK (replace with 'android-1.5')

15 years agoremove documentation for unsupported variable (LOCAL_STATIC_WHOLE_LIBRARIES)
David 'Digit' Turner [Mon, 11 May 2009 15:23:10 +0000 (17:23 +0200)]
remove documentation for unsupported variable (LOCAL_STATIC_WHOLE_LIBRARIES)

15 years agoRemove hard-coded path to my home directory in build/tools/make-release.sh.
David 'Digit' Turner [Mon, 11 May 2009 15:20:26 +0000 (17:20 +0200)]
Remove hard-coded path to my home directory in build/tools/make-release.sh.
Now you need to use the --prebuilt-path=<path> option to specify where to pick up
the prebuilt toolchain tarballs instead, for example:

   build/tools/make-release.sh --prebuilt-path=/home/digit/android/ndk

Add also some other options to change the package prefix / release number / etc

15 years agoRemove references to 'cupcake' in all of NDK (replace with 'android-1.5')
David 'Digit' Turner [Mon, 11 May 2009 14:37:42 +0000 (16:37 +0200)]
Remove references to 'cupcake' in all of NDK (replace with 'android-1.5')

15 years agoAdd docs/LICENSES.TXT which indicates where to find the toolchain sources, as well...
David 'Digit' Turner [Sat, 9 May 2009 23:05:25 +0000 (01:05 +0200)]
Add docs/LICENSES.TXT which indicates where to find the toolchain sources, as well as the GPL/LGPL text files.

Note: the prebuilt binary packages used by "make-release.sh" have
been updated to include the COPYING and COPYING.LIB files.

After this patch is commited, you should be able to run "make-release.sh"
to re-generate release packages that contain docs/LICENSES.TXT as well as COPYING and COPYING.LIB

15 years agoAdd a "-d time" option to stack_dump to dump the stack at the given time.
Jack Veenstra [Sat, 9 May 2009 18:44:53 +0000 (11:44 -0700)]
Add a "-d time" option to stack_dump to dump the stack at the given time.

15 years agoFix compiler warnings by changing "char*" to "const char*".
Jack Veenstra [Sat, 9 May 2009 18:33:44 +0000 (11:33 -0700)]
Fix compiler warnings by changing "char*" to "const char*".

15 years agoMore Clean up in the NDK Overview doc
Xavier Ducrohet [Sat, 9 May 2009 00:47:46 +0000 (17:47 -0700)]
More Clean up in the NDK Overview doc

15 years agoRemove unwanted comments in the NDK Overview doc.
Xavier Ducrohet [Sat, 9 May 2009 00:36:51 +0000 (17:36 -0700)]
Remove unwanted comments in the NDK Overview doc.

15 years agoFix source download location
Xavier Ducrohet [Sat, 9 May 2009 00:31:55 +0000 (17:31 -0700)]
Fix source download location

15 years agoMerge change 1307 into donut
Android (Google) Code Review [Sat, 9 May 2009 00:24:44 +0000 (17:24 -0700)]
Merge change 1307 into donut

* changes:
  Remove the ROADMAP NDK file as it shouldn't be packaged with the NDK

15 years agoRemove the ROADMAP NDK file as it shouldn't be packaged with the NDK
Xavier Ducrohet [Sat, 9 May 2009 00:21:58 +0000 (17:21 -0700)]
Remove the ROADMAP NDK file as it shouldn't be packaged with the NDK

15 years agoMerge change 1237 into donut
Android (Google) Code Review [Fri, 8 May 2009 23:43:03 +0000 (16:43 -0700)]
Merge change 1237 into donut

* changes:
  ADT #1715616: "New Android Test Project" wizard.

15 years agoADT #1715616: "New Android Test Project" wizard.
Raphael [Fri, 8 May 2009 02:27:46 +0000 (19:27 -0700)]
ADT #1715616: "New Android Test Project" wizard.

Also updates eclipse/changes.txt

15 years agoMerge change 1160 into donut
Android (Google) Code Review [Fri, 8 May 2009 18:30:54 +0000 (11:30 -0700)]
Merge change 1160 into donut

* changes:
  Add ability to specify relative class paths when using runtest -c

15 years agoFix the host setup script to work on mac
Xavier Ducrohet [Fri, 8 May 2009 02:00:00 +0000 (19:00 -0700)]
Fix the host setup script to work on mac

15 years agoUpdate the NDK docs to reflect the changes from 2 download (NDK+toolchain) to a singl...
Xavier Ducrohet [Fri, 8 May 2009 01:18:54 +0000 (18:18 -0700)]
Update the NDK docs to reflect the changes from 2 download (NDK+toolchain) to a single download.

15 years agoMerge change 1215 into donut
Android (Google) Code Review [Fri, 8 May 2009 00:59:48 +0000 (17:59 -0700)]
Merge change 1215 into donut

* changes:
  Fix host-setup.sh for cygwin: *-gcc.exe needs to be found

15 years agoMerge change 1195 into donut
Android (Google) Code Review [Fri, 8 May 2009 00:00:54 +0000 (17:00 -0700)]
Merge change 1195 into donut

* changes:
  Use direct, native order Buffers for OpenGL data.

15 years agoFix host-setup.sh for cygwin: *-gcc.exe needs to be found
Raphael Moll [Fri, 8 May 2009 00:00:20 +0000 (17:00 -0700)]
Fix host-setup.sh for cygwin: *-gcc.exe needs to be found

15 years agoFix minor typos in the NDK docs.
Xavier Ducrohet [Thu, 7 May 2009 22:45:41 +0000 (15:45 -0700)]
Fix minor typos in the NDK docs.

15 years agoUse direct, native order Buffers for OpenGL data.
Jack Palevich [Thu, 7 May 2009 21:54:46 +0000 (14:54 -0700)]
Use direct, native order Buffers for OpenGL data.

15 years agoFix the NDK packaging script to use git ls-files instead of git-ls-files
Xavier Ducrohet [Thu, 7 May 2009 21:35:27 +0000 (14:35 -0700)]
Fix the NDK packaging script to use git ls-files instead of git-ls-files

15 years agoMerge change 1187 into donut
Android (Google) Code Review [Thu, 7 May 2009 21:10:11 +0000 (14:10 -0700)]
Merge change 1187 into donut

* changes:
  Change the NDK samples package names to be lower case. Also added minSdkVersion=3 in the manifests.

15 years agogenerate zip files on Windows and OS X when packaging NDK releases
David 'Digit' Turner [Thu, 7 May 2009 21:07:40 +0000 (23:07 +0200)]
generate zip files on Windows and OS X when packaging NDK releases

15 years agoChange the NDK samples package names to be lower case. Also added minSdkVersion=3...
Xavier Ducrohet [Thu, 7 May 2009 21:03:22 +0000 (14:03 -0700)]
Change the NDK samples package names to be lower case. Also added minSdkVersion=3 in the manifests.

15 years agoMake the release script work on OS X, and think about ensure the generated tarballs...
David 'Digit' Turner [Thu, 7 May 2009 20:51:10 +0000 (22:51 +0200)]
Make the release script work on OS X, and think about ensure the generated tarballs are readable by anyone

15 years agoAdd a release packaging script
David 'Digit' Turner [Thu, 7 May 2009 19:58:22 +0000 (21:58 +0200)]
Add a release packaging script

15 years agofix the build. Gaaah
David 'Digit' Turner [Thu, 7 May 2009 19:56:40 +0000 (21:56 +0200)]
fix the build. Gaaah

15 years agoRemove files from NDK samples that should not be there.
Xavier Ducrohet [Thu, 7 May 2009 19:25:24 +0000 (12:25 -0700)]
Remove files from NDK samples that should not be there.

15 years agoMerge change 1161 into donut
Android (Google) Code Review [Thu, 7 May 2009 19:01:10 +0000 (12:01 -0700)]
Merge change 1161 into donut

* changes:
  Initial import of new NDK into donut tree

15 years agoInitial import of new NDK into donut tree
David 'Digit' Turner [Thu, 7 May 2009 18:39:04 +0000 (20:39 +0200)]
Initial import of new NDK into donut tree

15 years agoAdd ability to specify relative class paths when using runtest -c
Brett Chabot [Thu, 7 May 2009 18:09:40 +0000 (11:09 -0700)]
Add ability to specify relative class paths when using runtest -c

"runtest -c .<className>" will now be equivalent to
"runtest -c <package>.<className>", where package is the test-app's package as defined in test_defs.xml.

15 years agoIgnore compiled python files.
Mike Lockwood [Thu, 7 May 2009 17:26:09 +0000 (13:26 -0400)]
Ignore compiled python files.

Signed-off-by: Mike Lockwood <lockwood@android.com>
15 years agoMerge change 1015 into donut
Android (Google) Code Review [Wed, 6 May 2009 20:55:42 +0000 (13:55 -0700)]
Merge change 1015 into donut

* changes:
  Make the simulator handle paths like '//data/data/...' the same way the device does.

15 years agoMerge change 1002 into donut
Android (Google) Code Review [Wed, 6 May 2009 17:31:01 +0000 (10:31 -0700)]
Merge change 1002 into donut

* changes:
  runtest.py bug fixes.

15 years agoMake the simulator handle paths like '//data/data/...' the same way the device does.
Marco Nelissen [Tue, 5 May 2009 21:54:14 +0000 (14:54 -0700)]
Make the simulator handle paths like '//data/data/...' the same way the device does.

15 years agoFix ADT junit test for AndroidManifestParser following API change.
Raphael [Tue, 5 May 2009 20:40:24 +0000 (13:40 -0700)]
Fix ADT junit test for AndroidManifestParser following API change.

15 years agoruntest.py bug fixes.
Brett Chabot [Tue, 5 May 2009 19:56:39 +0000 (12:56 -0700)]
runtest.py bug fixes.

Improved error handling, and added support for "size" and "package" arguments.
Removed deprecated runtest shell script.

15 years agoADT #1825491: Provide default choices for <uses-library>
Raphael [Mon, 4 May 2009 22:37:40 +0000 (15:37 -0700)]
ADT #1825491: Provide default choices for <uses-library>

We currently hardcode a list in the PlatformTarget and propagate
it to the UI via the AndroidTargetParser. This way we can later
decide to actually get the info from some kind of manifest.

15 years agoMerge change 947 into donut
Android (Google) Code Review [Mon, 4 May 2009 20:58:09 +0000 (13:58 -0700)]
Merge change 947 into donut

* changes:
  IDE: Add ConfigBuildFlags to Eclipse's .classpath

15 years agoIDE: Add ConfigBuildFlags to Eclipse's .classpath
Dave Bort [Fri, 1 May 2009 00:15:53 +0000 (17:15 -0700)]
IDE: Add ConfigBuildFlags to Eclipse's .classpath

Signed-off-by: Dave Bort <dbort@android.com>
15 years agoMerge change 889 into donut
Android (Google) Code Review [Mon, 4 May 2009 18:34:51 +0000 (11:34 -0700)]
Merge change 889 into donut

* changes:
  Broaden the search for native test files.

15 years agoBroaden the search for native test files.
Nicolas Catania [Fri, 1 May 2009 18:55:36 +0000 (11:55 -0700)]
Broaden the search for native test files.

Previously we were looking for test files with this pattern: test_*
I added *_test.[cc|cpp] and *_unittest.[cc|cpp]

The search also scan all the subdirectories of the build_path from
the test definition.

I added a filtering stage where missing tests are ignored.
For instance we may have a source file that has not been built for
the target, in which case it is ignored when we run the target tests.

In android_build.py I added 4 helper functions to get access to the
build environment:
- GetHostBin
- GetProductOut
- GetTargetSystemBin
- GetHostOsArch

Replace all the hardcoded linux-x86 strings with the value returned
by GetHostOsArch.

15 years agoam 01a62ee: AI 148202: Applying changes to build_new_device.jd originall
David Warren [Fri, 1 May 2009 21:22:21 +0000 (14:22 -0700)]
am 01a62ee: AI 148202: Applying changes to build_new_device.jd originall

Merge commit '01a62eeda8f2065aaf26a02decc615c19b63e967' into donut

* commit '01a62eeda8f2065aaf26a02decc615c19b63e967':
  AI 148202: Applying changes to build_new_device.jd originally made by Reena in CL 148100. I made her edits by hand. The problem is that I moved all content files from docs to docs/guide and she edited the version in docs (which no longer exists).

15 years agoAI 148202: Applying changes to build_new_device.jd originally made by Reena in CL...
David Warren [Fri, 1 May 2009 21:22:07 +0000 (14:22 -0700)]
AI 148202: Applying changes to build_new_device.jd originally made by Reena in CL 148100. I made her edits by hand. The problem is that I moved all content files from docs to docs/guide and she edited the version in docs (which no longer exists).

Automated import of CL 148202

15 years agoADT #1823896: Ability to add an "extra" action to the AVD Selector.
Raphael [Fri, 1 May 2009 19:34:14 +0000 (12:34 -0700)]
ADT #1823896: Ability to add an "extra" action to the AVD Selector.

Used to display the AVD Manager from the Device Chooser/Launch config.
Used to delete AVDs from the AVD Manager.

In AVD Manager, also hide the Cancel button since actions are
immediate and not cancelable.

15 years agoMerge change 856 into donut
Android (Google) Code Review [Fri, 1 May 2009 18:09:46 +0000 (11:09 -0700)]
Merge change 856 into donut

* changes:
  Modified the command to run native test on the host: - when valgrind is used, the output is discarded, always. - otherwise, the output of the test is printed only when the test failed.

15 years agoModified the command to run native test on the host:
Nicolas Catania [Fri, 1 May 2009 02:27:52 +0000 (19:27 -0700)]
Modified the command to run native test on the host:
- when valgrind is used, the output is discarded, always.
- otherwise, the output of the test is printed only when the test failed.

15 years agoam 2b15cf1: AI 148129: Missing \ in Pdk.Mk causing build to not go throu
David Warren [Fri, 1 May 2009 00:27:16 +0000 (17:27 -0700)]
am 2b15cf1: AI 148129: Missing \ in Pdk.Mk causing build to not go throu

Merge commit '2b15cf1abf2f41e3a9f7edc99d65a9e9d38e6c25' into donut

* commit '2b15cf1abf2f41e3a9f7edc99d65a9e9d38e6c25':
  AI 148129: Missing \ in Pdk.Mk causing build to not go through - Gaurav

15 years agoam 390be0e: AI 148128: -Removed "Option1" about using buildspec which is
Reena Lee [Fri, 1 May 2009 00:27:16 +0000 (17:27 -0700)]
am 390be0e: AI 148128: -Removed "Option1" about using buildspec which is

Merge commit '390be0e33d61654113b4bdc9b1974b33eebd2205' into donut

* commit '390be0e33d61654113b4bdc9b1974b33eebd2205':
  AI 148128: -Removed "Option1" about using buildspec which is no longer relevant.