Files
build/tools
Tao Bao 35f4ebc957 releasetools: Clean up the use of partition_size.
Unless using dynamic partitions, `partition_size` should be a fixed
value that equals to the partition size in BoardConfig. It should stay
the same when building an image for that partition. Only the actual
image size that's used to hold the filesystem could be adjusted. This CL
cleans up the uses of `partition_size` and `image_size` to better
reflect such logic.

With dynamic partitions, the only thing that changes is the need to
compute `partition_size` upfront. Once that's done, `partition_size`
should remain unchanged.

Test: `m dist`
Test: `python -m unittest test_add_img_to_target_files`
Test: `python -m unittest test_validate_target_files`
Change-Id: Idedb3e018c95e8f63dc4d9c423be27f30ebb584f
2018-09-27 18:06:59 -07:00
..
2017-10-03 13:53:13 -07:00
2017-10-03 13:53:13 -07:00
2018-04-12 16:41:17 -07:00
2017-10-03 13:53:13 -07:00
2018-08-11 11:33:43 -07:00
2017-10-03 13:53:13 -07:00
2016-09-15 14:40:39 -07:00
2018-07-27 13:45:43 -07:00
2018-08-31 16:19:19 -07:00