OSDN Git Service
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
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
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
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.
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
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 (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
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
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.
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.
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
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/.
Android (Google) Code Review [Thu, 11 Jun 2009 16:44:03 +0000 (09:44 -0700)]
Merge change 3862 into donut
* changes:
Adding TtsService and PicoTts so they get included.
Cary Clark [Thu, 11 Jun 2009 15:03:45 +0000 (11:03 -0400)]
do not merge : add clean step for webkit security fix
Scott Main [Thu, 11 Jun 2009 07:01:30 +0000 (00:01 -0700)]
am
88ee3f4e: AI 149729: fix search functionatilty for offline docs... the file references weren\'t using the local root. BUG=
1909300
Merge commit '
88ee3f4e032ba9fd0377b80b916dcc39b2ce1bf1' into donut
* commit '
88ee3f4e032ba9fd0377b80b916dcc39b2ce1bf1':
AI 149729: fix search functionatilty for offline docs...
Scott Main [Thu, 11 Jun 2009 06:40:24 +0000 (23:40 -0700)]
AI 149729: fix search functionatilty for offline docs...
the file references weren't using the local root.
BUG=
1909300
Automated import of CL 149729
Charles Chen [Thu, 11 Jun 2009 03:16:17 +0000 (20:16 -0700)]
Adding TtsService and PicoTts so they get included.
Sriram Raman [Tue, 9 Jun 2009 22:08:29 +0000 (15:08 -0700)]
Fix the usual build hanging issue by using -o (overwrite without prompting) option with unzip
This should fix the common problem when googlelogin-client and google-framework are both included
Satish Sampath [Fri, 5 Jun 2009 22:04:46 +0000 (23:04 +0100)]
Include WebSearchProvider in all builds.
WebSearchProvider is an open implementation of fetching suggestions and
launching searches to third party web search engines. This should be
available along with GoogleSearch in all builds which include the
GoogleSearch package.
Tammo Spalink [Tue, 9 Jun 2009 05:45:20 +0000 (13:45 +0800)]
fix build -- aidl was not finding vpn imports
Android (Google) Code Review [Fri, 5 Jun 2009 00:29:56 +0000 (17:29 -0700)]
Merge change 3237 into donut
* changes:
Add archquery to the windows make
Raphael [Thu, 4 Jun 2009 22:21:49 +0000 (15:21 -0700)]
Add archquery to the windows make
Android (Google) Code Review [Thu, 4 Jun 2009 23:32:55 +0000 (16:32 -0700)]
Merge change 3248 into donut
* changes:
clean up old libcamera and libqcamera
Brian Swetland [Thu, 4 Jun 2009 21:09:04 +0000 (14:09 -0700)]
remove mkdirs/etc which caused us to depend on libutils
Depending on libutils causes a build layering violation,
requiring frameworks/base/... for libhost...
Signed-off-by: Brian Swetland <swetland@google.com>
Iliyan Malchev [Wed, 27 May 2009 01:20:54 +0000 (18:20 -0700)]
clean up old libcamera and libqcamera
Signed-off-by: Iliyan Malchev <malchev@google.com>
Android (Google) Code Review [Wed, 3 Jun 2009 06:20:15 +0000 (23:20 -0700)]
Merge change 3004 into donut
* changes:
fix the SDK build for real this time. the missing macros weren't declared in the proper order last time.
Scott Main [Wed, 3 Jun 2009 03:58:23 +0000 (20:58 -0700)]
fix the SDK build for real this time.
the missing macros weren't declared in the proper order last time.
Android (Google) Code Review [Wed, 3 Jun 2009 00:41:30 +0000 (17:41 -0700)]
Merge change 2951 into donut
* changes:
support incremental updates of boot image
Android (Google) Code Review [Wed, 3 Jun 2009 00:38:23 +0000 (17:38 -0700)]
Merge change 2982 into donut
* changes:
fix build break by reincluding empty method calls that were moved to macros.cs
Scott Main [Tue, 2 Jun 2009 22:41:16 +0000 (15:41 -0700)]
fix build break by reincluding empty method calls
that were moved to macros.cs
Doug Zongker [Tue, 2 Jun 2009 20:38:17 +0000 (13:38 -0700)]
support incremental updates of boot image
Modify applypatch to be able to write MTD partitions as well as read
them. Make applypatch save a backup copy of the contents of an MTD
partition it reads in cache, to be used in case an update is
interrupted while writing back to MTD. Modify OTA package creation
script to send boot image updates in patch form.
Android (Google) Code Review [Tue, 2 Jun 2009 18:36:55 +0000 (11:36 -0700)]
Merge change 2146 into donut
* changes:
Implements the basic structure for providing localized documentation; the site tabs are now in a separate file to ease the translation process, the language selection menu has been added to the header, scripts have been added to dynamically switch the language of the site tabs and dev guide side navigation and save the language preference in a browser cookie, and some of the functions in macro.cs have moved into customization.cs.
Scott Main [Thu, 21 May 2009 00:16:35 +0000 (17:16 -0700)]
Implements the basic structure for providing localized documentation;
the site tabs are now in a separate file to ease the translation process,
the language selection menu has been added to the header,
scripts have been added to dynamically switch the language of the
site tabs and dev guide side navigation and save the language
preference in a browser cookie,
and some of the functions in macro.cs have moved into customization.cs.
patch 2:
revised the logic for changing tab and nav languages so that,
in the event that a SPAN node exists for the newly selected language
but the translation has not actually been put there, it will not be selected
and the previously selected language will remain for that node.
patch 3:
revised the logic introduced in patch 2, which, when loading a new page
would actually reveal all languages if the selected language had no
translation. Now, we must loop through each occurance and check whether
a translation is available. If not, then we hide it and show English.
patch 4:
small error fix
Doug Zongker [Fri, 29 May 2009 18:41:21 +0000 (11:41 -0700)]
add support for reading MTD partitions to applypatch
Allow an MTD partition so serve as a source "file" in applypatch,
using a magically-formatted 'filename' that specifies the partition
name, size of data to read, and expected hash. Build incremental OTAs
that update the recovery image via a patch.
Android (Google) Code Review [Mon, 1 Jun 2009 18:59:32 +0000 (11:59 -0700)]
Merge change 2717 into donut
* changes:
build images with minigzip instead of system gzip
Doug Zongker [Fri, 29 May 2009 16:35:56 +0000 (09:35 -0700)]
build images with minigzip instead of system gzip
Use minigzip (from the zlib distribution, built in the android tree)
to compress images rather than the system install of gzip. This will
let us send useful patches for images since we can make zlib available
in the applypatch program.
Android (Google) Code Review [Fri, 29 May 2009 04:20:05 +0000 (21:20 -0700)]
Merge change 2594 into donut
* changes:
new image diffing tool and support for image patches in applypatch
Doug Zongker [Thu, 28 May 2009 01:24:03 +0000 (18:24 -0700)]
new image diffing tool and support for image patches in applypatch
Images (like boot and recovery) consist of large sections of gzipped
data interspersed with other data. To do effective binary patching of
these files, we need to apply patches to the gzipped parts in
'uncompressed space', that is, we decompress, apply a patch, then
recompress to obtain the desired output.
This change defines a new format with these patches, which is
basically a description of how the source and target files are to be
divided up into chunks and a bsdiff patch for each chunk. We add a
new host executable, "imgdiff", for generating these patches from
source and target images, and add support in applypatch for
recognizing this format and applying it on the device.
Dima Zavin [Thu, 28 May 2009 02:41:07 +0000 (19:41 -0700)]
core: Add support for static libraries to include other whole static libs.
Currently, if LOCAL_WHOLE_STATIC_LIBRARIES is specified, its values is
ignored. This patch addresses this limitation and works as follows:
For every whole lib specified, it extracts the archive into a sub-directory
under the target lib's intermediate, and then seeds the initial target
archive with all the members.
Signed-off-by: Dima Zavin <dima@android.com>
Doug Zongker [Wed, 27 May 2009 16:14:25 +0000 (09:14 -0700)]
use minigzip instead of system gzip in the build
Use zlib's minigzip utility, built as part of our source tree, instead of
whatever installation of GNU gzip happens to be on the user's machine.
Using zlib's deflater, which is nicely available as a library (unlike
GNU gzip's deflater) will ultimately let us do binary patches to the
boot and recovery images.