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

Unified Diff: third_party/WebKit/Source/devtools/scripts/closure/closure_runner/src/org/chromium/devtools/compiler/Runner.java

Issue 2624123003: DevTools: restore compilation summary print. (Closed)
Patch Set: Created 3 years, 11 months 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
« no previous file with comments | « third_party/WebKit/Source/devtools/scripts/closure/closure_runner/closure_runner.jar ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/scripts/closure/closure_runner/src/org/chromium/devtools/compiler/Runner.java
diff --git a/third_party/WebKit/Source/devtools/scripts/closure/closure_runner/src/org/chromium/devtools/compiler/Runner.java b/third_party/WebKit/Source/devtools/scripts/closure/closure_runner/src/org/chromium/devtools/compiler/Runner.java
index d94a0980d19b945d437a898e6b7693cb7eeb5912..bcea380982bafa4b041f1113e7cb60865ef680b8 100644
--- a/third_party/WebKit/Source/devtools/scripts/closure/closure_runner/src/org/chromium/devtools/compiler/Runner.java
+++ b/third_party/WebKit/Source/devtools/scripts/closure/closure_runner/src/org/chromium/devtools/compiler/Runner.java
@@ -197,14 +197,17 @@ public class Runner {
protected Compiler createCompiler() {
Compiler compiler = new Compiler();
final LightweightMessageFormatter formatter = new LightweightMessageFormatter(compiler);
- compiler.setErrorManager(new PrintStreamErrorManager(formatter, getErrorPrintStream()) {
+ PrintStreamErrorManager errorManager =
+ new PrintStreamErrorManager(formatter, getErrorPrintStream()) {
@Override
public void report(CheckLevel level, JSError error) {
String text = formatter.formatError(error);
if (text.indexOf("access on a struct") == -1 || text.indexOf("Symbol") == -1)
super.report(level, error);
}
- });
+ };
+ errorManager.setSummaryDetailLevel(3);
+ compiler.setErrorManager(errorManager);
return compiler;
}
« no previous file with comments | « third_party/WebKit/Source/devtools/scripts/closure/closure_runner/closure_runner.jar ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698