Remove `propagateModuleMapAsActionInput` from `CcCompilationContext`.
This field was always set to `true` in all call sites, making it effectively a constant. The logic in `CcCompilationContext.addAdditionalInputs` is simplified to always include the module map artifact if it exists. The corresponding Starlark parameter `propagate_module_map_to_compile_action` is also removed from `cc_common.bzl` and related files.
Works towards Starlarkification of CcCompilationContext.
PiperOrigin-RevId: 814131436
Change-Id: Iae39e9552e84ff8b028d5ed9686cbcd4178b2728
diff --git a/cc/private/rules_impl/objc_compilation_support.bzl b/cc/private/rules_impl/objc_compilation_support.bzl
index aaa347b..954f9d2 100644
--- a/cc/private/rules_impl/objc_compilation_support.bzl
+++ b/cc/private/rules_impl/objc_compilation_support.bzl
@@ -208,7 +208,6 @@
cxx_flags = common_variables.compilation_attributes.cxxopts,
conly_flags = common_variables.compilation_attributes.conlyopts,
module_map = module_map,
- propagate_module_map_to_compile_action = True,
variables_extension = extension,
language = "objc",
code_coverage_enabled = cc_helper.is_code_coverage_enabled(ctx = common_variables.ctx),