Files
build/core
Dmitrii Merkurev 8ab6603a43 Introduce EROFS compress hints to the Android build system
Make it possible to provide a prebuilt hints file to specify different compression strategies on a file basis for all partitions using:

BOARD_EROFS_COMPRESS_HINTS := <path>/erofs-hints.txt

or separately for every partition using:

BOARD_SYSTEMIMAGE_EROFS_COMPRESS_HINTS := <path>/system-partition-erofs-hints.txt
BOARD_VENDORIMAGE_EROFS_COMPRESS_HINTS := <path>/vendor-partition-erofs-hints.txt

Hints format: Each line is defined by tokens separated by spaces in the following form:

<pcluster-in-bytes> <match-pattern>

pcluster-in-bytes can be specified as 0 which mean file will not be compressed

Bug: 231934752
Test: used dump.erofs -S system.img to verify the system image isn't compressed after specifying BOARD_SYSTEMIMAGE_EROFS_COMPRESS_HINTS := no-compress.txt, where no-compress.txt contains 0 .*
Test: used dump.erofs --nid=<inode-for-all-apk-files> vendor.img to verify apk files are not compressed (the rest of the partition content is compressed)
Test: used dump.erofs -S <all-images> to verify all images are not compressed after specifying BOARD_EROFS_COMPRESS_HINTS := <path>/no-compress.txt
Change-Id: I64054e26af5ea5781c45d2183b7796a9ad2b7927
2022-05-17 23:10:37 +00:00
..
2018-03-20 15:47:45 -07:00
2022-03-22 09:25:58 -07:00
2022-05-02 14:16:04 -07:00
2018-06-21 10:12:23 -07:00
2022-05-11 08:17:45 -07:00
2022-05-11 08:17:45 -07:00
2022-05-11 08:17:45 -07:00
2020-06-08 16:36:52 -07:00
2021-04-02 10:24:48 -07:00
2020-03-05 20:46:47 +00:00
2018-08-29 17:33:29 +00:00
2020-06-10 17:18:13 -07:00
2022-03-17 13:55:15 -07:00
2022-04-29 13:51:31 +01:00
2020-06-08 16:36:52 -07:00
2020-05-27 19:37:03 -07:00
2019-09-18 16:23:04 +00:00
2022-05-10 15:39:10 -07:00
2022-04-12 18:57:15 -07:00
2022-05-03 20:54:36 +00:00