diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2021-06-21 14:33:26 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2021-06-21 14:33:26 +0000 |
commit | 9af8ba1f5598f9941a32831ad4cffc3b3cf0fa99 (patch) | |
tree | 73936aba47fe1dc71e9cc05af9747036e935608c /debug_info_test/check_ngcc.py | |
parent | b75f321fc8978b92ce3db6886ccb966768f0c7a8 (diff) | |
parent | 4e4201457e5f51a132101c611c79ccff9f713c8b (diff) | |
download | toolchain-utils-android12-mainline-documentsui-release.tar.gz |
Snap for 7478028 from 4e4201457e5f51a132101c611c79ccff9f713c8b to mainline-documentsui-releaseandroid-mainline-12.0.0_r26android-mainline-12.0.0_r2aml_doc_310851020android12-mainline-documentsui-release
Change-Id: I5870264b834cfaf67936f2de5c515b264f04d354
Diffstat (limited to 'debug_info_test/check_ngcc.py')
-rw-r--r-- | debug_info_test/check_ngcc.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/debug_info_test/check_ngcc.py b/debug_info_test/check_ngcc.py index 501bb988..c86c220a 100644 --- a/debug_info_test/check_ngcc.py +++ b/debug_info_test/check_ngcc.py @@ -7,7 +7,7 @@ from __future__ import print_function -from whitelist import is_whitelisted +from allowlist import is_allowlisted def not_by_gcc(dso_path, producer, comp_path): @@ -21,10 +21,10 @@ def not_by_gcc(dso_path, producer, comp_path): Returns: False if compiled by gcc otherwise True. """ - if is_whitelisted('ngcc_comp_path', comp_path): + if is_allowlisted('ngcc_comp_path', comp_path): return True - if is_whitelisted('ngcc_dso_path', dso_path): + if is_allowlisted('ngcc_dso_path', dso_path): return True return 'GNU C' not in producer |