Chromium Code Reviews

Unified Diff: mojo/public/tools/bindings/mojom.gni

Issue 2358133002: Turn //mojo/public/cpp/bindings and //mojo/public/cpp/system into components (Closed)
Patch Set: Windows build, warning free Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: mojo/public/tools/bindings/mojom.gni
diff --git a/mojo/public/tools/bindings/mojom.gni b/mojo/public/tools/bindings/mojom.gni
index be36cb49d6200e1ea6742b1bceeb4a5bcbd6aba6..757e06efb07ddc62b41aa28ec3ce358050db1ce9 100644
--- a/mojo/public/tools/bindings/mojom.gni
+++ b/mojo/public/tools/bindings/mojom.gni
@@ -204,6 +204,10 @@ template("mojom") {
full_name = get_label_info("$d", "label_no_toolchain")
public_deps += [ "${full_name}_${shared_cpp_sources_suffix}" ]
}
+ defines = []
+ if (defined(invoker.export_define)) {
+ defines += [ invoker.export_define ]
dcheng 2016/09/21 23:21:03 I'm not actually sure this is the best fix. The pr
+ }
}
# Generate code for variants.
« mojo/public/interfaces/bindings/BUILD.gn ('K') | « mojo/public/interfaces/bindings/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine