Merge "dump_hals_for_release: account for numbers in file name" am: 9a9b8e2bd8

am: 9dfb0df7a4

Change-Id: Ib1f118decef1dd6f27049b3ae156dc108cc710a8
This commit is contained in:
Yifan Hong
2019-01-17 16:22:57 -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):