Merge "dump_hals_for_release: account for numbers in file name"

am: 9a9b8e2bd8

Change-Id: I64d6e3948d0b9a84a8d50e15cfd22d95a694b69a
This commit is contained in:
Yifan Hong
2019-01-17 16:18:53 -08:00
committed by android-build-merger

View File

@@ -32,7 +32,7 @@ class Globals:
class Constants:
CURRENT = 'current'
HAL_PATH_PATTERN = r'/((?:[a-zA-Z_]+/)*)(\d+\.\d+)/([a-zA-Z_]+).hal'
HAL_PATH_PATTERN = r'/((?:[a-zA-Z_][a-zA-Z0-9_]*/)*)(\d+\.\d+)/([a-zA-Z_][a-zA-Z0-9_]*).hal'
CURRENT_TXT_PATTERN = r'(?:.*/)?([0-9]+|current).txt'
def trim_trailing_comments(line):