aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/include
diff options
context:
space:
mode:
Diffstat (limited to 'templates/include')
-rw-r--r--templates/include/grpc/module.modulemap.template3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/include/grpc/module.modulemap.template b/templates/include/grpc/module.modulemap.template
index 9dde240e43..e18bc3de50 100644
--- a/templates/include/grpc/module.modulemap.template
+++ b/templates/include/grpc/module.modulemap.template
@@ -27,6 +27,9 @@
out = [hdr.split('/', 2)[2] for hdr in out]
return out
+ # Generate the list of platform-specific headers as textual headers so that
+ # they are not built when the module is built but only when they are named by
+ # an #include directive.
def grpc_public_textual_headers_no_dir(libs):
out = []
for lib in libs: