Merge "Update extract items call in merge_dexopt."

This commit is contained in:
Rob Seymour 2022-03-15 22:03:46 +00:00 committed by Gerrit Code Review
commit 6ae6a3aef6

View file

@ -27,6 +27,7 @@ import shutil
import subprocess import subprocess
import common import common
import merge_utils
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
OPTIONS = common.OPTIONS OPTIONS = common.OPTIONS
@ -93,15 +94,15 @@ def MergeDexopt(temp_dir, output_target_files_dir):
dexpreopt_vendor_config_files_temp_dir = os.path.join(temp_dir, dexpreopt_vendor_config_files_temp_dir = os.path.join(temp_dir,
'vendor_config') 'vendor_config')
extract_items( merge_utils.ExtractItems(
input_zip=OPTIONS.framework_dexpreopt_tools, input_zip=OPTIONS.framework_dexpreopt_tools,
output_dir=dexpreopt_tools_files_temp_dir, output_dir=dexpreopt_tools_files_temp_dir,
extract_item_list=('*',)) extract_item_list=('*',))
extract_items( merge_utils.ExtractItems(
input_zip=OPTIONS.framework_dexpreopt_config, input_zip=OPTIONS.framework_dexpreopt_config,
output_dir=dexpreopt_framework_config_files_temp_dir, output_dir=dexpreopt_framework_config_files_temp_dir,
extract_item_list=('*',)) extract_item_list=('*',))
extract_items( merge_utils.ExtractItems(
input_zip=OPTIONS.vendor_dexpreopt_config, input_zip=OPTIONS.vendor_dexpreopt_config,
output_dir=dexpreopt_vendor_config_files_temp_dir, output_dir=dexpreopt_vendor_config_files_temp_dir,
extract_item_list=('*',)) extract_item_list=('*',))