Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(126)

Unified Diff: mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl

Issue 2225673002: Support exporting Mojo bindings for the component build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix win_clang Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl
diff --git a/mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl b/mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl
index 3048d37d069ac297041f3f9f16fb540934a9c152..d21a6581ac3f81088368c41af435a7efa93aeb3a 100644
--- a/mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl
+++ b/mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl
@@ -99,6 +99,10 @@ struct DataViewTraits<{{kind|get_qualified_name_for_kind}}DataView> {
#include "{{header}}"
{%- endfor %}
+{%- if export_header %}
+#include "{{export_header}}"
+{%- endif %}
+
{#--- Enums #}
{%- if enums %}
{{namespace_begin()}}

Powered by Google App Engine
This is Rietveld 408576698