@@ -632,6 +632,11 @@ def emit_module_path_EQ : Joined<["-"], "emit-module-path=">,
632
632
Flags<[FrontendOption, NoInteractiveOption, ArgumentIsPath,
633
633
SupplementaryOutput, CacheInvariant]>,
634
634
Alias<emit_module_path>;
635
+ def emit_variant_module_path : Separate<["-"], "emit-variant-module-path">,
636
+ Flags<[NoInteractiveOption, ArgumentIsPath, SupplementaryOutput,
637
+ CacheInvariant, NewDriverOnlyOption]>,
638
+ MetaVarName<"<path>">,
639
+ HelpText<"Emit an importable module for the target variant at the specified path">;
635
640
636
641
def emit_module_summary :
637
642
Flag<["-"], "emit-module-summary">,
@@ -652,18 +657,35 @@ def emit_module_interface_path :
652
657
Flags<[FrontendOption, NoInteractiveOption, ArgumentIsPath,
653
658
SupplementaryOutput, CacheInvariant]>,
654
659
MetaVarName<"<path>">, HelpText<"Output module interface file to <path>">;
660
+ def emit_variant_module_interface_path :
661
+ Separate<["-"], "emit-variant-module-interface-path">,
662
+ Flags<[FrontendOption, NoInteractiveOption, ArgumentIsPath,
663
+ SupplementaryOutput, CacheInvariant, NewDriverOnlyOption]>,
664
+ MetaVarName<"<path>">, HelpText<"Output module interface file for the target variant to <path>">;
655
665
656
666
def emit_private_module_interface_path :
657
667
Separate<["-"], "emit-private-module-interface-path">,
658
668
Flags<[FrontendOption, NoInteractiveOption, HelpHidden,
659
669
ArgumentIsPath, SupplementaryOutput, CacheInvariant]>,
660
670
MetaVarName<"<path>">, HelpText<"Output private module interface file to <path>">;
671
+ def emit_variant_private_module_interface_path :
672
+ Separate<["-"], "emit-variant-private-module-interface-path">,
673
+ Flags<[FrontendOption, NoInteractiveOption, ArgumentIsPath,
674
+ SupplementaryOutput, CacheInvariant, NewDriverOnlyOption]>,
675
+ MetaVarName<"<path>">,
676
+ HelpText<"Output private module interface file for the target variant to <path>">;
661
677
662
678
def emit_package_module_interface_path :
663
679
Separate<["-"], "emit-package-module-interface-path">,
664
680
Flags<[FrontendOption, NoInteractiveOption, HelpHidden,
665
681
ArgumentIsPath, SupplementaryOutput, CacheInvariant]>,
666
682
MetaVarName<"<path>">, HelpText<"Output package module interface file to <path>">;
683
+ def emit_variant_package_module_interface_path :
684
+ Separate<["-"], "emit-variant-package-module-interface-path">,
685
+ Flags<[FrontendOption, NoInteractiveOption, ArgumentIsPath,
686
+ SupplementaryOutput, CacheInvariant, NewDriverOnlyOption]>,
687
+ MetaVarName<"<path>">,
688
+ HelpText<"Output package module interface file for the target variant to <path>">;
667
689
668
690
def verify_emitted_module_interface :
669
691
Flag<["-"], "verify-emitted-module-interface">,
@@ -685,6 +707,11 @@ def emit_module_source_info_path :
685
707
Flags<[FrontendOption, NoInteractiveOption, ArgumentIsPath,
686
708
SupplementaryOutput]>,
687
709
MetaVarName<"<path>">, HelpText<"Output module source info file to <path>">;
710
+ def emit_variant_module_source_info_path :
711
+ Separate<["-"], "emit-variant-module-source-info-path">,
712
+ Flags<[FrontendOption, NoInteractiveOption, ArgumentIsPath,
713
+ SupplementaryOutput, NewDriverOnlyOption]>,
714
+ MetaVarName<"<path>">, HelpText<"Output module source info file for the target variant to <path>">;
688
715
689
716
def emit_parseable_module_interface :
690
717
Flag<["-"], "emit-parseable-module-interface">,
@@ -715,6 +742,12 @@ def emit_api_descriptor_path :
715
742
SupplementaryOutput, CacheInvariant]>,
716
743
MetaVarName<"<path>">,
717
744
HelpText<"Output a JSON file describing the module's API to <path>">;
745
+ def emit_variant_api_descriptor_path :
746
+ Separate<["-"], "emit-variant-api-descriptor-path">,
747
+ Flags<[FrontendOption, NoInteractiveOption, ArgumentIsPath,
748
+ SupplementaryOutput, CacheInvariant, NewDriverOnlyOption]>,
749
+ MetaVarName<"<path>">,
750
+ HelpText<"Output a JSON file describing the target variant module's API to <path>">;
718
751
719
752
def emit_objc_header : Flag<["-"], "emit-objc-header">,
720
753
Flags<[FrontendOption, NoInteractiveOption, SupplementaryOutput]>,
0 commit comments