Merge "Allow generate_hiddenapi_lists.py to work with no custom flag files"
This commit is contained in:
@@ -332,7 +332,7 @@ def parse_ordered_flags(ordered_flags):
|
|||||||
def main(argv):
|
def main(argv):
|
||||||
# Parse arguments.
|
# Parse arguments.
|
||||||
args = vars(get_args())
|
args = vars(get_args())
|
||||||
flagfiles = parse_ordered_flags(args['ordered_flags'])
|
flagfiles = parse_ordered_flags(args['ordered_flags'] or [])
|
||||||
|
|
||||||
# Initialize API->flags dictionary.
|
# Initialize API->flags dictionary.
|
||||||
flags = FlagsDict()
|
flags = FlagsDict()
|
||||||
|
Reference in New Issue
Block a user