platform_build/tools
Tianjie 16bcac122f Check super size for factory OTA at build time
For VAB launched device, factory OTA will write system_other
partition to the super image. So we want to check that
sum(dynamic partitions) + system_other + overhead <= super at
build time.

Since we don't know the overhead at build time, we might instead
check sum(all partitions) < super.

Bug: 185809374
Test: m check-all-partition-sizes, unittests
Change-Id: Ia7ba5999d23924a1927e9a9463856a4d0ea90c20
Merged-In: Ia7ba5999d23924a1927e9a9463856a4d0ea90c20
(cherry-picked from commit 294ec7d9e5298d91768e0f2e9abe4cc7de180fe1)

Change-Id: I479d1b399a1639b595ae5d7f1481c771a3439e51
2021-05-26 14:43:35 -07:00
..
acp [LSC] Add LOCAL_LICENSE_KINDS to build/make 2021-02-14 10:37:20 -08:00
apicheck [LSC] Add LOCAL_LICENSE_KINDS to build/make 2021-02-14 10:37:20 -08:00
atree [LSC] Add LOCAL_LICENSE_KINDS to build/make 2021-02-14 10:37:20 -08:00
docker docker: update sha256sum for repo version 1.25 2019-04-11 13:38:05 -07:00
droiddoc [LSC] Add LOCAL_LICENSE_KINDS to build/make 2021-02-14 10:37:20 -08:00
fs_config [LSC] Add LOCAL_LICENSE_KINDS to build/make 2021-02-14 10:37:20 -08:00
fs_get_stats [LSC] Add LOCAL_LICENSE_KINDS to build/make 2021-02-14 10:37:20 -08:00
libhost [LSC] Add LOCAL_LICENSE_KINDS to build/make 2021-02-14 10:37:20 -08:00
product_config ALLOW_RULES_IN_PRODUCT_CONFIG 2021-02-23 22:40:39 -08:00
rbcrun Always use /bin/sh to run the command. 2021-04-01 16:44:47 -07:00
releasetools Check super size for factory OTA at build time 2021-05-26 14:43:35 -07:00
signapk [LSC] Add LOCAL_LICENSE_KINDS to build/make 2021-02-14 10:37:20 -08:00
signtos [LSC] Add LOCAL_LICENSE_KINDS to build/make 2021-02-14 10:37:20 -08:00
warn Fix more pylint warnings. 2021-04-30 14:32:25 -07:00
zipalign zipalign: clarify the help for -p slightly. 2021-04-05 16:02:16 -07:00
ziptime [LSC] Add LOCAL_LICENSE_KINDS to build/make 2021-02-14 10:37:20 -08:00
Android.bp [LSC] Add LOCAL_LICENSE_KINDS to build/make 2021-02-14 10:37:20 -08:00
OWNERS Use multiple globs/emails in per-file syntax 2018-08-20 14:16:04 -07:00
auto_gen_test_config.py Update auto-gen test config template with PARAMETERIZED_STRINGS 2020-05-18 09:58:18 +08:00
auto_gen_test_config_test.py Migrate build/make to androidx.test 2018-12-13 19:06:34 -08:00
brillo-clang-format
build-license-metadata.sh Fix bug: repeated restricted effective conditions. 2021-04-15 10:59:40 -07:00
buildinfo.sh Don't set the build id if we need to append the digest 2021-05-06 00:32:56 +00:00
check_elf_file.py Merge changes from topic "exclude-system-shared-libs-from-elfcheck-suggestions" 2020-09-28 03:54:27 +00:00
check_identical_lib.sh Add more details to divergent vndk lib error. 2020-08-06 18:02:31 +00:00
check_radio_versions.py
checkowners.py Accept the "file:(project:)?filePath" directive. 2019-03-12 11:56:33 -07:00
compare_builds.py Add tool to find problems with build repeatability. 2021-02-11 08:52:44 +00:00
compare_fileslist.py
event_log_tags.py logtags: Support # line comments. 2019-11-29 15:28:48 +00:00
exercise_compare_builds Add tool to find problems with build repeatability. 2021-02-11 08:52:44 +00:00
extract_kernel.py extract_kernel: make it py2/py3 compatible 2021-02-07 17:05:53 +08:00
fat16copy.py fat16copy: Allow to copy files to an existing directory. 2017-02-13 16:00:07 +00:00
fileslist_util.py build: tools: Add json collection of installed files with hashes. 2016-10-20 10:07:13 -07:00
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 Put DEVICE/PRODUCT overlays in different partitions 2019-03-22 13:25:20 +00:00
generate-notice-files.py Fix bug: include all dirs not just the last one. 2021-04-13 13:14:13 -07:00
generate-self-extracting-archive.py Fix comment to reflect that the value passed to head is actually the size 2019-12-06 19:13:21 -08: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
mk2bp_catalog.py Add CSV output of remaining makefiles for bp converstion 2020-09-10 14:09:29 -07:00
normalize_path.py
parsedeps.py
post_process_props.py Remove grf_required_api_level 2021-04-13 17:58:59 +09:00
post_process_props_unittest.xml Support optional prop assignments 2020-06-30 18:44:01 +09:00
print_module_licenses.sh
product_debug.py
soong_to_convert.py Add mk2bp_catalog.py that outputs more data about makefiles to be converted to soong. 2020-07-16 18:19:15 -07:00
test_extract_kernel.py extract_kernel: make it py2/py3 compatible 2021-02-07 17:05:53 +08:00
test_post_process_props.py Remove grf_required_api_level 2021-04-13 17:58:59 +09:00
warn.py Fix/suppress most pylint and gpylint warnings 2021-04-28 14:57:56 -07:00