Merge "__ANDROID_UNGUARDED_AVAILABILITY__ is gone now." am: 272649ceb5

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I875ed4c6f9557776f5a699f492d534bca618bf1d
This commit is contained in:
Elliott Hughes
2021-02-19 23:19:51 +00:00
committed by Automerger Merge Worker

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{