summaryrefslogtreecommitdiff
path: root/build/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'build/Android.bp')
-rw-r--r--build/Android.bp2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/Android.bp b/build/Android.bp
index cd9d74a934..b1553c759c 100644
--- a/build/Android.bp
+++ b/build/Android.bp
@@ -70,6 +70,8 @@ art_global_defaults {
"-DART_STACK_OVERFLOW_GAP_mips64=16384",
"-DART_STACK_OVERFLOW_GAP_x86=8192",
"-DART_STACK_OVERFLOW_GAP_x86_64=8192",
+ // Enable thread annotations for std::mutex, etc.
+ "-D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS",
],
target: {