Merge "Allow implicit-fallthrough warnings locally."
am: 36afe11a64
Change-Id: Ib185af9f85059f19cfd502b87bb6179d0d37ade7
This commit is contained in:
@@ -59,6 +59,8 @@ cc_library {
|
|||||||
"ZipFileRO.cpp",
|
"ZipFileRO.cpp",
|
||||||
"ZipUtils.cpp",
|
"ZipUtils.cpp",
|
||||||
],
|
],
|
||||||
|
// Allow implicit fallthroughs in Locale.cpp and ResourceTypes.cpp until they are fixed.
|
||||||
|
cflags: ["-Wno-implicit-fallthrough"],
|
||||||
export_include_dirs: ["include"],
|
export_include_dirs: ["include"],
|
||||||
export_shared_lib_headers: ["libz"],
|
export_shared_lib_headers: ["libz"],
|
||||||
target: {
|
target: {
|
||||||
|
|||||||
@@ -83,6 +83,9 @@ cc_library_shared {
|
|||||||
"-Wno-error=deprecated-declarations",
|
"-Wno-error=deprecated-declarations",
|
||||||
"-Wunused",
|
"-Wunused",
|
||||||
"-Wunreachable-code",
|
"-Wunreachable-code",
|
||||||
|
// Allow implicit fallthroughs in android_media_MediaScanner.cpp and
|
||||||
|
// android_mtp_MtpDatabase.cpp until they are fixed.
|
||||||
|
"-Wno-error=implicit-fallthrough",
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -71,6 +71,8 @@ cc_library_host_static {
|
|||||||
cflags: [
|
cflags: [
|
||||||
"-Wno-format-y2k",
|
"-Wno-format-y2k",
|
||||||
"-DSTATIC_ANDROIDFW_FOR_TOOLS",
|
"-DSTATIC_ANDROIDFW_FOR_TOOLS",
|
||||||
|
// Allow implicit fallthroughs in AaptAssets.cpp until they are fixed.
|
||||||
|
"-Wno-error=implicit-fallthrough",
|
||||||
],
|
],
|
||||||
|
|
||||||
srcs: [
|
srcs: [
|
||||||
|
|||||||
@@ -24,6 +24,8 @@ cc_binary_host {
|
|||||||
"-O0",
|
"-O0",
|
||||||
"-Wall",
|
"-Wall",
|
||||||
"-Werror",
|
"-Werror",
|
||||||
|
// Allow implicit fallthroughs in main.cpp until they are fixed.
|
||||||
|
"-Wno-error=implicit-fallthrough",
|
||||||
],
|
],
|
||||||
srcs: ["main.cpp"],
|
srcs: ["main.cpp"],
|
||||||
shared_libs: [
|
shared_libs: [
|
||||||
|
|||||||
Reference in New Issue
Block a user