platform_build/tools
Mark Salyzyn 780f595fac build_image: improvements to right size for dynamic partitions
If partition_reserved_size is 0 or undefined, and
use_dynamic_partition_size is true, we should approach no space
and no free inodes automatically.

Estimate the space and number of inodes required, then do a first
pass build to see how much space actually used, and use those values
to refine the estimate.

Depends on tune2fs to report the characteristics of the filesystem,
so only support for ext filesystems.  In the future if there has to
be a more generic ability, either a tool per a filesystem has to be
found, or we will need root capabilities to mount the filesystem to
acquire the characteristics live from the host system.

Test: manual + python -m unittest test_build_image
Bug: 111302946
Change-Id: I933a388be43516b6de7b5007b296765bd5556fde
2018-10-23 15:14:00 -07:00
..
acp
apicheck Convert apicheck tool build to Soong. 2018-05-15 11:38:44 +09:00
atree Fix implicit-fallthrough warning. 2018-10-16 11:50:18 -07:00
docker Add USER to the docker environment 2018-04-12 16:41:17 -07:00
droiddoc Merge "Remove make/tools/droiddoc/test/stubs/Android.mk" am: 2fb914c56b 2018-04-16 16:45:52 -07:00
fs_config Split up fs_config_* modules per partition. 2018-06-27 11:15:59 +01:00
fs_get_stats
libhost Fix / suppress warnings for clang+mingw 2017-11-29 20:54:33 -08:00
makeparallel
releasetools build_image: improvements to right size for dynamic partitions 2018-10-23 15:14:00 -07:00
signapk Move signapk to a dedicated "host" target 2018-09-12 08:19:49 +01:00
signtos Make host targets use non-repackaged targets 2018-07-23 13:00:32 +01:00
zipalign Move zipalign off NO_ERROR. 2018-10-08 11:19:28 -07:00
ziptime
Android.mk
auto_gen_test_config.py Default test to AndroidJUnitTest for auto-generated test config. 2018-02-21 11:31:06 -08:00
auto_gen_test_config_test.py Default test to AndroidJUnitTest for auto-generated test config. 2018-02-21 11:31:06 -08:00
brillo-clang-format
buildinfo.sh Add PLATFORM_MIN_SUPPORTED_TARGET_SDK_VERSION 2017-12-11 10:45:45 +00:00
buildinfo_common.sh Standardize parition build props. 2018-08-27 22:37:15 +01:00
check_builds.sh Replace build/tools with build/make/tools 2017-12-06 16:12:40 -08:00
check_link_type.py
check_radio_versions.py
checkowners.py Use multiple globs/emails in per-file syntax 2018-08-20 14:16:04 -07:00
compare_fileslist.py
dump-package-stats
event_log_tags.py
fat16copy.py
fileslist_util.py
filter-product-graph.py
findleaves.py findleaves: Fix typo for --dir argument 2018-08-16 02:30:45 +02:00
fixlinebreaks.sh
generate-enforce-rro-android-manifest.py
generate-notice-files.py Include /product_services software in NOTICE. 2018-08-28 18:06:39 +01:00
java-event-log-tags.py Allow converting logtags to java without merged logtags file 2017-11-16 14:58:05 -08:00
java-layers.py
merge-event-log-tags.py
mktarball.sh
normalize_path.py
OWNERS Use multiple globs/emails in per-file syntax 2018-08-20 14:16:04 -07:00
parsedeps.py
post_process_props.py
print_module_licenses.sh
product_debug.py
soong_to_convert.py Add java modules to soong_to_convert.txt 2017-12-06 15:38:52 -08:00
warn.py Build: update warn.py for Errorprone 2.3.2 2018-10-15 08:56:58 -07:00