Merge changes I728208ed,Ifdb50809 am: 428d5ad909

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

Change-Id: I69b8673594f7309d838f455d2c8208f80c453d23
This commit is contained in:
Treehugger Robot 2022-01-27 22:22:35 +00:00 committed by Automerger Merge Worker
commit 6d67ba6d67
2 changed files with 4 additions and 1 deletions

View file

@ -1,4 +1,4 @@
per-file ndk_*.go = danalbert@google.com
per-file tidy.go = srhines@google.com, chh@google.com
per-file afdo.go,afdo_test.go,lto.go,pgo.go = srhines@google.com, pirama@google.com, yikong@google.com
per-file coverage.go = pirama@google.com, srhines@google.com, allenhair@google.com

View file

@ -98,6 +98,9 @@ func (cov *coverage) flags(ctx ModuleContext, flags Flags, deps PathDeps) (Flags
} else if clangCoverage {
flags.Local.CommonFlags = append(flags.Local.CommonFlags, profileInstrFlag,
"-fcoverage-mapping", "-Wno-pass-failed", "-D__ANDROID_CLANG_COVERAGE__")
// Override -Wframe-larger-than. We can expect frame size increase after
// coverage instrumentation.
flags.Local.CFlags = append(flags.Local.CFlags, "-Wno-frame-larger-than=")
}
}