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

Unified Diff: pkg/polymer/lib/transformer.dart

Issue 589563002: Add support for not including platform.js in build output (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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
« no previous file with comments | « pkg/polymer/lib/src/build/polyfill_injector.dart ('k') | pkg/polymer/pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer/lib/transformer.dart
diff --git a/pkg/polymer/lib/transformer.dart b/pkg/polymer/lib/transformer.dart
index 67ccbc51e34e7b17674f7283c511f3156e2c10dd..cdc13b9193dd7425881ef661acaaf87030830ee1 100644
--- a/pkg/polymer/lib/transformer.dart
+++ b/pkg/polymer/lib/transformer.dart
@@ -45,6 +45,7 @@ TransformOptions _parseSettings(BarbackSettings settings) {
bool lint = args['lint'] != false; // defaults to true
bool injectBuildLogs =
!releaseMode && args['inject_build_logs_in_output'] != false;
+ bool injectPlatformJs = args['inject_platform_js'] != false;
return new TransformOptions(
entryPoints: readEntrypoints(args['entry_points']),
inlineStylesheets: _readInlineStylesheets(args['inline_stylesheets']),
@@ -52,7 +53,8 @@ TransformOptions _parseSettings(BarbackSettings settings) {
contentSecurityPolicy: csp,
releaseMode: releaseMode,
lint: lint,
- injectBuildLogsInOutput: injectBuildLogs);
+ injectBuildLogsInOutput: injectBuildLogs,
+ injectPlatformJs: injectPlatformJs);
}
readEntrypoints(value) {
« no previous file with comments | « pkg/polymer/lib/src/build/polyfill_injector.dart ('k') | pkg/polymer/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698