[compiler-rt] 581ebf4 - [sanitizer] Fix setup of android-thread-properties-api
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Sat Nov 14 23:23:22 PST 2020
Author: Vitaly Buka
Date: 2020-11-14T23:23:10-08:00
New Revision: 581ebf44d28b3e12bab771737e508fde9d22b25e
URL: https://github.com/llvm/llvm-project/commit/581ebf44d28b3e12bab771737e508fde9d22b25e
DIFF: https://github.com/llvm/llvm-project/commit/581ebf44d28b3e12bab771737e508fde9d22b25e.diff
LOG: [sanitizer] Fix setup of android-thread-properties-api
Added:
Modified:
compiler-rt/test/lit.common.cfg.py
Removed:
################################################################################
diff --git a/compiler-rt/test/lit.common.cfg.py b/compiler-rt/test/lit.common.cfg.py
index ab2cfe822548..ed824ad09d86 100644
--- a/compiler-rt/test/lit.common.cfg.py
+++ b/compiler-rt/test/lit.common.cfg.py
@@ -367,7 +367,7 @@ def get_macos_aligned_version(macos_vers):
config.available_features.add('android-26')
if android_api_level >= 28:
config.available_features.add('android-28')
- if android_api_level >= 31 or android_api_codename == 'S':
+ if android_api_level > 30 or (android_api_level == 30 and android_api_codename == 'S'):
config.available_features.add('android-thread-properties-api')
# Prepare the device.
More information about the llvm-commits
mailing list