e24303f71a
noOverrideExternalGlobalCflags is a new set of flags intended to be added at the end of the command line for 3rd party projects like external/, hardware/, vendor/, and more. Our previous flags for external projects occur way too early on the command line, leading to issues with use for suppressing diagnostics. Note that support for this variable in build/make is currently unimplemented, as there are no projects that would depend on it. It could be added in the future, if it turns out to be useful. This change initially applies `-Wno-unused-but-set-variable` and `-Wno-unused-but-set-parameter` to external projects because these upstream projects aren't easily fixed, and the risk of actual bugs is low. Bug: http://b/197240255 Test: Build and check warnings Change-Id: I26f56c5c52725dddb70dd8130ad61270eac7a9aa |
||
---|---|---|
.. | ||
Android.bp | ||
arm64_device.go | ||
arm64_linux_host.go | ||
arm_device.go | ||
bionic.go | ||
bp2build.go | ||
bp2build_test.go | ||
cfi_exports.map | ||
clang.go | ||
darwin_host.go | ||
global.go | ||
integer_overflow_blocklist.txt | ||
OWNERS | ||
tidy.go | ||
tidy_test.go | ||
toolchain.go | ||
vndk.go | ||
x86_64_device.go | ||
x86_device.go | ||
x86_linux_bionic_host.go | ||
x86_linux_host.go | ||
x86_windows_host.go |