Merge changes from topic "vintf_ota_delete" am: bcba1cfdaf am: ee276acce8 am: ba0aefb056 am: 6c29d055e0

am: 6c540f9af1

Change-Id: I257147d856ac4f2252c5d9fb53cc2625f8be0802
This commit is contained in:
Yifan Hong 2019-08-28 19:26:33 -07:00 committed by android-build-merger
commit 07760edad3
2 changed files with 5 additions and 0 deletions

View file

@ -335,6 +335,7 @@ python_binary_host {
libs: [
"releasetools_add_img_to_target_files",
"releasetools_build_super_image",
"releasetools_check_target_files_vintf",
"releasetools_common",
"releasetools_img_from_target_files",
"releasetools_ota_from_target_files",

View file

@ -87,6 +87,7 @@ import zipfile
import add_img_to_target_files
import build_super_image
import check_target_files_vintf
import common
import img_from_target_files
import ota_from_target_files
@ -906,6 +907,9 @@ def merge_target_files(temp_dir, framework_target_files, framework_item_list,
vendor_target_files, vendor_item_list, framework_misc_info_keys,
rebuild_recovery)
if not check_target_files_vintf.CheckVintf(output_target_files_temp_dir):
raise RuntimeError("Incompatible VINTF metadata")
generate_images(output_target_files_temp_dir, rebuild_recovery)
generate_super_empty_image(output_target_files_temp_dir, output_super_empty)