Commit Graph

368 Commits

Author SHA1 Message Date
The Android Open Source Project
79e2f4ceb3 DRC22 2009-07-22 08:36:11 -07:00
The Android Open Source Project
85645a7164 Merge commit 'remotes/goog/donut' into donut-release 2009-07-22 08:35:56 -07:00
Jesse Wilson
289d80eee4 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
2009-07-21 18:09:39 -07:00
Android (Google) Code Review
70a76816e5 Merge change 7944 into donut
* changes:
  better patching for zip files
2009-07-21 12:07:35 -07:00
Scott Main
5db40c6db7 AI 150594: change the homepage markup and styles to allow variable height in
the carousel bulletin items
  also move the IO announcement into the carousel and add an ADC2 announcement
  ALSO change the carousel script to write all bulletins to the DOM right away and show/hide them, instead of reading from the JSON and writing to the DOM each time on the fly

Automated import of CL 150594
2009-07-21 10:52:11 -07:00
The Android Open Source Project
da8262ff3d DRC21 2009-07-21 08:35:09 -07:00
The Android Open Source Project
7bda3a0ef1 Merge commit 'remotes/goog/donut' into donut-release 2009-07-21 08:35:00 -07:00
Doug Zongker
6b2bb3d96d 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.
2009-07-20 14:45:29 -07:00
Romain Guy
476f46bb56 Add GestureBuilder to SDK build. 2009-07-20 11:22:08 -07:00
The Android Open Source Project
aa6ccda99e DRC20 2009-07-20 08:34:58 -07:00
The Android Open Source Project
8fe4cc9d82 Merge commit 'remotes/goog/donut' into donut-release 2009-07-20 08:34:49 -07:00
Android (Google) Code Review
6ef19dadbf Merge change 7040 into donut
* changes:
  CTS: Add media test cases to CTS makefile
2009-07-17 15:56:25 -07:00
The Android Open Source Project
14b072c7a1 DRC17C 2009-07-17 14:50:37 -07:00
The Android Open Source Project
50b59d1859 Merge commit 'remotes/goog/donut' into donut-release 2009-07-17 14:50:28 -07:00
Joe Onorato
e334d255dc 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!
2009-07-17 16:48:15 -04:00
android-build SharedAccount
728eeddd9c DRC17B 2009-07-17 13:01:01 -07:00
The Android Open Source Project
179d46fcd5 DRC17 2009-07-17 08:35:34 -07:00
The Android Open Source Project
68fe37b1d8 Merge commit 'remotes/goog/donut' into donut-release 2009-07-17 08:35:08 -07:00
Android (Google) Code Review
ccf9c1da86 Merge change 7479 into donut
* changes:
  handle identical gzip chunks better
2009-07-16 13:30:16 -07:00
The Android Open Source Project
d6c37edbc1 DRC16 2009-07-16 08:35:50 -07:00
The Android Open Source Project
8739a38b32 Merge commit 'goog/donut' into donut-release 2009-07-16 08:35:22 -07:00
Doug Zongker
3b72436dbe 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.
2009-07-15 17:54:30 -07:00
Dirk Dougherty
efdcda4f90 AI 150537: Add support for language-specific tabs in android developer's blog. Pass the current language pref as an hl=lang url query.
BUG=1910893

Automated import of CL 150537
2009-07-15 16:41:48 -07:00
Dirk Dougherty
d8cfce0ddf AI 150536: Change the formatting of sdk redirect pages so that they are not language-specific.
BUG=1790234

Automated import of CL 150536
2009-07-15 16:37:21 -07:00
Doug Zongker
a237874ccf 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.)
2009-07-15 15:43:39 -07:00
Scott Main
3ba448c7f0 AI 150535: add the Videos page to the site
Automated import of CL 150535
2009-07-15 15:38:17 -07:00
Phil Dubach
571d0f299f CTS: Add media test cases to CTS makefile 2009-07-15 11:11:13 -07:00
The Android Open Source Project
eea324d111 DRC15 2009-07-15 08:35:49 -07:00
The Android Open Source Project
612b67d55e Merge commit 'goog/donut' into donut-release 2009-07-15 08:35:14 -07:00
Doug Zongker
030614740c 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.
2009-07-14 12:40:26 -07:00
The Android Open Source Project
73e23ddad9 DRC14 2009-07-14 08:35:54 -07:00
Phil Dubach
db3b6e8322 AI 150470: CTS: Fix naming for extra permission tests and include them in makefile
Automated import of CL 150470
2009-07-13 10:49:22 -07:00
The Android Open Source Project
9db346a9d6 DRC13 2009-07-13 08:35:59 -07:00
The Android Open Source Project
0dea241c20 DRC10 2009-07-10 08:35:11 -07:00
Scott Main
33beffba52 AI 150428: update the jquery library to version 1.3.2.
the incentive is to utilize an improvement made in the :hidden selector (for the videos page);
  this update should also hopefully improve some performance, but it is otherwise the same
  as before and this file still includes the core library, plus the UI core and resizable libraries

Automated import of CL 150428
2009-07-09 16:27:06 -07:00
The Android Open Source Project
a4b1dca35f DRC09 2009-07-09 08:35:23 -07:00
The Android Open Source Project
88dd548dc5 Merge commit 'goog/donut' into donut-release 2009-07-09 08:34:53 -07:00
Scott Main
4cb0b458b0 AI 150398: fix the sdk build break
BUG=1790234

Automated import of CL 150398
2009-07-08 15:14:05 -07:00
Scott Main
8ebeb52cb0 AI 150393: edit the reference's navtree highlighting logic to handle intl/ directories
BUG=1790234

Automated import of CL 150393
2009-07-08 14:45:58 -07:00
Dirk Dougherty
c13d04594c AI 150389: Fix handling of cookie writes for intl pages.
BUG=1790234

Automated import of CL 150389
2009-07-08 14:39:31 -07:00
Android (Google) Code Review
e41accf68e Merge change 6412 into donut
* changes:
  Pass compiler flags for C++ too, and add a flag that enables warnings about missing virtual destructors
2009-07-08 13:01:22 -07:00
Doug Zongker
742fa575d0 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.
2009-07-08 12:09:04 -07:00
The Android Open Source Project
13cca00b99 DRC08 2009-07-08 08:10:42 -07:00
The Android Open Source Project
cd29dc12ca Merge commit 'goog/donut' into donut-release 2009-07-08 08:10:04 -07:00
Dirk Dougherty
4405a23258 AI 150370: Add localized content infrastructure in droiddoc templates, javascript, and css. DocFile.java - instead of FileReader, use InputStreamReader with UTF-8 encoding. ClearPage.java - add UTF-8 output encoding to FileOutputStreamWriter. Note: this change also up-integrates gerrit 2146 (smain).
BUG=1910893

Automated import of CL 150370
2009-07-07 17:43:27 -07:00
Doug Zongker
8cebf1ff78 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?
2009-07-07 17:14:25 -07:00
Marco Nelissen
79005e03cc Pass compiler flags for C++ too, and add a flag that enables warnings about missing virtual destructors 2009-07-07 13:59:38 -07:00
The Android Open Source Project
c94545815c DRC07 2009-07-07 09:00:33 -07:00
The Android Open Source Project
9c1df5a4d5 DRC06 2009-07-06 08:37:28 -07:00
Doug Zongker
4647f12a4f 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.
2009-07-02 12:21:43 -07:00