Merge "Rename __ANDROID_UNGUARDED_AVAILABILITY__ -> __ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__."

This commit is contained in:
Elliott Hughes
2021-02-16 21:26:12 +00:00
committed by Gerrit Code Review

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__",
}, " ")) }, " "))