OSDN Git Service
The Android Open Source Project [Fri, 24 Jul 2009 16:12:08 +0000 (09:12 -0700)]
Merge commit 'remotes/goog/donut' into donut-release
Doug Zongker [Fri, 24 Jul 2009 03:06:57 +0000 (20:06 -0700)]
don't try to build recovery patch in generic build
Doug Zongker [Fri, 24 Jul 2009 01:48:38 +0000 (18:48 -0700)]
make path explicit when running imgdiff
The build servers don't run "lunch" before building, so they don't
have the same path as everyone else. Explicitly set it when running
imgdiff.
Doug Zongker [Fri, 24 Jul 2009 01:27:43 +0000 (18:27 -0700)]
fix imgdiff/bsdiff dependencies
These should be regular dependencies, not order-only ones.
Doug Zongker [Fri, 24 Jul 2009 00:52:36 +0000 (17:52 -0700)]
fix system size calculation for SDK build
The SDK build doesn't have recovery, don't try to generate a patch or
include it in the system image size calculation. Also there's a
dependency on bsdiff that was omitted.
Doug Zongker [Thu, 23 Jul 2009 22:12:53 +0000 (15:12 -0700)]
use a binary patch to install recovery from system
Instead of storing the whole recovery image in system in order to
flash it on first boot, we instead use an imgdiff patch from the boot
image to create the recovery image. This is substantially smaller
since it effectively only stores the recovery binary and UI images
(the kernel and the init binary are identical to that of the boot
image).
This change modifies the OTA-building script to create and install
these patches, and changes the calculation of the system image size in
the Makefile to reflect the new scheme.
Android (Google) Code Review [Thu, 23 Jul 2009 19:38:03 +0000 (12:38 -0700)]
Merge change 8295 into donut
* changes:
applypatch changes for patching recovery image
Android (Google) Code Review [Thu, 23 Jul 2009 17:45:57 +0000 (10:45 -0700)]
Merge change 8313 into donut
* changes:
Fixed PDK links that point to the Creative Commons License
android-build SharedAccount [Thu, 23 Jul 2009 16:25:30 +0000 (09:25 -0700)]
DRC23
android-build SharedAccount [Thu, 23 Jul 2009 16:24:44 +0000 (09:24 -0700)]
Merge commit 'remotes/goog/donut' into donut-release
Marco Nelissen [Thu, 23 Jul 2009 16:23:44 +0000 (09:23 -0700)]
Clean step to remove silent ringtone.
Gaurav Mathur [Thu, 23 Jul 2009 03:27:12 +0000 (20:27 -0700)]
Fixed PDK links that point to the Creative Commons License
Doug Zongker [Thu, 23 Jul 2009 01:27:31 +0000 (18:27 -0700)]
applypatch changes for patching recovery image
Make some changes needed to applypatch in order to store the recovery
image in the system partition as a binary patch relative to the boot
image:
- make applypatch use shared libraries, so it's smaller. It will
need to be on the main system so it can install the recovery
image. Make an applypatch_static binary for use in recovery
packages (still needed for updating cupcake devices to donut).
- output the results of patching to an in-memory buffer and write
that to the partition; there's no convenient /tmp for us to us.
(This should be basically a no-op in recovery, since /tmp is a
ramdisk anyway.)
Jack Palevich [Wed, 22 Jul 2009 23:04:39 +0000 (16:04 -0700)]
Clean up after removing android.opengl.Version
The Android Open Source Project [Wed, 22 Jul 2009 15:36:11 +0000 (08:36 -0700)]
DRC22
The Android Open Source Project [Wed, 22 Jul 2009 15:35:56 +0000 (08:35 -0700)]
Merge commit 'remotes/goog/donut' into donut-release
Jesse Wilson [Tue, 21 Jul 2009 21:02:14 +0000 (14:02 -0700)]
Adding version information to DroidDoc. Rather than pulling the version from
@since tags in the code, it's pulled from the API XML files also used by
apicheck.
The code now reads the apicheck XML, and applies it's versions to the DroidDoc
class models. The models output the version to HDF, and that's picked up by
the CS templates.
The clearsilver templates will be changed to be pretty in a follow up change.
Conflicts:
tools/droiddoc/src/DroidDoc.java
Android (Google) Code Review [Tue, 21 Jul 2009 19:07:35 +0000 (12:07 -0700)]
Merge change 7944 into donut
* changes:
better patching for zip files
The Android Open Source Project [Tue, 21 Jul 2009 15:35:09 +0000 (08:35 -0700)]
DRC21
The Android Open Source Project [Tue, 21 Jul 2009 15:35:00 +0000 (08:35 -0700)]
Merge commit 'remotes/goog/donut' into donut-release
Doug Zongker [Mon, 20 Jul 2009 21:45:29 +0000 (14:45 -0700)]
better patching for zip files
Adds a zip mode ("-z") to imgdiff to construct efficient patches for
zip files (including jars and apks). We identify the regions within
the zip file containing deflated data, and when a corresponding file
can be found in the source zip, a patch is generated for the
uncompressed version of the data.
The GZIP chunk type is replaced with a DEFLATE chunk type that handles
a raw deflated data stream. This new DEFLATE chunk can be used for
both gzipped pieces (as found within boot and recovery images) and zip
files (apks, etc.) The gzip header and footer are handled by NORMAL
chunks on either side of the main DEFLATE chunks. (Typically these
tiny NORMAL chunks will get merged with adjacent chunks, so the number
of output chunks is unaffected.)
Add a test script that tests the generate-apply cycle on all the zips
and images within a pair of full OTA packages.
Romain Guy [Mon, 20 Jul 2009 18:22:08 +0000 (11:22 -0700)]
Add GestureBuilder to SDK build.
The Android Open Source Project [Mon, 20 Jul 2009 15:34:58 +0000 (08:34 -0700)]
DRC20
The Android Open Source Project [Mon, 20 Jul 2009 15:34:49 +0000 (08:34 -0700)]
Merge commit 'remotes/goog/donut' into donut-release
Android (Google) Code Review [Fri, 17 Jul 2009 22:56:25 +0000 (15:56 -0700)]
Merge change 7040 into donut
* changes:
CTS: Add media test cases to CTS makefile
The Android Open Source Project [Fri, 17 Jul 2009 21:50:37 +0000 (14:50 -0700)]
DRC17C
The Android Open Source Project [Fri, 17 Jul 2009 21:50:28 +0000 (14:50 -0700)]
Merge commit 'remotes/goog/donut' into donut-release
Joe Onorato [Fri, 17 Jul 2009 19:33:40 +0000 (15:33 -0400)]
Speed up the full build.
Now, by default, instead of fully building everything,
we skip dexing the modules that aren't going to be included
in the current build.
This will slow down some of the incremental builds (like tests),
but it improves the regular eng build from 27.5 minutes on my
Mac Pro to 25 minutes. That's not as much of an improvement
as I had hoped for, but it's still better.
There is also a change in here that puts the java-source-list
file which is used to get around limited command line lengths
in the proper directory. Before this change, it was an
accident that the directory for that file existed!
android-build SharedAccount [Fri, 17 Jul 2009 20:01:01 +0000 (13:01 -0700)]
DRC17B
The Android Open Source Project [Fri, 17 Jul 2009 15:35:34 +0000 (08:35 -0700)]
DRC17
The Android Open Source Project [Fri, 17 Jul 2009 15:35:08 +0000 (08:35 -0700)]
Merge commit 'remotes/goog/donut' into donut-release
Android (Google) Code Review [Thu, 16 Jul 2009 20:30:16 +0000 (13:30 -0700)]
Merge change 7479 into donut
* changes:
handle identical gzip chunks better
The Android Open Source Project [Thu, 16 Jul 2009 15:35:50 +0000 (08:35 -0700)]
DRC16
The Android Open Source Project [Thu, 16 Jul 2009 15:35:22 +0000 (08:35 -0700)]
Merge commit 'goog/donut' into donut-release
Doug Zongker [Thu, 16 Jul 2009 00:54:30 +0000 (17:54 -0700)]
handle identical gzip chunks better
Improve the speed of incremental OTA install by treating unchanging
gzip chunks as normal chunks, avoiding a decompress/recompress cycle.
This reduces the time needed to apply a patch to a boot image where
the kernel has not changed from ~30 seconds to ~2 seconds, on an opal.
Doug Zongker [Wed, 15 Jul 2009 22:43:39 +0000 (15:43 -0700)]
fix the modtime of files in the apk when signing
SignApk fixes the timestamp of the signature files it adds. Use that
same timestamp for all the files, so that the modtime doesn't vary
from build to build. (Incremental OTAs currently spend significant
time rewriting every .apk to do nothing but patch in timestamp
changes.)
Phil Dubach [Mon, 13 Jul 2009 21:47:25 +0000 (14:47 -0700)]
CTS: Add media test cases to CTS makefile
The Android Open Source Project [Wed, 15 Jul 2009 15:35:49 +0000 (08:35 -0700)]
DRC15
The Android Open Source Project [Wed, 15 Jul 2009 15:35:14 +0000 (08:35 -0700)]
Merge commit 'goog/donut' into donut-release
Doug Zongker [Tue, 14 Jul 2009 01:36:37 +0000 (18:36 -0700)]
in auto mode, generate both edify and amend scripts for full OTAs
Generate packages that can be installed by either amend or edify, so
we can remove amend support from donut.
The Android Open Source Project [Tue, 14 Jul 2009 15:35:54 +0000 (08:35 -0700)]
DRC14
The Android Open Source Project [Mon, 13 Jul 2009 15:35:59 +0000 (08:35 -0700)]
DRC13
The Android Open Source Project [Fri, 10 Jul 2009 15:35:11 +0000 (08:35 -0700)]
DRC10
The Android Open Source Project [Thu, 9 Jul 2009 15:35:23 +0000 (08:35 -0700)]
DRC09
The Android Open Source Project [Thu, 9 Jul 2009 15:34:53 +0000 (08:34 -0700)]
Merge commit 'goog/donut' into donut-release
Android (Google) Code Review [Wed, 8 Jul 2009 20:01:22 +0000 (13:01 -0700)]
Merge change 6412 into donut
* changes:
Pass compiler flags for C++ too, and add a flag that enables warnings about missing virtual destructors
Doug Zongker [Wed, 8 Jul 2009 19:09:04 +0000 (12:09 -0700)]
fix problems with new image size calculations
The build servers have GNU coreutils 5.93, where stat does not output
a newline. Ubuntu hardy has GNU coreutils 6.10, where it does.
Lacking a newline messes up the summing of the sizes. Fix
get-file-size to remove the newline if present, and make the total
calculation in assert-max-file-size more robust.
Also, if the image was too big, it was not actually making the build
fail (because /bin/false was not the last thing called). Fix that so
it does.
The Android Open Source Project [Wed, 8 Jul 2009 15:10:42 +0000 (08:10 -0700)]
DRC08
The Android Open Source Project [Wed, 8 Jul 2009 15:10:04 +0000 (08:10 -0700)]
Merge commit 'goog/donut' into donut-release
Doug Zongker [Wed, 8 Jul 2009 00:14:25 +0000 (17:14 -0700)]
fix mislaid 'if' in recovery
When I moved the building of the recovery image upwards in the file, I
moved an 'endif' surrounding it but not the matching 'if'. How did
this ever work?
Marco Nelissen [Tue, 7 Jul 2009 20:59:38 +0000 (13:59 -0700)]
Pass compiler flags for C++ too, and add a flag that enables warnings about missing virtual destructors
The Android Open Source Project [Tue, 7 Jul 2009 16:00:33 +0000 (09:00 -0700)]
DRC07
The Android Open Source Project [Mon, 6 Jul 2009 15:37:28 +0000 (08:37 -0700)]
DRC06
Doug Zongker [Thu, 2 Jul 2009 16:00:54 +0000 (09:00 -0700)]
fix image size tests
There are currently two errors in the way we test the size of built
images against the size of the partition on the hardware:
- the limits in BoardConfig.mk are set with the data size only, but
images contain an extra 64 bytes per 2048-byte page. This means we
think the partition is about 1/32 smaller than it really is.
- when we deliver a build via OTA, the system partition ends up with
one more file than when it's flashed via fastboot. That file is a
copy of the recovery image. In order to be able to OTA a build, we
need to make sure the system partition has enough room for all the
system files plus the recovery image as well.
For the kila system partition, these errors are roughly the same order
of magnitude -- about 2MB, one in the "safe" direction, one in the
"unsafe" direction. This change fixes both to give us a more accurate
notion of how close we are to the limit.
Make the build emit a warning (but not fail) when the size is within
32kb of the limit.
Also, include the values of the partition size limits in an info file
in the target-files package, so post-processing tools can use them
without parsing the BoardConfig.mk file.
Android (Google) Code Review [Thu, 2 Jul 2009 12:43:46 +0000 (05:43 -0700)]
Merge change 6059 into donut
* changes:
Also look in vendor/*/build for vendorsetup.sh
Joe Onorato [Thu, 2 Jul 2009 12:41:48 +0000 (08:41 -0400)]
Also look in vendor/*/build for vendorsetup.sh
Android (Google) Code Review [Thu, 2 Jul 2009 07:28:16 +0000 (00:28 -0700)]
Merge change 5929 into donut
* changes:
Add the JNI library of CertTool for handling certificates.
Doug Zongker [Wed, 1 Jul 2009 21:18:59 +0000 (14:18 -0700)]
remove some accidentally-submitted debug logging
Chung-yih Wang [Wed, 1 Jul 2009 16:36:44 +0000 (00:36 +0800)]
Add the JNI library of CertTool for handling certificates.
Android (Google) Code Review [Tue, 30 Jun 2009 20:53:47 +0000 (13:53 -0700)]
Merge change 4759 into donut
* changes:
Removing top tabs from PDK navigation because right now we only have one section.
Doug Zongker [Tue, 30 Jun 2009 15:16:58 +0000 (08:16 -0700)]
delete source files not in target
Incremental OTAs were not removing files from the old build that don't
exist in the new build. Fix.
Android (Google) Code Review [Mon, 29 Jun 2009 16:16:49 +0000 (09:16 -0700)]
Merge change 5553 into donut
* changes:
Change cts makefile to bundle junit.jar.
Brett Chabot [Fri, 26 Jun 2009 21:41:30 +0000 (14:41 -0700)]
Change cts makefile to bundle junit.jar.
Doug Zongker [Wed, 24 Jun 2009 00:40:35 +0000 (17:40 -0700)]
make building recovery and boot images optional
If the source target-files zip omits files needed to build the
recovery and/or boot images, leave them out instead of dying with an
error. This lets build like "generic-userdebug" work.
Android (Google) Code Review [Tue, 23 Jun 2009 23:32:18 +0000 (16:32 -0700)]
Merge change 5150 into donut
* changes:
don't fail if no required bootloaders are defined
Doug Zongker [Tue, 23 Jun 2009 23:27:38 +0000 (16:27 -0700)]
don't fail if no required bootloaders are defined
Generic targets don't have a list of defined bootloaders. Instead of
failing to build an OTA package, just omit the constraint.
Fix bad references to ExternalError.
Android (Google) Code Review [Tue, 23 Jun 2009 01:24:30 +0000 (18:24 -0700)]
Merge change 5017 into donut
* changes:
Don't install afar and dexpreopt-wrapper on system while building tests.
Joe Onorato [Tue, 23 Jun 2009 01:15:38 +0000 (18:15 -0700)]
Java 1.5 is required. Enforce it.
Sriram Raman [Tue, 23 Jun 2009 00:16:37 +0000 (17:16 -0700)]
Don't install afar and dexpreopt-wrapper on system while building tests.
David Warren [Fri, 19 Jun 2009 17:14:37 +0000 (10:14 -0700)]
Removing top tabs from PDK navigation because right now we only have one section.
Android (Google) Code Review [Thu, 18 Jun 2009 20:52:57 +0000 (13:52 -0700)]
Merge change 4654 into donut
* changes:
Put the java source file list files somewhere where they don't conflict with the .class files that are getting zipped up, and delete them when we're done with them.
Doug Zongker [Thu, 18 Jun 2009 15:43:44 +0000 (08:43 -0700)]
generate OTA packages that use edify
Split the details of generating script syntax into a generator class:
one for amend (whose output should be equivalent to the current
output), and one for edify.
Fix 'otatools' build rule to build imgdiff.
Joe Onorato [Thu, 18 Jun 2009 20:11:58 +0000 (13:11 -0700)]
Put the java source file list files somewhere where they don't
conflict with the .class files that are getting zipped up, and
delete them when we're done with them.
Doug Zongker [Thu, 18 Jun 2009 15:35:12 +0000 (08:35 -0700)]
fix releasetools for non-linux architectures
The ota and img building scripts contained some hardcoded 'linux-x86'
paths. Remove and replace with a slightly redefined -p option.
Modify Makefile to pass correct -p when building.
Sriram Raman [Thu, 18 Jun 2009 00:56:33 +0000 (17:56 -0700)]
Fix the build name. Previously "DONUT-BURGER"; Now "Donut"
Android (Google) Code Review [Thu, 18 Jun 2009 00:50:52 +0000 (17:50 -0700)]
Merge change 4549 into donut
* changes:
Merge commit '
b610c08b9605c31c1e5b851009104972e3822a3c' into Donut
Xavier Ducrohet [Thu, 18 Jun 2009 00:30:02 +0000 (17:30 -0700)]
Merge commit '
b610c08b9605c31c1e5b851009104972e3822a3c' into Donut
Add OpenWnn to the SDk builds.
Android (Google) Code Review [Thu, 18 Jun 2009 00:22:15 +0000 (17:22 -0700)]
Merge change 4541 into donut
* changes:
remember in the target-files package what version of the API recovery uses
Doug Zongker [Thu, 18 Jun 2009 00:09:40 +0000 (17:09 -0700)]
remember in the target-files package what version of the API recovery uses
Xavier Ducrohet [Wed, 17 Jun 2009 23:59:26 +0000 (16:59 -0700)]
AI 149924: Add OpenWnn to the SDK builds.
Automated import of CL 149924
Android (Google) Code Review [Wed, 17 Jun 2009 17:00:30 +0000 (10:00 -0700)]
Merge change 4089 into donut
* changes:
- Changed page title to show "Android open source" - Changed Tab name to "Dev Guide"
Doug Zongker [Tue, 16 Jun 2009 04:25:32 +0000 (21:25 -0700)]
explicitly list SDK image dependencies
The SDK build used to have the update package as a dependency, in
order to force various image files to be built. Now the the update
package can't be built for sdk-eng, list the individual images needed
instead.
Doug Zongker [Tue, 16 Jun 2009 01:56:51 +0000 (18:56 -0700)]
don't build ota or update packages for sdk or sim
Doug Zongker [Mon, 15 Jun 2009 22:36:16 +0000 (15:36 -0700)]
fix building of otacerts.zip
Was using a variable which was only defined inside the rule, outside
the rule. Change to use the correct variable.
Android (Google) Code Review [Mon, 15 Jun 2009 22:08:35 +0000 (15:08 -0700)]
Merge change 4232 into donut
* changes:
use releasetools scripts to build update and OTA packages
Doug Zongker [Mon, 15 Jun 2009 21:31:53 +0000 (14:31 -0700)]
fix archive files being created with perms 000
In python 2.5 and earlier, ZipFile.writestr(filename, data) results in
the file being added to the archive with permissions 000. (See
http://svn.python.org/view?view=rev&revision=65235.) Work around this
by creating a ZipInfo object and setting the permissions explicitly.
Doug Zongker [Mon, 15 Jun 2009 21:30:14 +0000 (14:30 -0700)]
use releasetools scripts to build update and OTA packages
Use the python scripts in build/tools/releasetools (that are used to
build signed releases) to build packages within the Makefile as well.
Scott Main [Mon, 15 Jun 2009 03:45:16 +0000 (20:45 -0700)]
am
5eb58327: AI 149839: make the home page\'s announcement block expandable... primarily, this is to handle various lengths of text due to translations, but also allows us to be more flexible WRT the content for the top section.
Merge commit '
5eb5832751cad87021b9f1ad77f1c26952030884' into donut
* commit '
5eb5832751cad87021b9f1ad77f1c26952030884':
AI 149839: make the home page's announcement block expandable...
Android (Google) Code Review [Sat, 13 Jun 2009 08:43:22 +0000 (01:43 -0700)]
Merge change 4054 into donut
* changes:
Add VpnServices to PRODUCT_PACKAGES.
Doug Zongker [Fri, 12 Jun 2009 23:57:08 +0000 (16:57 -0700)]
build 'updater' binary for use in OTA packages
Scott Main [Fri, 12 Jun 2009 21:02:40 +0000 (14:02 -0700)]
AI 149839: make the home page's announcement block expandable...
primarily, this is to handle various lengths of text due to translations,
but also allows us to be more flexible WRT the content for the top section.
Automated import of CL 149839
Gaurav Mathur [Fri, 12 Jun 2009 20:47:16 +0000 (13:47 -0700)]
- Changed page title to show "Android open source"
- Changed Tab name to "Dev Guide"
Jason Sams [Thu, 11 Jun 2009 00:37:28 +0000 (17:37 -0700)]
joeo here. This localize command is unused and causes that execve error.
Android (Google) Code Review [Fri, 12 Jun 2009 16:45:14 +0000 (09:45 -0700)]
Merge change 4057 into donut
* changes:
make applypatch into a static library
Doug Zongker [Fri, 12 Jun 2009 16:42:43 +0000 (09:42 -0700)]
make applypatch into a static library
Turn the bulk of applypatch into a static library so it can be used
from the updater. Also build it as a standalone executable for use by
the existing OTA mechanism.
Hung-ying Tyan [Fri, 12 Jun 2009 15:09:46 +0000 (23:09 +0800)]
Add VpnServices to PRODUCT_PACKAGES.
Android (Google) Code Review [Fri, 12 Jun 2009 02:25:14 +0000 (19:25 -0700)]
Merge change 3459 into donut
* changes:
make signapk strip other signatures
Doug Zongker [Mon, 8 Jun 2009 17:46:55 +0000 (10:46 -0700)]
make signapk strip other signatures
Change signapk to not propagate other signatures to the output
archive. Multiple signatures seem to confuse the package manager, as
we saw with Maps, and other partners are checking in prebuilt APKs for
google experience devices signed with random other things.
Chung-yih Wang [Wed, 10 Jun 2009 15:08:03 +0000 (23:08 +0800)]
Add keystore in the pathmap of frameworks base.
Jean-Michel Trivi [Thu, 11 Jun 2009 17:12:28 +0000 (10:12 -0700)]
Removing "tts" from the list of directories containing source code
under frameworks/base. This directory doesn't exist anymore after
change 3730 which moved the TTS code to frameworks/base/packages/TtsService/.