[gn] port 6fd27d5b0321f (no more module.modulemap.in)

This commit is contained in:
Nico Weber 2024-03-05 12:02:30 -05:00
parent f33f66be7d
commit f836048a2b

View File

@ -58,14 +58,6 @@ if (current_toolchain == default_toolchain) {
}
}
write_cmake_config("write_modulemap") {
input = "module.modulemap.in"
output = "$libcxx_generated_include_dir/module.modulemap"
#no = "requires LIBCXX_CONFIGURED_WITHOUT_SUPPORT_FOR_THIS_HEADER"
values = []
}
# This uses write_cmake_config() instead of a normal copy() rule because
# copy() uses `sources`, and if there's more than one `sources` in a file,
# sync_source_lists_from_cmake.py can't auto-sync changes.
@ -1042,6 +1034,7 @@ if (current_toolchain == default_toolchain) {
"mdspan",
"memory",
"memory_resource",
"module.modulemap",
"mutex",
"new",
"numbers",
@ -1097,7 +1090,6 @@ if (current_toolchain == default_toolchain) {
deps = [
":write_assertion_handler",
":write_config_site",
":write_modulemap",
]
if (target_os != "mac" && target_os != "win") {
# libcxx/cmake/Modules/HandleLibCXXABI.cmake sets