From 80ccb86e6b177b0f11c1c2a04154bc9f3bd27ff3 Mon Sep 17 00:00:00 2001 From: Natalie Jameson Date: Tue, 13 Aug 2024 10:37:22 -0700 Subject: [PATCH] Rebase on 4.8.2 --- rules/library.bzl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rules/library.bzl b/rules/library.bzl index fabac7b..6fdb376 100644 --- a/rules/library.bzl +++ b/rules/library.bzl @@ -995,6 +995,11 @@ def apple_library( generated_swift_header_name = module_name + "-Swift.h" if module_map: + # NOTE(nmj): Need to make sure that both the extended and the regular + # modulemap are included as inputs, otherwise swiftc compilation + # will fail. + swiftc_inputs.append(module_map) + extend_modulemap( name = module_map + ".extended." + name, destination = "%s.extended.modulemap" % name,