@@ -366,27 +366,6 @@ class BuildScriptInvocation(object):
366
366
args .skip_test_tvos = True
367
367
args .skip_test_watchos = True
368
368
369
- # --build-swift-stdlib and --build-swift-sdk-overlay are deprecated
370
- # aliases for --build-swift-{dynamic,static}-stdlib and
371
- # --build-swift-{dynamic,static}-sdk-overlay. The deprecated options
372
- # are None by default, but if specified they take precedence over the
373
- # new, more granular options.
374
- if args .build_swift_stdlib is not None :
375
- if args .build_swift_stdlib :
376
- args .build_swift_dynamic_stdlib = True
377
- args .build_swift_static_stdlib = False
378
- else :
379
- args .build_swift_dynamic_stdlib = False
380
- args .build_swift_static_stdlib = False
381
-
382
- if args .build_swift_sdk_overlay is not None :
383
- if args .build_swift_sdk_overlay :
384
- args .build_swift_dynamic_sdk_overlay = True
385
- args .build_swift_static_sdk_overlay = False
386
- else :
387
- args .build_swift_dynamic_sdk_overlay = False
388
- args .build_swift_static_sdk_overlay = False
389
-
390
369
# --skip-test-ios is merely a shorthand for host and simulator tests.
391
370
if args .skip_test_ios :
392
371
args .skip_test_ios_host = True
@@ -1559,13 +1538,6 @@ details of the setups of other systems or automated environments.""")
1559
1538
1560
1539
run_build_group = parser .add_argument_group (
1561
1540
title = "Run build" )
1562
- run_build_group .add_argument (
1563
- "--build-swift-stdlib" ,
1564
- help = "a deprecated alias for '--build-swift-dynamic-stdlib=1 "
1565
- "--build-swift-static-stdlib=0'. When specified, this takes "
1566
- "precedence over those options" ,
1567
- action = arguments .action .optional_bool ,
1568
- default = None )
1569
1541
run_build_group .add_argument (
1570
1542
"--build-swift-dynamic-stdlib" ,
1571
1543
help = "build dynamic variants of the Swift standard library" ,
@@ -1575,13 +1547,6 @@ details of the setups of other systems or automated environments.""")
1575
1547
"--build-swift-static-stdlib" ,
1576
1548
help = "build static variants of the Swift standard library" ,
1577
1549
action = arguments .action .optional_bool )
1578
- run_build_group .add_argument (
1579
- "--build-swift-sdk-overlay" ,
1580
- help = "a deprecated alias for '--build-swift-dynamic-sdk-overlay=1 "
1581
- "--build-swift-static-sdk-overlay=0'. When specified, this takes "
1582
- "precedence over those options" ,
1583
- action = arguments .action .optional_bool ,
1584
- default = None )
1585
1550
run_build_group .add_argument (
1586
1551
"--build-swift-dynamic-sdk-overlay" ,
1587
1552
help = "build dynamic variants of the Swift SDK overlay" ,
0 commit comments