| Index: sdk/lib/_internal/pub/lib/src/dart.dart
|
| diff --git a/sdk/lib/_internal/pub/lib/src/dart.dart b/sdk/lib/_internal/pub/lib/src/dart.dart
|
| index 9a26e1ceb4fc25922e35a750e1fe33a181754429..50bdd2c678acc89748882c1735beda9cae7c1358 100644
|
| --- a/sdk/lib/_internal/pub/lib/src/dart.dart
|
| +++ b/sdk/lib/_internal/pub/lib/src/dart.dart
|
| @@ -59,6 +59,7 @@ abstract class CompilerProvider {
|
| Future compile(String entrypoint, CompilerProvider provider, {
|
| Iterable<String> commandLineOptions,
|
| bool checked: false,
|
| + bool csp: false,
|
| bool minify: true,
|
| bool verbose: false,
|
| Map<String, String> environment,
|
| @@ -73,6 +74,7 @@ Future compile(String entrypoint, CompilerProvider provider, {
|
| return syncFuture(() {
|
| var options = <String>['--categories=Client,Server'];
|
| if (checked) options.add('--enable-checked-mode');
|
| + if (csp) options.add('--csp');
|
| if (minify) options.add('--minify');
|
| if (verbose) options.add('--verbose');
|
| if (analyzeAll) options.add('--analyze-all');
|
|
|