Index: dart/sdk/lib/_internal/compiler/implementation/dart2js.dart |
diff --git a/dart/sdk/lib/_internal/compiler/implementation/dart2js.dart b/dart/sdk/lib/_internal/compiler/implementation/dart2js.dart |
index 55f167b717f665016a3f2895dae987cf592ab9e9..68f7358bf50dd9e1bf687ce7011caa444f574540 100644 |
--- a/dart/sdk/lib/_internal/compiler/implementation/dart2js.dart |
+++ b/dart/sdk/lib/_internal/compiler/implementation/dart2js.dart |
@@ -253,7 +253,6 @@ Future compile(List<String> argv) { |
(_) => passThrough('--trust-type-annotations')), |
new OptionHandler(r'--help|/\?|/h', (_) => wantHelp = true), |
new OptionHandler('--package-root=.+|-p.+', setPackageRoot), |
- new OptionHandler('--disallow-unsafe-eval', passThrough), |
new OptionHandler('--analyze-all', passThrough), |
new OptionHandler('--analyze-only', setAnalyzeOnly), |
new OptionHandler('--analyze-signatures-only', passThrough), |
@@ -485,10 +484,6 @@ Supported options: |
--minify |
Generate minified output. |
- --disallow-unsafe-eval |
- Disable dynamic generation of code in the generated output. This is |
- necessary to satisfy CSP restrictions (see http://www.w3.org/TR/CSP/). |
- |
--suppress-warnings |
Do not display any warnings. |