--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -733,10 +733,6 @@ config("chromium_code") {
       "-Wextra",
     ]
-
-    if (dart_sysroot != "alpine") {
-      cflags += [ "-Werror" ]
-    }
-
+
     defines = []
     if (!using_sanitizer && !is_clang) {
       # _FORTIFY_SOURCE isn't really supported by Clang now, see
