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

Unified Diff: lib/devc.dart

Issue 1223113005: simplify computing of runtime file locations (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 5 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 | « bin/devc.dart ('k') | lib/src/codegen/html_codegen.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/devc.dart
diff --git a/lib/devc.dart b/lib/devc.dart
index 3b108844d8c77bd300047b00b9a4858c06be92d5..ae22b89cdb66e14d92748ab54fd1639bf81ffa27 100644
--- a/lib/devc.dart
+++ b/lib/devc.dart
@@ -139,7 +139,8 @@ class Compiler implements AbstractCompiler {
// location. These can be external dependencies or pieces of the
// dev_compiler runtime.
if (outputDir == null) return;
- var filepath = resourceOutputPath(node.uri, _entryNode.uri);
+ var filepath =
+ resourceOutputPath(node.uri, _entryNode.uri, options.runtimeDir);
assert(filepath != null);
filepath = path.join(outputDir, filepath);
var dir = path.dirname(filepath);
« no previous file with comments | « bin/devc.dart ('k') | lib/src/codegen/html_codegen.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698