OSDN Git Service
The Android Open Source Project [Mon, 27 Jul 2009 15:38:04 +0000 (08:38 -0700)]
DRC27
The Android Open Source Project [Mon, 27 Jul 2009 15:37:49 +0000 (08:37 -0700)]
Merge commit 'remotes/goog/donut' into donut-release
Dirk Dougherty [Sat, 25 Jul 2009 03:31:36 +0000 (20:31 -0700)]
Merge commit '
5db40c6db73db3f4433dd3456107efb4468a4a99' into manualmergeDroiddoc
Dirk Dougherty [Sat, 25 Jul 2009 03:30:53 +0000 (20:30 -0700)]
Merge commit '
db3b6e832261e7b9a09e1c646f7963b839d954cc' into manualmergeDroiddoc
Scott Main [Thu, 9 Jul 2009 23:27:06 +0000 (16:27 -0700)]
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
Scott Main [Wed, 8 Jul 2009 21:45:58 +0000 (14:45 -0700)]
AI 150393: edit the reference's navtree highlighting logic to handle intl/ directories
BUG=
1790234
Automated import of CL 150393
Dirk Dougherty [Wed, 8 Jul 2009 21:39:31 +0000 (14:39 -0700)]
AI 150389: Fix handling of cookie writes for intl pages.
BUG=
1790234
Automated import of CL 150389
Dirk Dougherty [Wed, 8 Jul 2009 00:43:27 +0000 (17:43 -0700)]
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
Android (Google) Code Review [Sat, 25 Jul 2009 00:40:27 +0000 (17:40 -0700)]
Merge change 8340 into donut
* changes:
Merge commit '
f9f41d0dfdac6deb819f0cc0cb0270f504dbd4ed' into manualmergeDroiddoc
Android (Google) Code Review [Sat, 25 Jul 2009 00:40:17 +0000 (17:40 -0700)]
Merge change 8339 into donut
* changes:
Merge commit '
e6be85f5eb1438636e436be4162dd8f54a1192bf' into manualmergeDroiddoc
Android (Google) Code Review [Fri, 24 Jul 2009 23:04:56 +0000 (16:04 -0700)]
Merge change 3175 into donut
* changes:
page load perfomance improvements... remove the lists.js file from the <head>, which slows down page load a lot (over 300K), and instead load it dynamically on page load. also remove navtree_data.js from the <head>, which also slows the load and is only used in the reference when in tree view. This file is now loaded during the initialization of the nav tree.
Sriram Raman [Fri, 24 Jul 2009 20:52:32 +0000 (13:52 -0700)]
Make the recovery.img construction (from boot.img) logic depend on whether recovery.img was installed.
Don't have to re-specify exclusion list for the patch file construction.
Android (Google) Code Review [Fri, 24 Jul 2009 19:35:21 +0000 (12:35 -0700)]
Merge change 8517 into donut
* changes:
Fix generic-userdebug build (don't build OTA for this target).
Sriram Raman [Fri, 24 Jul 2009 19:02:28 +0000 (12:02 -0700)]
Fix generic-userdebug build (don't build OTA for this target).
James Dong [Fri, 24 Jul 2009 03:32:37 +0000 (20:32 -0700)]
DO NOT MERGE TO MASTER
remove opencore avc encoder DSO
bug
2001900
The Android Open Source Project [Fri, 24 Jul 2009 16:12:18 +0000 (09:12 -0700)]
DRC24
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.)
Dirk Dougherty [Thu, 23 Jul 2009 02:01:46 +0000 (19:01 -0700)]
Merge commit '
f9f41d0dfdac6deb819f0cc0cb0270f504dbd4ed' into manualmergeDroiddoc
Dirk Dougherty [Thu, 23 Jul 2009 02:01:20 +0000 (19:01 -0700)]
Merge commit '
e6be85f5eb1438636e436be4162dd8f54a1192bf' into manualmergeDroiddoc
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
Scott Main [Tue, 21 Jul 2009 17:52:11 +0000 (10:52 -0700)]
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
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.
Dirk Dougherty [Wed, 15 Jul 2009 23:41:48 +0000 (16:41 -0700)]
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
Dirk Dougherty [Wed, 15 Jul 2009 23:37:21 +0000 (16:37 -0700)]
AI 150536: Change the formatting of sdk redirect pages so that they are not language-specific.
BUG=
1790234
Automated import of CL 150536
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.)
Scott Main [Wed, 15 Jul 2009 22:38:17 +0000 (15:38 -0700)]
AI 150535: add the Videos page to the site
Automated import of CL 150535
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
Phil Dubach [Mon, 13 Jul 2009 17:49:22 +0000 (10:49 -0700)]
AI 150470: CTS: Fix naming for extra permission tests and include them in makefile
Automated import of CL 150470
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
Scott Main [Thu, 9 Jul 2009 23:27:06 +0000 (16:27 -0700)]
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
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
Scott Main [Wed, 8 Jul 2009 22:14:05 +0000 (15:14 -0700)]
AI 150398: fix the sdk build break
BUG=
1790234
Automated import of CL 150398
Scott Main [Wed, 8 Jul 2009 21:45:58 +0000 (14:45 -0700)]
AI 150393: edit the reference's navtree highlighting logic to handle intl/ directories
BUG=
1790234
Automated import of CL 150393
Dirk Dougherty [Wed, 8 Jul 2009 21:39:31 +0000 (14:39 -0700)]
AI 150389: Fix handling of cookie writes for intl pages.
BUG=
1790234
Automated import of CL 150389
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
Dirk Dougherty [Wed, 8 Jul 2009 00:43:27 +0000 (17:43 -0700)]
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
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.
Daisuke Miyakawa [Thu, 25 Jun 2009 23:52:13 +0000 (16:52 -0700)]
AI 150131: Remove English/Chinese IME from OpenWnn.
Automated import of CL 150131
Dirk Dougherty [Wed, 24 Jun 2009 18:01:03 +0000 (11:01 -0700)]
AI 150083: Minor updates to the ndk docs based on approved messaging.
BUG=
1790234
Automated import of CL 150083
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.