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

Unified Diff: compiler/java/com/google/dart/compiler/DartCompiler.java

Issue 9211014: Issue 1171: Failing to regenerate deleted output js file. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiler/java/com/google/dart/compiler/DartCompiler.java
diff --git a/compiler/java/com/google/dart/compiler/DartCompiler.java b/compiler/java/com/google/dart/compiler/DartCompiler.java
index dfafbabbf3ce1e6ee09700af9e29c5b07d6c0390..6aff5e63ec0fc813e4816e61470be3050a2ab80d 100644
--- a/compiler/java/com/google/dart/compiler/DartCompiler.java
+++ b/compiler/java/com/google/dart/compiler/DartCompiler.java
@@ -172,9 +172,13 @@ public class DartCompiler {
return;
}
if (!context.getFilesHaveChanged()) {
- return;
+ for (Backend be : backends) {
+ if(context.isOutOfDate(app, app, be.getAppExtension())) {
+ packageApp = true;
+ break;
+ }
+ }
}
-
compileLibraries();
packageApp();
} catch (IOException e) {
@@ -206,9 +210,6 @@ public class DartCompiler {
if (incremental) {
addOutOfDateDeps();
}
- if (!context.getFilesHaveChanged()) {
- return library;
- }
if (!config.resolveDespiteParseErrors() && (context.getErrorCount() > 0)) {
return library;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698