vndk-def: Add libclang_rt to eligible list
This commit makes sure libclang_rt.asan and libclang_rt.ubsan_standalone for all architectures are tagged correctly. Prior to this commit, some human tweaks are necessary for other architectures. Test: Update the latest eligible list. Change-Id: I457a66593966b7439b28c70779202ec95c7cb167
This commit is contained in:
@@ -183,6 +183,20 @@ def main():
|
||||
for regex in regex_patterns:
|
||||
data[regex[0]] = regex
|
||||
|
||||
# Workaround for libclang_rt.asan
|
||||
prefix = 'libclang_rt.asan'
|
||||
if any(name.startswith(prefix) for name in llndk):
|
||||
for path in list(data.keys()):
|
||||
if os.path.basename(path).startswith(prefix):
|
||||
update_tag(path, 'LL-NDK')
|
||||
|
||||
# Workaround for libclang_rt.ubsan_standalone
|
||||
prefix = 'libclang_rt.ubsan_standalone'
|
||||
if any(name.startswith(prefix) for name in vndk):
|
||||
for path in list(data.keys()):
|
||||
if os.path.basename(path).startswith(prefix):
|
||||
update_tag(path, 'VNDK')
|
||||
|
||||
# Write updated eligible list file.
|
||||
with open(args.output, 'w') as fp:
|
||||
writer = csv.writer(fp, lineterminator='\n')
|
||||
|
||||
Reference in New Issue
Block a user