Commit Graph

151 Commits

Author SHA1 Message Date
The Android Open Source Project
f84d16dd82 Merge commit 'remotes/goog/donut' into donut-release 2009-07-29 08:37:37 -07:00
Brett Chabot
7b5edc3e8a Add CTS permission2 test package to cts. 2009-07-28 20:11:24 -07:00
The Android Open Source Project
24fdba97a7 DRC28 2009-07-28 08:38:34 -07:00
The Android Open Source Project
5bcb9b05db DRC27 2009-07-27 08:38:04 -07:00
The Android Open Source Project
b616f8d223 Merge commit 'remotes/goog/donut' into donut-release 2009-07-27 08:37:49 -07:00
Sriram Raman
1e96ac8430 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.
2009-07-24 14:24:35 -07:00
Android (Google) Code Review
66ae61670d Merge change 8517 into donut
* changes:
  Fix generic-userdebug build (don't build OTA for this target).
2009-07-24 12:35:21 -07:00
Sriram Raman
b11428e53b Fix generic-userdebug build (don't build OTA for this target). 2009-07-24 12:02:28 -07:00
James Dong
90c23aa130 DO NOT MERGE TO MASTER
remove opencore avc encoder DSO
bug 2001900
2009-07-24 11:50:47 -07:00
The Android Open Source Project
78aaa2e24f DRC24 2009-07-24 09:12:18 -07:00
The Android Open Source Project
faaa39b029 Merge commit 'remotes/goog/donut' into donut-release 2009-07-24 09:12:08 -07:00
Doug Zongker
3455a3d4a1 don't try to build recovery patch in generic build 2009-07-23 20:06:57 -07:00
Doug Zongker
b003d89ee3 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.
2009-07-23 18:48:38 -07:00
Doug Zongker
22bc517cdf fix imgdiff/bsdiff dependencies
These should be regular dependencies, not order-only ones.
2009-07-23 18:27:43 -07:00
Doug Zongker
7a7cd0d8a3 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.
2009-07-23 17:58:54 -07:00
Doug Zongker
73ef8257ce 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.
2009-07-23 15:12:53 -07:00
android-build SharedAccount
d04ebbc954 DRC23 2009-07-23 09:25:30 -07:00
android-build SharedAccount
14b7cb1f54 Merge commit 'remotes/goog/donut' into donut-release 2009-07-23 09:24:44 -07:00
Doug Zongker
6c770467fb 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.)
2009-07-22 19:15:59 -07:00
The Android Open Source Project
79e2f4ceb3 DRC22 2009-07-22 08:36:11 -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
The Android Open Source Project
da8262ff3d DRC21 2009-07-21 08:35:09 -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
d6c37edbc1 DRC16 2009-07-16 08:35:50 -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
73e23ddad9 DRC14 2009-07-14 08:35:54 -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
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
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
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
Chung-yih Wang
c74bbeecd0 Add the JNI library of CertTool for handling certificates. 2009-07-02 00:36:44 +08:00
Android (Google) Code Review
c898974bcc Merge change 5553 into donut
* changes:
  Change cts makefile to bundle junit.jar.
2009-06-29 09:16:49 -07:00
Brett Chabot
67bae7fc68 Change cts makefile to bundle junit.jar. 2009-06-27 13:30:38 -07:00