@@ -100,15 +100,6 @@ class Options {
100
100
/// Whether the compiler is generating a dynamic module.
101
101
final bool dynamicModule;
102
102
103
- /// Raw precompiled macro options, each of the format
104
- /// `<program-uri>;<macro-library-uri>` .
105
- ///
106
- /// Multiple library URIs may be provided separated by additional semicolons.
107
- final List <String > precompiledMacros;
108
-
109
- /// The serialization mode to use for macro communication.
110
- final String ? macroSerializationMode;
111
-
112
103
Options ({
113
104
this .sourceMap = true ,
114
105
this .inlineSourceMap = false ,
@@ -129,8 +120,6 @@ class Options {
129
120
this .experiments = const {},
130
121
this .canaryFeatures = false ,
131
122
this .dynamicModule = false ,
132
- this .precompiledMacros = const [],
133
- this .macroSerializationMode,
134
123
}) : emitLibraryBundle =
135
124
canaryFeatures &&
136
125
moduleFormats.length == 1 &&
@@ -165,8 +154,6 @@ class Options {
165
154
),
166
155
canaryFeatures: args['canary' ] as bool ,
167
156
dynamicModule: args['dynamic-module' ] as bool ,
168
- precompiledMacros: args['precompiled-macro' ] as List <String >,
169
- macroSerializationMode: args['macro-serialization-mode' ] as String ? ,
170
157
);
171
158
172
159
Options .fromSdkRequiredArguments (ArgResults args)
@@ -282,23 +269,6 @@ class Options {
282
269
'checks.' ,
283
270
hide: true ,
284
271
)
285
- ..addMultiOption (
286
- 'precompiled-macro' ,
287
- help:
288
- 'Configuration for precompiled macro binaries or kernel files.\n '
289
- 'The expected format of this option is as follows: '
290
- '<absolute-path-to-binary>;<macro-library-uri>\n For example: '
291
- '--precompiled-macro="/path/to/compiled/macro;'
292
- 'package:some_macro/some_macro.dart". Multiple library uris may be '
293
- 'passed as well (separated by semicolons).' ,
294
- hide: true ,
295
- )
296
- ..addOption (
297
- 'macro-serialization-mode' ,
298
- help: 'The serialization mode for communicating with macros.' ,
299
- allowed: ['bytedata' , 'json' ],
300
- defaultsTo: 'bytedata' ,
301
- )
302
272
..addFlag (
303
273
'dynamic-module' ,
304
274
help: 'Compile to generate a dynamic module' ,
0 commit comments