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

Unified Diff: lib/src/codegen/html_codegen.dart

Issue 1014173002: Copy resources refered to in the HTML to the output folder (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 9 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 | « lib/devc.dart ('k') | lib/src/dependency_graph.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/codegen/html_codegen.dart
diff --git a/lib/src/codegen/html_codegen.dart b/lib/src/codegen/html_codegen.dart
index 8ddd34495a57307edc6a3be610ac6c827333c219..ff1e730eab56d3d41ba417ea5f708a3210f101a2 100644
--- a/lib/src/codegen/html_codegen.dart
+++ b/lib/src/codegen/html_codegen.dart
@@ -52,7 +52,7 @@ String generateEntryHtml(HtmlSourceNode root, CompilerOptions options) {
String mainLibraryName;
var fragment = new DocumentFragment();
for (var resource in resources) {
- var resourcePath = resourceOutputPath(resource.uri);
+ var resourcePath = resourceOutputPath(resource.uri, root.uri);
if (resource.cachingHash != null) {
resourcePath = _addHash(resourcePath, resource.cachingHash);
}
« no previous file with comments | « lib/devc.dart ('k') | lib/src/dependency_graph.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698