@@ -625,6 +625,11 @@ def emit_module_path_EQ : Joined<["-"], "emit-module-path=">,
625
625
Flags<[FrontendOption, NoInteractiveOption, ArgumentIsPath,
626
626
SupplementaryOutput, CacheInvariant]>,
627
627
Alias<emit_module_path>;
628
+ def emit_variant_module_path : Separate<["-"], "emit-variant-module-path">,
629
+ Flags<[NoInteractiveOption, ArgumentIsPath, SupplementaryOutput,
630
+ CacheInvariant, NewDriverOnlyOption]>,
631
+ MetaVarName<"<path>">,
632
+ HelpText<"Emit an importable module for the target variant at the specified path">;
628
633
629
634
def emit_module_summary :
630
635
Flag<["-"], "emit-module-summary">,
@@ -645,18 +650,35 @@ def emit_module_interface_path :
645
650
Flags<[FrontendOption, NoInteractiveOption, ArgumentIsPath,
646
651
SupplementaryOutput, CacheInvariant]>,
647
652
MetaVarName<"<path>">, HelpText<"Output module interface file to <path>">;
653
+ def emit_variant_module_interface_path :
654
+ Separate<["-"], "emit-variant-module-interface-path">,
655
+ Flags<[FrontendOption, NoInteractiveOption, ArgumentIsPath,
656
+ SupplementaryOutput, CacheInvariant, NewDriverOnlyOption]>,
657
+ MetaVarName<"<path>">, HelpText<"Output module interface file for the target variant to <path>">;
648
658
649
659
def emit_private_module_interface_path :
650
660
Separate<["-"], "emit-private-module-interface-path">,
651
661
Flags<[FrontendOption, NoInteractiveOption, HelpHidden,
652
662
ArgumentIsPath, SupplementaryOutput, CacheInvariant]>,
653
663
MetaVarName<"<path>">, HelpText<"Output private module interface file to <path>">;
664
+ def emit_variant_private_module_interface_path :
665
+ Separate<["-"], "emit-variant-private-module-interface-path">,
666
+ Flags<[FrontendOption, NoInteractiveOption, ArgumentIsPath,
667
+ SupplementaryOutput, CacheInvariant, NewDriverOnlyOption]>,
668
+ MetaVarName<"<path>">,
669
+ HelpText<"Output private module interface file for the target variant to <path>">;
654
670
655
671
def emit_package_module_interface_path :
656
672
Separate<["-"], "emit-package-module-interface-path">,
657
673
Flags<[FrontendOption, NoInteractiveOption, HelpHidden,
658
674
ArgumentIsPath, SupplementaryOutput, CacheInvariant]>,
659
675
MetaVarName<"<path>">, HelpText<"Output package module interface file to <path>">;
676
+ def emit_variant_package_module_interface_path :
677
+ Separate<["-"], "emit-variant-package-module-interface-path">,
678
+ Flags<[FrontendOption, NoInteractiveOption, ArgumentIsPath,
679
+ SupplementaryOutput, CacheInvariant, NewDriverOnlyOption]>,
680
+ MetaVarName<"<path>">,
681
+ HelpText<"Output package module interface file for the target variant to <path>">;
660
682
661
683
def verify_emitted_module_interface :
662
684
Flag<["-"], "verify-emitted-module-interface">,
@@ -678,6 +700,11 @@ def emit_module_source_info_path :
678
700
Flags<[FrontendOption, NoInteractiveOption, ArgumentIsPath,
679
701
SupplementaryOutput]>,
680
702
MetaVarName<"<path>">, HelpText<"Output module source info file to <path>">;
703
+ def emit_variant_module_source_info_path :
704
+ Separate<["-"], "emit-variant-module-source-info-path">,
705
+ Flags<[FrontendOption, NoInteractiveOption, ArgumentIsPath,
706
+ SupplementaryOutput, NewDriverOnlyOption]>,
707
+ MetaVarName<"<path>">, HelpText<"Output module source info file for the target variant to <path>">;
681
708
682
709
def emit_parseable_module_interface :
683
710
Flag<["-"], "emit-parseable-module-interface">,
@@ -708,6 +735,12 @@ def emit_api_descriptor_path :
708
735
SupplementaryOutput, CacheInvariant]>,
709
736
MetaVarName<"<path>">,
710
737
HelpText<"Output a JSON file describing the module's API to <path>">;
738
+ def emit_variant_api_descriptor_path :
739
+ Separate<["-"], "emit-variant-api-descriptor-path">,
740
+ Flags<[FrontendOption, NoInteractiveOption, ArgumentIsPath,
741
+ SupplementaryOutput, CacheInvariant, NewDriverOnlyOption]>,
742
+ MetaVarName<"<path>">,
743
+ HelpText<"Output a JSON file describing the target variant module's API to <path>">;
711
744
712
745
def emit_objc_header : Flag<["-"], "emit-objc-header">,
713
746
Flags<[FrontendOption, NoInteractiveOption, SupplementaryOutput]>,
0 commit comments