Move partition size checks to python script
Easier to read and modify its logic. Test: builds Test: test_check_partition_sizes Test: atest releasetools_test Test: atest releasetools_py3_test Change-Id: I73204664b64a0bcee7375fa6fca46758d5a2bb72
This commit is contained in:
@@ -263,6 +263,19 @@ python_binary_host {
|
||||
],
|
||||
}
|
||||
|
||||
python_binary_host {
|
||||
name: "check_partition_sizes",
|
||||
srcs: [
|
||||
"check_partition_sizes.py",
|
||||
],
|
||||
libs: [
|
||||
"releasetools_common",
|
||||
],
|
||||
defaults: [
|
||||
"releasetools_binary_defaults",
|
||||
],
|
||||
}
|
||||
|
||||
python_binary_host {
|
||||
name: "check_ota_package_signature",
|
||||
defaults: ["releasetools_binary_defaults"],
|
||||
@@ -419,6 +432,7 @@ python_defaults {
|
||||
name: "releasetools_test_defaults",
|
||||
srcs: [
|
||||
"check_ota_package_signature.py",
|
||||
"check_partition_sizes.py",
|
||||
"check_target_files_signatures.py",
|
||||
"make_recovery_patch.py",
|
||||
"merge_target_files.py",
|
||||
|
Reference in New Issue
Block a user