summaryrefslogtreecommitdiffstats
path: root/libsparse/Android.mk
Commit message (Collapse)AuthorAgeFilesLines
* am d4d09637: am db32e788: am a2b03c4a: Merge "libsparse: turn on -Werror"Mark Salyzyn2014-05-081-1/+9
|\ | | | | | | | | * commit 'd4d096370154492433f02df56a7508eb99f564e2': libsparse: turn on -Werror
| * libsparse: turn on -WerrorMark Salyzyn2014-05-071-1/+9
| | | | | | | | | | | | - Deal with some -Wunused issues Change-Id: I9667d74c0dfbe55c625e65b9d44d7c6f861c455d
* | append2simg: write to temporary fileColin Cross2014-04-251-0/+3
| | | | | | | | | | | | | | | | | | | | append2simg causes libsparse to write mmapped data from a file back to that same file. On btrfs, this sometimes causes a page of zeroes to be written instead of the file data. Work around the issue by writing the output to a temporary file and then renaming it over the original file. Change-Id: Ia194b6ba0ddb8548747b63292b523756f544706a
* | Add append2simg.Geremy Condra2013-08-061-2/+2
|/ | | | | | | | Append2simg is a small utility designed to glue data to the end of a sparse image. Beware that it doesn't do anything clever with that data. Change-Id: I33af330cb4f77e0842375797a35aebbb6af60163
* Support for multiple modules with the same name is going away.Joe Onorato2012-08-161-37/+35
| | | | Change-Id: I5006b467978071f9107babe532efa71d05061580
* libsparse: add function to resparse a file and a utility to use itColin Cross2012-07-091-0/+9
| | | | | | | | | Add sparse_file_repsarse, which splits chunks in an existing sparse file such that the maximum size of a chunk, plus a header and footer, is smaller than the given size. This will allow multiple smaller sparse files to result in the same data as a large sparse file. Change-Id: I177abdb958a23d5afd394ff265c5b0c6a3ff22fa
* libsparse: add sparse_file read and convert tools to use itColin Cross2012-07-091-1/+6
| | | | | | | | | | | | | | Abstract the logic from simg2img into libsparse, and add logic for reading a regular image into libsparse. simg2img then becomes a simple wrapper around libsparse. img2simg was not actually making the file sparse, it was using sparse files to create multiple files that could be pieced back together. Replace it with a simple wrapper around libsparse. Its functionality will be replaced by an simg2simg that can resparse a file into smaller chunks. Change-Id: I266f70e1c750454183ce46c71a7bb66bbb033a26
* libsparse: add error reporting functionsColin Cross2012-07-091-1/+2
| | | | Change-Id: I2f21355b6c5339d1d724b4c121ea30d575b2d366
* system/core: move libsparse into system/coreColin Cross2012-07-091-0/+86
This moves an exact copy of libsparse from system/extras/ext4_utils/libsparse to system/core/libsparse in preparation for linking tools in system/core against it. Change-Id: If664e4fcfd6612844ac745589beb1517e7f9fe58