Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(175)

Unified Diff: third_party/android_protobuf/BUILD.gn

Issue 1551753002: Build third-party code with -Wall, build chromium_code with -Wextra on Linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase, and no -Wextra for pnacl-clang in gn for now Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/android_protobuf/BUILD.gn
diff --git a/third_party/android_protobuf/BUILD.gn b/third_party/android_protobuf/BUILD.gn
index 266ca83a7ae5631ac756fc16abcefc42b28a0756..73b82a6950c017b18c3a5f9f850e5fa990ff5807 100644
--- a/third_party/android_protobuf/BUILD.gn
+++ b/third_party/android_protobuf/BUILD.gn
@@ -118,6 +118,8 @@ if (current_toolchain == host_toolchain) {
cflags = [
"-Wno-null-conversion",
"-Wno-tautological-undefined-compare",
+ "-Wno-unused-function",
+ "-Wno-unused-local-typedef",
]
}
defines = [

Powered by Google App Engine
This is Rietveld 408576698