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

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

Issue 362043006: Add support in smoke for generating static configurations in pieces. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 | « pkg/pkgbuild.status ('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/src/build/script_compactor.dart
diff --git a/pkg/polymer/lib/src/build/script_compactor.dart b/pkg/polymer/lib/src/build/script_compactor.dart
index 91c50cafcbe8b1916ae525ae2490b7734bc1f6bc..1f76ae9ccbe3ac2ff94fb6521c4426b31d433ad8 100644
--- a/pkg/polymer/lib/src/build/script_compactor.dart
+++ b/pkg/polymer/lib/src/build/script_compactor.dart
@@ -398,7 +398,9 @@ class _ScriptCompactor extends PolymerTransformer {
generator.writeImports(code);
generator.writeTopLevelDeclarations(code);
code.writeln('\nvoid main() {');
- generator.writeInitCall(code);
+ code.write(' useGeneratedCode(');
+ generator.writeStaticConfiguration(code);
+ code.writeln(');');
if (experimentalBootstrap) {
code.write(' startPolymer([');
} else {
« no previous file with comments | « pkg/pkgbuild.status ('k') | pkg/polymer/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698