OSDN Git Service
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.
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.
Mike Ritter [Thu, 30 Apr 2009 06:30:44 +0000 (23:30 -0700)]
am
aa2d952: AI 147991: make sources appear in online-pdk/guide
Merge commit '
aa2d95234e8350eebf789da2b976f843318dead8' into donut
* commit '
aa2d95234e8350eebf789da2b976f843318dead8':
AI 147991: make sources appear in online-pdk/guide
Xavier Ducrohet [Wed, 29 Apr 2009 21:38:30 +0000 (14:38 -0700)]
Make sure that any exception during the final packaging properly put an error marker on the project (since build failed.
Android (Google) Code Review [Wed, 29 Apr 2009 19:10:55 +0000 (12:10 -0700)]
Merge change 715 into donut
* changes:
ADT #
1820114: Provide a quick UI to edit AVD.
Raphael [Wed, 29 Apr 2009 06:41:40 +0000 (23:41 -0700)]
ADT #
1820114: Provide a quick UI to edit AVD.
This is temporary and will be replaced once we get the standalone AVD UI.
Mike Ritter [Wed, 29 Apr 2009 16:19:32 +0000 (09:19 -0700)]
AI 147991: make sources appear in online-pdk/guide
BUG=
1815368
Automated import of CL 147991
Scott Main [Wed, 29 Apr 2009 04:53:14 +0000 (21:53 -0700)]
am
705a3ee: AI 147793: cleanup broken links and delete all innacurate in
Merge commit '
705a3ee3975877460c124d98eda12ae16dadd1a6' into donut
* commit '
705a3ee3975877460c124d98eda12ae16dadd1a6':
AI 147793: cleanup broken links and delete all innacurate info in apidemo pages
Android (Google) Code Review [Tue, 28 Apr 2009 20:52:51 +0000 (13:52 -0700)]
Merge change 663 into donut
* changes:
Fix ADT#
1807821: -f option ignored when avd dir already existed.
Android (Google) Code Review [Tue, 28 Apr 2009 20:16:19 +0000 (13:16 -0700)]
Merge change 657 into donut
* changes:
Fix a memory deallocation error that was crashing q2dm.
Jack Veenstra [Tue, 28 Apr 2009 18:33:55 +0000 (11:33 -0700)]
Fix a memory deallocation error that was crashing q2dm.
Also fix a bunch of compile warnings by changing "char *" to "const char *".
Raphael [Tue, 28 Apr 2009 19:54:47 +0000 (12:54 -0700)]
Fix ADT#
1807821: -f option ignored when avd dir already existed.
Also fixed an NPE when parsing some invalid AVDs.
Raphael [Tue, 28 Apr 2009 19:11:03 +0000 (12:11 -0700)]
Fix cygwin git script, we need some of the external projects.
Android (Google) Code Review [Tue, 28 Apr 2009 18:02:14 +0000 (11:02 -0700)]
Merge change 627 into donut
* changes:
Fix a bunch of issues related to packaging the content of libs (NPE with files with no extension, not ignoring ignorable folders). Also fixed an issue when parsing Manifest with <uses-sdk />
Xavier Ducrohet [Tue, 28 Apr 2009 02:02:03 +0000 (19:02 -0700)]
Move ADT to 0.9.1
Xavier Ducrohet [Tue, 28 Apr 2009 01:52:49 +0000 (18:52 -0700)]
Fix a bunch of issues related to packaging the content of libs (NPE with files with no extension, not ignoring ignorable folders). Also fixed an issue when parsing Manifest with <uses-sdk />
Xavier Ducrohet [Tue, 28 Apr 2009 00:38:40 +0000 (17:38 -0700)]
Make traceview compile with the new API from SdkStats.
Android (Google) Code Review [Mon, 27 Apr 2009 23:08:01 +0000 (16:08 -0700)]
Merge change 609 into donut
* changes:
Fix the opt-in window for usage stat so that it works when running from ADT.
Xavier Ducrohet [Mon, 27 Apr 2009 21:58:09 +0000 (14:58 -0700)]
Fix the opt-in window for usage stat so that it works when running from ADT.
Raphael [Mon, 27 Apr 2009 22:01:16 +0000 (15:01 -0700)]
Documents various git issues for Windows.
Raphael [Mon, 27 Apr 2009 01:07:04 +0000 (18:07 -0700)]
Split development/.gitignore into separate gitignore files per project.
Added missing gitignore for layoutlib_utils.
Changed mkstubs build path to use prebuilt/asm-3.1 instead of asm-3.1 project.
Scott Main [Sat, 25 Apr 2009 21:04:53 +0000 (14:04 -0700)]
AI 147793: cleanup broken links and delete all innacurate info in apidemo pages
BUG=
1810005
Automated import of CL 147793
Xavier Ducrohet [Fri, 24 Apr 2009 23:35:32 +0000 (16:35 -0700)]
Add Eclipse projects bin folders to the gitignore list.
Android (Google) Code Review [Fri, 24 Apr 2009 23:08:21 +0000 (16:08 -0700)]
Merge change 556 into donut
* changes:
Fixed a bug in XML parser handler where some words were being split in two. Fixes #
1812655.
Amith Yamasani [Fri, 24 Apr 2009 22:14:02 +0000 (15:14 -0700)]
Fixed a bug in XML parser handler where some words were being split in two. Fixes #
1812655.
Properly concatenate characters to create a full word before adding the word to the tree.
Android (Google) Code Review [Fri, 24 Apr 2009 22:11:52 +0000 (15:11 -0700)]
Merge change 504 into donut
* changes:
Add network statistics collection to monkey runs.
Android (Google) Code Review [Fri, 24 Apr 2009 21:37:17 +0000 (14:37 -0700)]
Merge change 536 into donut
* changes:
ADT #
1810565: Fix symlinks for ADT/DDMS show up in git
Jack Palevich [Fri, 24 Apr 2009 20:04:26 +0000 (13:04 -0700)]
Add a sample showing how to use the new static OpenGL ES bindings.
(Actually repurpose the existing Texture Triangle sample.)
Raphael Moll [Fri, 24 Apr 2009 03:06:36 +0000 (20:06 -0700)]
ADT #
1810565: Fix symlinks for ADT/DDMS show up in git
Use a .gitignore to prevent files created by
./development/tools/eclipse/scripts/create_all_symlinks.sh
from appearing in git.
This is for Linux. Not sure if we need to amend that for Mac/Windows.
Android (Google) Code Review [Thu, 23 Apr 2009 22:06:39 +0000 (15:06 -0700)]
Merge change 506 into donut
* changes:
yuv420sp2rgb: a tool to convert from YUV 4:2:0 semiplanar to various RGB formats
Android (Google) Code Review [Thu, 23 Apr 2009 21:49:30 +0000 (14:49 -0700)]
Merge change 434 into donut
* changes:
Added a method in run_command.py to run a host test. The run can also happen under valgrind.
Dave Bort [Thu, 23 Apr 2009 20:46:58 +0000 (13:46 -0700)]
Add official copyright templates
Signed-off-by: Dave Bort <dbort@android.com>
Jim Miller [Thu, 23 Apr 2009 00:04:48 +0000 (17:04 -0700)]
Add network statistics collection to monkey runs.
Iliyan Malchev [Thu, 23 Apr 2009 20:14:13 +0000 (13:14 -0700)]
yuv420sp2rgb: a tool to convert from YUV 4:2:0 semiplanar to various RGB formats
Signed-off-by: Iliyan Malchev <malchev@google.com>
Jean-Baptiste Queru [Thu, 23 Apr 2009 00:56:50 +0000 (17:56 -0700)]
merge cupcake into donut
Mike Ritter [Wed, 22 Apr 2009 20:45:33 +0000 (13:45 -0700)]
Merge branch 'readonly-p4-donut' into donut
Mike Ritter [Wed, 22 Apr 2009 20:44:21 +0000 (13:44 -0700)]
AI 147382: am: CL 147379 copy pdk templates sub-directories also.
Original author: mritter
Merged from: //branches/cupcake/...
Automated import of CL 147382
Jean-Michel Trivi [Wed, 22 Apr 2009 20:17:57 +0000 (13:17 -0700)]
Merge branch 'readonly-p4-donut' into donut
Jean-Michel Trivi [Wed, 22 Apr 2009 20:16:35 +0000 (13:16 -0700)]
AI 147301: am: CL 147296 Reuse the JetPlayer singleton instance in the initialization of JetBoy instead of destroying it.
Original author: jmtrivi
Merged from: //branches/cupcake/...
Automated import of CL 147301
Xavier Ducrohet [Wed, 22 Apr 2009 19:13:17 +0000 (12:13 -0700)]
AI 147402: Fix plugin.xml to match refactoring of the new file wizard.
Automated import of CL 147402
Nicolas Catania [Wed, 22 Apr 2009 18:08:32 +0000 (11:08 -0700)]
Added a method in run_command.py to run a host test.
The run can also happen under valgrind.
runtest.py: Search for host test as well. Run these under valgrind.
Mike Ritter [Wed, 22 Apr 2009 16:55:08 +0000 (09:55 -0700)]
AI 147379: copy pdk templates sub-directories also.
BUG=
1801344
Automated import of CL 147379
Jean-Michel Trivi [Wed, 22 Apr 2009 01:50:58 +0000 (18:50 -0700)]
AI 147296: Reuse the JetPlayer singleton instance in the initialization of JetBoy instead of destroying it.
BUG=
1804737
Automated import of CL 147296
Xavier Ducrohet [Tue, 21 Apr 2009 23:24:06 +0000 (16:24 -0700)]
Merge branch 'readonly-p4-donut' into donut
Xavier Ducrohet [Tue, 21 Apr 2009 23:22:51 +0000 (16:22 -0700)]
AI 147271: am: CL 147269 Remove "show compass" option as it requires Google Maps dependency.
Original author: xav
Merged from: //branches/cupcake/...
Automated import of CL 147271
Xavier Ducrohet [Tue, 21 Apr 2009 23:20:58 +0000 (16:20 -0700)]
AI 147269: Remove "show compass" option as it requires Google Maps dependency.
BUG=
1804337
Automated import of CL 147269
Raphael Moll [Tue, 21 Apr 2009 22:51:07 +0000 (15:51 -0700)]
Merge branch 'readonly-p4-donut' into donut
Raphael Moll [Tue, 21 Apr 2009 22:49:49 +0000 (15:49 -0700)]
AI 147264: am: CL 147262 ADT #
1761055: Pre-select node types when adding node in manifest & resource based on context
Original author: raphael
Merged from: //branches/cupcake/...
Automated import of CL 147264
Raphael Moll [Tue, 21 Apr 2009 22:47:39 +0000 (15:47 -0700)]
AI 147262: ADT #
1761055: Pre-select node types when adding node in manifest & resource based on context
BUG=
1761055
Automated import of CL 147262
Jeff Hamilton [Tue, 21 Apr 2009 22:10:49 +0000 (15:10 -0700)]
Merge branch 'readonly-p4-donut' into donut
Jeff Hamilton [Tue, 21 Apr 2009 22:09:35 +0000 (15:09 -0700)]
AI 147247: am: CL 147243 Make the API sample check to see if there is anything installed to handle the recognition intent.
Original author: jham
Merged from: //branches/cupcake/...
Automated import of CL 147247
Jeff Hamilton [Tue, 21 Apr 2009 22:05:59 +0000 (15:05 -0700)]
AI 147243: Make the API sample check to see if there is anything installed to handle the recognition intent.
BUG=
1803523
Automated import of CL 147243
Raphael Moll [Tue, 21 Apr 2009 20:24:01 +0000 (13:24 -0700)]
Merge branch 'readonly-p4-donut' into donut
Raphael Moll [Tue, 21 Apr 2009 20:22:51 +0000 (13:22 -0700)]
AI 147193: am: CL 147190 Javadoc for MkStubs.
Original author: raphael
Merged from: //branches/cupcake/...
Automated import of CL 147193
Raphael Moll [Tue, 21 Apr 2009 20:20:37 +0000 (13:20 -0700)]
AI 147190: Javadoc for MkStubs.
BUG=
1778786
Automated import of CL 147190
Raphael Moll [Tue, 21 Apr 2009 20:09:20 +0000 (13:09 -0700)]
Merge branch 'readonly-p4-donut' into donut
Raphael Moll [Tue, 21 Apr 2009 20:07:50 +0000 (13:07 -0700)]
AI 147177: am: CL 147175 ADT #
1801951: "adb.exe" misses the dot in android_rules.xml
Original author: raphael
Merged from: //branches/cupcake/...
Automated import of CL 147177
Raphael Moll [Tue, 21 Apr 2009 20:06:05 +0000 (13:06 -0700)]
Merge branch 'readonly-p4-donut' into donut
Raphael Moll [Tue, 21 Apr 2009 20:04:52 +0000 (13:04 -0700)]
AI 147175: ADT #
1801951: "adb.exe" misses the dot in android_rules.xml
BUG=
1801951
Automated import of CL 147175
Raphael Moll [Tue, 21 Apr 2009 20:04:49 +0000 (13:04 -0700)]
AI 147176: am: CL 147174 ADT #
1801919: Make default options output a bit more friendly.
Original author: raphael
Merged from: //branches/cupcake/...
Automated import of CL 147176
Raphael Moll [Tue, 21 Apr 2009 20:03:55 +0000 (13:03 -0700)]
AI 147174: ADT #
1801919: Make default options output a bit more friendly.
BUG=
1801919
Automated import of CL 147174
Andy Stadler [Tue, 21 Apr 2009 18:53:02 +0000 (11:53 -0700)]
Merge branch 'readonly-p4-donut' into donut
Andy Stadler [Tue, 21 Apr 2009 18:51:42 +0000 (11:51 -0700)]
AI 147167: am: CL 147162 Emphasize in the javadoc that the "pkg" parameters to
InstrumentationTestCase and its descendants should be the
package manager package name (not the java package name, and
not the test package) of the package holding the Activity
under test.
Added similar notations to the ApiDemos call sites.
JAVADOC ONLY - should be safe change for cupcake sdk.
Original author: stadler
Merged from: //branches/cupcake/...
Automated import of CL 147167
Andy Stadler [Tue, 21 Apr 2009 18:48:53 +0000 (11:48 -0700)]
AI 147162: Emphasize in the javadoc that the "pkg" parameters to
InstrumentationTestCase and its descendants should be the
package manager package name (not the java package name, and
not the test package) of the package holding the Activity
under test.
Added similar notations to the ApiDemos call sites.
JAVADOC ONLY - should be safe change for cupcake sdk.
BUG=
1783981
Automated import of CL 147162
Raphael Moll [Mon, 20 Apr 2009 23:16:34 +0000 (16:16 -0700)]
Merge branch 'readonly-p4-donut' into donut
Raphael Moll [Mon, 20 Apr 2009 23:15:15 +0000 (16:15 -0700)]
AI 147027: am: CL 147025 ADT #
1795718: disable --mode in "android create project".
The alias build rules do not work and the flag wasn't even used
by ProjectCreator anyway. Will reintroduce later.
Original author: raphael
Merged from: //branches/cupcake/...
Automated import of CL 147027
Raphael Moll [Mon, 20 Apr 2009 23:13:19 +0000 (16:13 -0700)]
AI 147025: ADT #
1795718: disable --mode in "android create project".
The alias build rules do not work and the flag wasn't even used
by ProjectCreator anyway. Will reintroduce later.
BUG=
1795718
Automated import of CL 147025
Raphael Moll [Mon, 20 Apr 2009 22:43:27 +0000 (15:43 -0700)]
Merge branch 'readonly-p4-donut' into donut
Raphael Moll [Mon, 20 Apr 2009 22:41:59 +0000 (15:41 -0700)]
AI 147013: am: CL 147012 A readme describing the usage and limitations of MkStubs.
Original author: raphael
Merged from: //branches/cupcake/...
Automated import of CL 147013
Raphael Moll [Mon, 20 Apr 2009 22:40:40 +0000 (15:40 -0700)]
AI 147012: A readme describing the usage and limitations of MkStubs.
BUG=
1778786
Automated import of CL 147012
Xavier Ducrohet [Mon, 20 Apr 2009 21:12:39 +0000 (14:12 -0700)]
Merge branch 'readonly-p4-donut' into donut
Xavier Ducrohet [Mon, 20 Apr 2009 21:11:22 +0000 (14:11 -0700)]
AI 146983: am: CL 146980 Fix the display of the target hash string when displaying unresolved target errors.
Original author: xav
Merged from: //branches/cupcake/...
Automated import of CL 146983
Xavier Ducrohet [Mon, 20 Apr 2009 21:09:05 +0000 (14:09 -0700)]
AI 146980: Fix the display of the target hash string when displaying unresolved target errors.
BUG=
1800971
Automated import of CL 146980
Raphael Moll [Mon, 20 Apr 2009 20:24:11 +0000 (13:24 -0700)]
Merge branch 'readonly-p4-donut' into donut
Raphael Moll [Mon, 20 Apr 2009 20:22:55 +0000 (13:22 -0700)]
AI 146970: am: CL 146969 Windows SDK fixes for JetCreator
Original author: raphael
Merged from: //branches/cupcake/...
Automated import of CL 146970
Raphael Moll [Mon, 20 Apr 2009 20:21:23 +0000 (13:21 -0700)]
AI 146969: Windows SDK fixes for JetCreator
BUG=
1793093
Automated import of CL 146969
Xavier Ducrohet [Mon, 20 Apr 2009 18:02:46 +0000 (11:02 -0700)]
Merge branch 'readonly-p4-donut' into donut
Xavier Ducrohet [Mon, 20 Apr 2009 18:01:18 +0000 (11:01 -0700)]
AI 146944: am: CL 146943 Move JetCreator into tools/Jet/JetCreator. Add demo content and Logic templates in tools/Jet/
Original author: xav
Merged from: //branches/cupcake/...
Automated import of CL 146944
Xavier Ducrohet [Mon, 20 Apr 2009 17:59:21 +0000 (10:59 -0700)]
AI 146943: Move JetCreator into tools/Jet/JetCreator. Add demo content and Logic templates in tools/Jet/
BUG=
1793093
Automated import of CL 146943
Raphael Moll [Sun, 19 Apr 2009 16:48:31 +0000 (09:48 -0700)]
Merge branch 'readonly-p4-donut' into donut
Raphael Moll [Sun, 19 Apr 2009 16:47:11 +0000 (09:47 -0700)]
AI 146870: am: CL 146865 Final pass on stubber: properly filter fields and methods.
Original author: raphael
Merged from: //branches/cupcake/...
Automated import of CL 146870
Raphael Moll [Sun, 19 Apr 2009 16:44:45 +0000 (09:44 -0700)]
Merge branch 'readonly-p4-donut' into donut
Raphael Moll [Sun, 19 Apr 2009 16:42:01 +0000 (09:42 -0700)]
AI 146863: am: CL 146862 Fix Windows SDK build.
Original author: raphael
Merged from: //branches/cupcake/...
Automated import of CL 146863
Raphael Moll [Sun, 19 Apr 2009 16:41:25 +0000 (09:41 -0700)]
AI 146865: Final pass on stubber: properly filter fields and methods.
BUG=
1778786
Automated import of CL 146865
Raphael Moll [Sun, 19 Apr 2009 16:39:22 +0000 (09:39 -0700)]
AI 146862: Fix Windows SDK build.
BUG=
1793093
Automated import of CL 146862
Xavier Ducrohet [Sat, 18 Apr 2009 19:24:51 +0000 (12:24 -0700)]
Merge branch 'readonly-p4-donut' into donut
Xavier Ducrohet [Sat, 18 Apr 2009 19:23:40 +0000 (12:23 -0700)]
AI 146847: am: CL 146845 Fix detecting "home" activities when parsing the Android Manifest
Original author: xav
Merged from: //branches/cupcake/...
Automated import of CL 146847
Xavier Ducrohet [Sat, 18 Apr 2009 19:16:30 +0000 (12:16 -0700)]
Merge branch 'readonly-p4-donut' into donut
Xavier Ducrohet [Sat, 18 Apr 2009 19:15:12 +0000 (12:15 -0700)]
AI 146808: am: CL 146806 Make sure we check buffer length when removing escaped chars (like unicode) when parsing Value XML files.
Original author: xav
Merged from: //branches/cupcake/...
Automated import of CL 146808
Xavier Ducrohet [Sat, 18 Apr 2009 19:07:19 +0000 (12:07 -0700)]
Merge branch 'readonly-p4-donut' into donut
Xavier Ducrohet [Sat, 18 Apr 2009 19:05:57 +0000 (12:05 -0700)]
AI 146784: am: CL 146783 Update New project wizard with the less confusing "Build Target" label.
Original author: xav
Merged from: //branches/cupcake/...
Automated import of CL 146784
Xavier Ducrohet [Sat, 18 Apr 2009 19:04:11 +0000 (12:04 -0700)]
Merge branch 'readonly-p4-donut' into donut
Xavier Ducrohet [Sat, 18 Apr 2009 19:02:53 +0000 (12:02 -0700)]
AI 146778: am: CL 146776 fix NPE in AvdManager
Original author: xav
Merged from: //branches/cupcake/...
Automated import of CL 146778
Raphael Moll [Sat, 18 Apr 2009 18:58:11 +0000 (11:58 -0700)]
Merge branch 'readonly-p4-donut' into donut
Raphael Moll [Sat, 18 Apr 2009 18:56:49 +0000 (11:56 -0700)]
AI 146771: am: CL 146770 ADT #
1797369 fix error "ant windows: com.android.ant.SetupTask cannot be found"
The path in local.properties should be double-backslashed.
Original author: raphael
Merged from: //branches/cupcake/...
Automated import of CL 146771
Xavier Ducrohet [Sat, 18 Apr 2009 00:37:23 +0000 (17:37 -0700)]
AI 146845: Fix detecting "home" activities when parsing the Android Manifest
BUG=
1798186
Automated import of CL 146845
Xavier Ducrohet [Fri, 17 Apr 2009 23:13:41 +0000 (16:13 -0700)]
AI 146806: Make sure we check buffer length when removing escaped chars (like unicode) when parsing Value XML files.
BUG=
1797920
Automated import of CL 146806
Xavier Ducrohet [Fri, 17 Apr 2009 21:13:15 +0000 (14:13 -0700)]
AI 146783: Update New project wizard with the less confusing "Build Target" label.
BUG=
1795612
Automated import of CL 146783
Xavier Ducrohet [Fri, 17 Apr 2009 21:06:15 +0000 (14:06 -0700)]
AI 146776: fix NPE in AvdManager
BUG=
1791664
Automated import of CL 146776
Raphael Moll [Fri, 17 Apr 2009 21:01:49 +0000 (14:01 -0700)]
AI 146770: ADT #
1797369 fix error "ant windows: com.android.ant.SetupTask cannot be found"
The path in local.properties should be double-backslashed.
BUG=
1797369
Automated import of CL 146770