Merge "__ANDROID_UNGUARDED_AVAILABILITY__ is gone now."

This commit is contained in:
Elliott Hughes
2021-02-19 22:27:11 +00:00
committed by Gerrit Code Review

View File

@@ -151,8 +151,6 @@ func init() {
// This macro allows the bionic versioning.h to indirectly determine whether the
// 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__",
}, " "))
pctx.StaticVariable("ClangExtraCppflags", strings.Join([]string{