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

Unified Diff: pkg/polymer/lib/src/build/common.dart

Issue 31043004: Fixes the deploy step used by the bots in windows (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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
« pkg/polymer/lib/deploy.dart ('K') | « pkg/polymer/lib/deploy.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer/lib/src/build/common.dart
diff --git a/pkg/polymer/lib/src/build/common.dart b/pkg/polymer/lib/src/build/common.dart
index 4bbd946cfee9842d6d374289b83dee105954a5a4..2e4f9f6dbeb4b42949a20b7fca39ada62053d67a 100644
--- a/pkg/polymer/lib/src/build/common.dart
+++ b/pkg/polymer/lib/src/build/common.dart
@@ -36,7 +36,13 @@ Document _parseHtml(String contents, String sourcePath, TransformLogger logger,
/** Additional options used by polymer transformers */
class TransformOptions {
- List<String> entryPoints;
+ /**
+ * List of entrypoints paths. The paths are relative to the package root and
+ * are represented using posix style, which matches the representation used in
+ * asset ids in barback. If null, anything under 'web/' or 'test/' is
+ * considered an entry point.
+ */
+ final List<String> entryPoints;
/**
* True to enable Content Security Policy.
@@ -44,7 +50,7 @@ class TransformOptions {
*
* This flag has no effect unless [directlyIncludeJS] is enabled.
*/
- bool contentSecurityPolicy;
+ final bool contentSecurityPolicy;
/**
* True to include the compiled JavaScript directly from the HTML page.
@@ -54,7 +60,7 @@ class TransformOptions {
* If [contentSecurityPolicy] enabled, this will reference files
* named *.dart.precompiled.js.
*/
- bool directlyIncludeJS;
+ final bool directlyIncludeJS;
TransformOptions({entryPoints, this.contentSecurityPolicy: false,
this.directlyIncludeJS: true})
« pkg/polymer/lib/deploy.dart ('K') | « pkg/polymer/lib/deploy.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698