Commit graph

194 commits

Author SHA1 Message Date
Doug Zongker
32da27a9ff 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.
2009-05-29 11:42:57 -07:00
Doug Zongker
02d444b07e 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.
2009-05-28 21:18:46 -07:00
Doug Zongker
8b70e8c657 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.
2009-05-27 14:27:45 -07:00
Dirk Dougherty
5d1b973157 am 29eafdea: AI 149251: Add 1.x Icon Guidelines doc and template pack. BUG=1790234
Merge commit '29eafdea34a5239b25fe82e5cd6debf1a5157c6b' into donut

* commit '29eafdea34a5239b25fe82e5cd6debf1a5157c6b':
  AI 149251: Add 1.x Icon Guidelines doc and template pack.
2009-05-26 10:02:55 -07:00
Dirk Dougherty
29eafdea34 AI 149251: Add 1.x Icon Guidelines doc and template pack.
BUG=1790234

Automated import of CL 149251
2009-05-26 08:40:40 -07:00
Android (Google) Code Review
866a6d399e Merge change 1642 into donut
* changes:
  Allow the build system to build Objective-C sources.
2009-05-25 02:53:19 -07:00
Android (Google) Code Review
3026e96dce Merge change 2245 into donut
* changes:
  Define TARGET_CPU_ABI for finding native code in .apks
2009-05-22 16:53:05 -07:00
Android (Google) Code Review
6941562ed3 Merge change 2288 into donut
* changes:
  Adding in the path the new android.tts package.
2009-05-22 15:59:15 -07:00
Doug Zongker
8ce7c25e90 improve password entry for signing keys
Allow the user to set ANDROID_PW_FILE to the name of a file for
storing password keys.  When the tools need additional passwords, they
will rewrite this file and invoke the user's editor for the new
passwords to be added.  This allows passwords to be reused across
invocations of the signing tools, without making the user reenter them
every time.

Paranoid users can use a file stored in a ramdisk, or not use this
feature at all (the code will prompt for passwords in the ordinary way
when ANDROID_PW_FILE is not set).
2009-05-22 15:31:08 -07:00
Dianne Hackborn
ecc70d705a Define TARGET_CPU_ABI for finding native code in .apks 2009-05-22 14:54:07 -07:00
Jean-Michel Trivi
e1da30426f Adding in the path the new android.tts package. 2009-05-21 18:44:30 -07:00
Gaurav Mathur
f326d14362 Modified the image and index URLs to point to guide/index.html now 2009-05-21 13:35:47 -07:00
Android (Google) Code Review
1028c4f040 Merge change 2184 into donut
* changes:
  cleanspec.mk: Clean anroid.location intermediates to deal with ILocationCollector removal.
2009-05-21 08:52:44 -07:00
Mike Lockwood
21917335cf cleanspec.mk: Clean anroid.location intermediates to deal with ILocationCollector removal.
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-05-21 11:35:36 -04:00
Mike Lockwood
051672bc6c Update the error message that occurs when current.xml needs regenerating.
We are no longer using p4 for source control and there are no longer OWNERS files.

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-05-21 09:27:39 -04:00
Doug Zongker
eb338efd2e make sure package keys are consistent with shared users
All APKs that want to share a given user id must be signed with the
same key.  Look inside each APK for what (if any) shared user id it
requests, and error out if any with the same shared user are being
signed with different keys.
2009-05-20 16:50:49 -07:00
Android (Google) Code Review
87fc0fdc53 Merge change 1738 into donut
* changes:
  add -e option to add extra commands to OTA script
2009-05-20 10:01:00 -07:00
David 'Digit' Turner
5dbb529de9 Allow the build system to build Objective-C sources.
This is needed to move our modified SDL sources under external/qemu/distrib.
As per joeo's request, this change also enables target Objective-C compilation, letting it error at build time.
2009-05-20 11:29:15 +02:00
Android (Google) Code Review
2223e3c270 Merge change 1797 into donut
* changes:
  Remove tcpdump from the old location (it's now in system/xbin)
2009-05-18 17:31:07 -07:00
Dianne Hackborn
9bd5404a9d Use new aapt feature to add default version info to .apks. 2009-05-18 12:41:45 -07:00
Dan Egnor
44aadc7733 Remove tcpdump from the old location (it's now in system/xbin) 2009-05-15 13:05:52 -07:00
Joe Onorato
eefd0212f1 Print the platform version and version codename in the big build header. 2009-05-15 09:10:51 -04:00
Doug Zongker
1c390a2aa9 add -e option to add extra commands to OTA script 2009-05-14 19:06:36 -07:00
Gaurav Mathur
cb08f15bf4 am ee6df9b4: 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 'ee6df9b4fe6e1a7431ff77d81fb8c164ee99f31d' into donut

* commit 'ee6df9b4fe6e1a7431ff77d81fb8c164ee99f31d':
  AI 148870: Pinging Ryan for Dr No approval.
2009-05-14 16:18:20 -07:00
Gaurav Mathur
ee6df9b4fe 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
2009-05-14 16:02:22 -07:00
Doug Kwan
bd215ed974 Rollback to gcc-4.2.1 2009-05-14 02:17:32 -07:00
Scott Main
cdc13d717b am 9b54792: AI 148820: adjust the "nolist" class to add bottom-spacing a
Merge commit '9b54792d7044125126a9765d1baf3ff0e59efcb4' into donut

* commit '9b54792d7044125126a9765d1baf3ff0e59efcb4':
  AI 148820: adjust the "nolist" class to add bottom-spacing and refine list item padding;
2009-05-13 17:52:28 -07:00
Scott Main
9b54792d70 AI 148820: adjust the "nolist" class to add bottom-spacing and refine list item padding;
add vertical padding to quickview list items so that items are distinguishable when the text wraps-around the line
  BUG=1790235

Automated import of CL 148820
2009-05-13 17:50:33 -07:00
Android (Google) Code Review
3de1fe6270 Merge change 1529 into donut
* changes:
  Fix makefile to be compatible with findbugs v 1.3.8 	modified:   core/java.mk
2009-05-13 14:06:28 -07:00
Andrew Stadler
cef9ed98ac Fix makefile to be compatible with findbugs v 1.3.8
modified:   core/java.mk
2009-05-13 00:44:59 -07:00
Dirk Dougherty
e9a96dd92c am 4e4c919: AI 148759: Add download page for NDK 1.5 r1.
Merge commit '4e4c919539c5fb2f790143dde9c318501457ce43' into donut

* commit '4e4c919539c5fb2f790143dde9c318501457ce43':
  AI 148759: Add download page for NDK 1.5 r1.
2009-05-12 18:49:27 -07:00
Dirk Dougherty
4e4c919539 AI 148759: Add download page for NDK 1.5 r1.
BUG=1790234

Automated import of CL 148759
2009-05-12 15:32:35 -07:00
Phil Dubach
233728de06 am 9e35a86: AI 148675: CTS: Copy only the \'startcts\' script into the cts
Merge commit '9e35a86b833c8bd520c9f889be3f2859a5ed7b45' into donut

* commit '9e35a86b833c8bd520c9f889be3f2859a5ed7b45':
  AI 148675: CTS: Copy only the 'startcts' script into the cts distribution
2009-05-11 11:03:44 -07:00
Phil Dubach
9e35a86b83 AI 148675: CTS: Copy only the 'startcts' script into the cts distribution
Before CL 148645, 'startcts' called the 'cts' script. This is no longer the
  case, so we want to exclude the 'cts' script from the distribution to avoid
  confusion. The 'cts' script is only used when running cts directly on a
  fully built source tree.

Automated import of CL 148675
2009-05-11 11:00:16 -07:00
Android (Google) Code Review
e27db38fdd Merge change 1291 into donut
* changes:
  allow separate source and target files for applypatch
2009-05-08 16:03:49 -07:00
Doug Zongker
ef85ea6086 allow separate source and target files for applypatch
Allow applypatch to use different filenames for the source and target.
(Using the same filename is still fine; in fact the target filename
can be specified as "-" to mean "same as the source file.)  This will
allow us to still use diffs in the case of files being renamed, and
will allow us to use diffs for the boot and recovery images.
2009-05-08 15:43:26 -07:00
Dianne Hackborn
9537884b0d Add new property for dev codename, update version to Donut. 2009-05-08 13:03:08 -07:00
Dima Zavin
6ea3b8856d core: Recovery image should have the custom kernel base as well.
Signed-off-by: Dima Zavin <dima@android.com>
2009-05-07 21:10:41 -07:00
Dima Zavin
1e0847c2fc core: Allow the board config to specify the kernel base address for mkbootimg
Signed-off-by: Dima Zavin <dima@android.com>
2009-05-07 19:50:51 -07:00
Jorg Pleumann
1f61dc3e19 am 6178820: AI 148430: Adding a new CTS test runner that is basically
Merge commit '6178820340ccca2656fab0953bbe77da2e3e4bb7' into donut

* commit '6178820340ccca2656fab0953bbe77da2e3e4bb7':
  AI 148430: Adding a new CTS test runner that is basically
2009-05-07 01:36:23 -07:00
Jorg Pleumann
6178820340 AI 148430: Adding a new CTS test runner that is basically
a copy of the old one, but resides in android/cts
  and is built and installed as part of the CTS.
  This makes sure we always have the correct test
  runner on a device, so we should see the various
  improvements also on off-the-shelf Cupcake phones.
  BUG=1537738

Automated import of CL 148430
2009-05-07 01:33:14 -07:00
San Mehat
6ffb159a8b prelink: Add libsysutils to prelink map
Signed-off-by: San Mehat <san@google.com>
2009-05-06 11:24:13 -07:00
Android (Google) Code Review
a3896fbc15 Merge change 1001 into donut
* changes:
  Change runtest env shortcut to point to runtest.py
2009-05-06 10:30:41 -07:00
Dirk Dougherty
cfb082006b am 40a06d8: AI 148314: Remove droiddoc code that applies the deprecated
Merge commit '40a06d89406a3e928a5e0d41a3077f59d8f5345d' into donut

* commit '40a06d89406a3e928a5e0d41a3077f59d8f5345d':
  AI 148314: Remove droiddoc code that applies the deprecated state of superclasses to subclasses. This change was originally made in Gerrit 7655. https://review.source.android.com/Gerrit#change,7655
2009-05-05 17:42:41 -07:00
Brett Chabot
3ec9f33d42 Change runtest env shortcut to point to runtest.py 2009-05-05 15:32:46 -07:00
Dirk Dougherty
40a06d8940 AI 148314: Remove droiddoc code that applies the deprecated state of superclasses to subclasses. This change was originally made in Gerrit 7655. https://review.source.android.com/Gerrit#change,7655
BUG=1827730

Automated import of CL 148314
2009-05-05 13:41:56 -07:00
Dave Bort
952824843b core: Don't debug native modules when TARGET_BUILD_TYPE==debug
Don't make the simulator default to debug mode.

Remove all global "debug" {C,CPP}FLAGS, which are no longer used.
2009-05-04 18:12:32 -07:00
Android (Google) Code Review
6062815e2e Merge change 859 into donut
* changes:
  Change 77 from git master branch: change the prelink-linux-arm.map to include OC 2.0 new shared libs - remove redundant share lib from the map - remove 2way share lib from the map
2009-05-01 14:08:59 -07:00
James Dong
2d2a9acac2 Change 77 from git master branch:
change the prelink-linux-arm.map to include OC 2.0 new shared libs
- remove redundant share lib from the map
- remove 2way share lib from the map
2009-05-01 11:34:17 -07:00
Dirk Dougherty
a19801e060 am c521e26: AI 148186: Add support for using custom pdk templates. The m
Merge commit 'c521e266406d0393313e17ba29ae519315a5cf6e' into donut

* commit 'c521e266406d0393313e17ba29ae519315a5cf6e':
  AI 148186: Add support for using custom pdk templates. The make rule for pdk docs should set LOCAL_DROIDDOC_OPTIONS += -hdf android.whichdoc online-pdk
2009-05-01 11:20:14 -07:00