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

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

Issue 2370643004: Port messages sent by WebIDBFactoryImpl to Mojo. (Closed)
Patch Set: Address last nits and fix leaks in unit tests. Created 4 years, 2 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/mojom.gni
diff --git a/mojo/public/tools/bindings/mojom.gni b/mojo/public/tools/bindings/mojom.gni
index d8302ec6f5b914e67b0bb626f9ca882a99deb93d..08f2c9d5ea0a35f992525fefd7feb64c6ada56bb 100644
--- a/mojo/public/tools/bindings/mojom.gni
+++ b/mojo/public/tools/bindings/mojom.gni
@@ -84,6 +84,9 @@ foreach(configuration, _bindings_configurations) {
# - convert all users to use the new mode;
# - remove support for the old mode.
#
+# cpp_only (optional)
+# If set to true, only the C++ bindings targets will be generated.
+#
# The following parameters are used to support the component build. They are
# needed so that bindings which are linked with a component can use the same
# export settings for classes. The first three are for the chromium variant, and
@@ -214,6 +217,9 @@ template("mojom") {
# Generate code for variants.
foreach(bindings_configuration, _bindings_configurations) {
cpp_only = false
+ if (defined(invoker.cpp_only)) {
+ cpp_only = invoker.cpp_only
+ }
variant_suffix = ""
if (defined(bindings_configuration.variant)) {
variant = bindings_configuration.variant

Powered by Google App Engine
This is Rietveld 408576698