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

Unified Diff: sdk/lib/_internal/pub/lib/src/command/build.dart

Issue 583853002: Use precompiled dependencies in pub. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes Created 6 years, 3 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
Index: sdk/lib/_internal/pub/lib/src/command/build.dart
diff --git a/sdk/lib/_internal/pub/lib/src/command/build.dart b/sdk/lib/_internal/pub/lib/src/command/build.dart
index 0f1dc24dc97a1ec780c69d50dabdc45a58983913..f1f6625d0e94b690e7b1ecede793e92abc97e334 100644
--- a/sdk/lib/_internal/pub/lib/src/command/build.dart
+++ b/sdk/lib/_internal/pub/lib/src/command/build.dart
@@ -221,7 +221,7 @@ class BuildCommand extends BarbackCommand {
/// Ensures that the [name].js file is copied into [directory] in [target],
/// under `packages/browser/`.
void _addBrowserJs(String directory, String name) {
- var jsPath = path.join(entrypoint.root.dir,
+ var jsPath = entrypoint.root.path(
outputDirectory, directory, 'packages', 'browser', '$name.js');
ensureDir(path.dirname(jsPath));
« no previous file with comments | « sdk/lib/_internal/pub/lib/src/command/barback.dart ('k') | sdk/lib/_internal/pub/lib/src/command/list_package_dirs.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698