diff options
Diffstat (limited to 'absl/base')
-rw-r--r-- | absl/base/attributes.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/absl/base/attributes.h b/absl/base/attributes.h index ff138629..b4bb6cf8 100644 --- a/absl/base/attributes.h +++ b/absl/base/attributes.h @@ -507,8 +507,10 @@ // packages/targets, as this may lead to conflicting definitions of functions at // link-time. // +// XRay isn't currently supported on Android: +// https://github.com/android/ndk/issues/368 #if ABSL_HAVE_CPP_ATTRIBUTE(clang::xray_always_instrument) && \ - !defined(ABSL_NO_XRAY_ATTRIBUTES) + !defined(ABSL_NO_XRAY_ATTRIBUTES) && !defined(__ANDROID__) #define ABSL_XRAY_ALWAYS_INSTRUMENT [[clang::xray_always_instrument]] #define ABSL_XRAY_NEVER_INSTRUMENT [[clang::xray_never_instrument]] #if ABSL_HAVE_CPP_ATTRIBUTE(clang::xray_log_args) |