Commit Graph

5 Commits

Author SHA1 Message Date
Mark Salyzyn 1c00d46b25 gpttool: turn on -Werror
- Deal with some -Wunused issues

Change-Id: If9a05ccbda862bbd401df0f5d5a1837abedd9b83
2014-05-05 10:30:04 -07:00
Elliott Hughes 14e28d39f7 Fix a bunch of small system/core bugs.
Missing frees in:
  adb/file_sync_client.c
  fastboot/fastboot.c
  libsparse/output_file.c

Missing closedirs in:
  adb/file_sync_service.c
  cpio/mkbootfs.c
  libcutils/dir_hash.c

Potential buffer overrun in:
  gpttool/gpttool.c

Incorrect NULL check in:
  libsparse/backed_block.c

Bug: https://code.google.com/p/android/issues/detail?id=61564
Change-Id: If97838a9e73a77aef7f416c31c237ce1fca4ce21
2013-10-29 14:12:46 -07:00
Mike J. Chen 4d9571145a Fix build by removing TAGS from host module
Change-Id: I0118cebff021b435baea0b46dd3c43250ef96632
Signed-off-by: Mike J. Chen <mjchen@google.com>
2012-08-16 22:47:13 -07:00
rich cannings 1aef062832 Add missing header to gpttool
Fixes a broken build from: https://android-git.corp.google.com/g/92563

Change-Id: I4d9a2eecde2a17aef0a35952c32483ec4af2b483
2011-01-25 08:07:01 -08:00
Brian Swetland a360a77294 gpttool: useful for partitioning sdcards
Where @partitions.txt contains:

:128k

xloader:128k
bootloader:256k
environment:128k
:384k
boot:8m
recovery:8m
system:256m
cache:256m
userdata:1g

Change-Id: I1221677e5b3dc4d5b19420c4a64d21b587fb7d47
media:
2011-01-25 00:03:23 -08:00