Merge "Allow generate_hiddenapi_lists.py to work with no custom flag files"

This commit is contained in:
Paul Duffin 2021-04-22 14:05:22 +00:00 committed by Gerrit Code Review
commit eee990820b
1 changed files with 1 additions and 1 deletions

View File

@ -332,7 +332,7 @@ def parse_ordered_flags(ordered_flags):
def main(argv):
# Parse arguments.
args = vars(get_args())
flagfiles = parse_ordered_flags(args['ordered_flags'])
flagfiles = parse_ordered_flags(args['ordered_flags'] or [])
# Initialize API->flags dictionary.
flags = FlagsDict()