If a propagated .swiftmodule is ever in a directory-based layout (Name.swiftmodule/$TARGET.swiftmodule), then we need to add the path to the directory containing the top-level module directory, not the path to the .swiftmodule directory itself.
PiperOrigin-RevId: 456263364
(cherry picked from commit 21580ead964dc0e2690ba4bb64ede3293881e258)
If a propagated
.swiftmodule
is ever in a directory-based layout (Name.swiftmodule/$TARGET.swiftmodule
), then we need to add the path to the directory containing the top-level module directory, not the path to the.swiftmodule
directory itself.PiperOrigin-RevId: 456263364 (cherry picked from commit 21580ead964dc0e2690ba4bb64ede3293881e258)