Merge "Rename __ANDROID_UNGUARDED_AVAILABILITY__ -> __ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__." am: 9f53de289e am: 9be8ed2681

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1584291

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If6830ef7cc4fe6a94349815bed939cb392d835eb
This commit is contained in:
Elliott Hughes
2021-02-16 22:39:47 +00:00
committed by Automerger Merge Worker

View File

@@ -150,6 +150,8 @@ func init() {
"-Wunguarded-availability", "-Wunguarded-availability",
// This macro allows the bionic versioning.h to indirectly determine whether the // This macro allows the bionic versioning.h to indirectly determine whether the
// option -Wunguarded-availability is on or not. // option -Wunguarded-availability is on or not.
"-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
// TODO: remove this once prebuilt SDKs are only using the above macro instead.
"-D__ANDROID_UNGUARDED_AVAILABILITY__", "-D__ANDROID_UNGUARDED_AVAILABILITY__",
}, " ")) }, " "))