No description
Find a file
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
core fix image size tests 2009-07-02 12:21:43 -07:00
libs/host remove mkdirs/etc which caused us to depend on libutils 2009-06-04 14:54:15 -07:00
target Merge commit 'b610c08b9605c31c1e5b851009104972e3822a3c' into Donut 2009-06-17 17:40:27 -07:00
tools remove some accidentally-submitted debug logging 2009-07-01 14:18:59 -07:00
buildspec.mk.default auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
cleanspec.mk do not merge : add clean step for webkit security fix 2009-06-11 11:04:19 -04:00
envsetup.sh Also look in vendor/*/build for vendorsetup.sh 2009-07-02 08:43:00 -04:00