[go: nahoru, domu]

Add kotlin compiler warnings to skipped lines

These do not usually affect build failures, we should skip them.

Change-Id: I888a15548c30506de25c09ce61f75f003adbd9e9
diff --git a/development/build_log_simplifier.py b/development/build_log_simplifier.py
index 4f838e4..49afe1d 100755
--- a/development/build_log_simplifier.py
+++ b/development/build_log_simplifier.py
@@ -79,7 +79,16 @@
       "Note: Some input files use or override a deprecated API.",
       "Note: Recompile with -Xlint:deprecation for details.",
       "Note: Some input files use unchecked or unsafe operations.",
-      "Note: Recompile with -Xlint:unchecked for details."
+      "Note: Recompile with -Xlint:unchecked for details.",
+
+      "w: ATTENTION!",
+      "This build uses unsafe internal compiler arguments:",
+      "-XXLanguage:+NonParenthesizedAnnotationsOnFunctionalTypes",
+      "-XXLanguage:-NewInference",
+      "-XXLanguage:+InlineClasses",
+      "This mode is not recommended for production use,",
+      "as no stability/compatibility guarantees are given on",
+      "compiler or generated code. Use it at your own risk!"
   }
   skipPrefixes = [
       "See the profiling report at:",