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

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I553ed1a322abb18ee8777c722530ff323b6742d9
This commit is contained in:
Elliott Hughes 2021-02-16 23:18:03 +00:00 committed by Automerger Merge Worker
commit 0beaf98c71
1 changed files with 2 additions and 0 deletions

View File

@ -150,6 +150,8 @@ func init() {
"-Wunguarded-availability",
// 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__",
}, " "))