Skip to content

Commit f836048

Browse files
committed
[gn] port 6fd27d5 (no more module.modulemap.in)
1 parent f33f66b commit f836048

File tree

1 file changed

+1
-9
lines changed
  • llvm/utils/gn/secondary/libcxx/include

1 file changed

+1
-9
lines changed

llvm/utils/gn/secondary/libcxx/include/BUILD.gn

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,6 @@ if (current_toolchain == default_toolchain) {
5858
}
5959
}
6060

61-
write_cmake_config("write_modulemap") {
62-
input = "module.modulemap.in"
63-
output = "$libcxx_generated_include_dir/module.modulemap"
64-
65-
#no = "requires LIBCXX_CONFIGURED_WITHOUT_SUPPORT_FOR_THIS_HEADER"
66-
values = []
67-
}
68-
6961
# This uses write_cmake_config() instead of a normal copy() rule because
7062
# copy() uses `sources`, and if there's more than one `sources` in a file,
7163
# sync_source_lists_from_cmake.py can't auto-sync changes.
@@ -1042,6 +1034,7 @@ if (current_toolchain == default_toolchain) {
10421034
"mdspan",
10431035
"memory",
10441036
"memory_resource",
1037+
"module.modulemap",
10451038
"mutex",
10461039
"new",
10471040
"numbers",
@@ -1097,7 +1090,6 @@ if (current_toolchain == default_toolchain) {
10971090
deps = [
10981091
":write_assertion_handler",
10991092
":write_config_site",
1100-
":write_modulemap",
11011093
]
11021094
if (target_os != "mac" && target_os != "win") {
11031095
# libcxx/cmake/Modules/HandleLibCXXABI.cmake sets

0 commit comments

Comments
 (0)