File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -241,6 +241,9 @@ def to_gn_args(args):
241
241
gn_args ['dart_platform_sdk' ] = not args .full_dart_sdk
242
242
gn_args ['full_dart_sdk' ] = args .full_dart_sdk
243
243
244
+ if sys .platform == 'darwin' :
245
+ gn_args ['mac_sdk_path' ] = args .mac_sdk_path
246
+
244
247
return gn_args
245
248
246
249
def parse_args (args ):
@@ -296,6 +299,9 @@ def parse_args(args):
296
299
help = 'include trained dart2js and dartdevc snapshots. Enable only on steps that create an SDK' )
297
300
parser .add_argument ('--no-full-dart-sdk' , dest = 'full_dart_sdk' , action = 'store_false' )
298
301
302
+ parser .add_argument ('--mac-sdk-path' , default = '' , type = str ,
303
+ help = 'On the mac, the SDK is inferred from the Xcode location unless this flag is specified.' )
304
+
299
305
return parser .parse_args (args )
300
306
301
307
def main (argv ):
You can’t perform that action at this time.
0 commit comments