Index: dart/sdk/lib/_internal/compiler/implementation/apiimpl.dart |
diff --git a/dart/sdk/lib/_internal/compiler/implementation/apiimpl.dart b/dart/sdk/lib/_internal/compiler/implementation/apiimpl.dart |
index c582bc082ed6da39d177206fc20eea9ead98e5a2..067417ae84a281c6ac181d1d0cf66b66fb3ec545 100644 |
--- a/dart/sdk/lib/_internal/compiler/implementation/apiimpl.dart |
+++ b/dart/sdk/lib/_internal/compiler/implementation/apiimpl.dart |
@@ -59,6 +59,8 @@ class Compiler extends leg.Compiler { |
preserveComments: hasOption(options, '--preserve-comments'), |
verbose: hasOption(options, '--verbose'), |
sourceMapUri: extractSourceMapUri(options), |
+ globalJsName: extractStringOption( |
+ options, '--global-js-name=', r'$'), |
buildId: extractStringOption( |
options, '--build-id=', |
"build number could not be determined")) { |