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

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

Issue 2477283002: Convert printing IPCs to Mojo
Patch Set: git cl format Created 4 years 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 d9d999a2c6aae0e61f9fcf361655b9ba6ac3e733..4d57e5b79e2926dc07efbbce4173b90652dd325a 100644
--- a/mojo/public/tools/bindings/mojom.gni
+++ b/mojo/public/tools/bindings/mojom.gni
@@ -47,6 +47,11 @@ foreach(configuration, _bindings_configurations) {
read_file(typemap.mojom, "")
}
}
+ if (is_win && defined(configuration.typemaps_win)) {
+ foreach(typemap, configuration.typemaps_win) {
+ read_file(typemap.mojom, "")
+ }
+ }
}
# Generates targets for building C++, JavaScript and Java bindings from mojom
@@ -296,6 +301,13 @@ template("mojom") {
}
}
}
+ if (is_win && defined(bindings_configuration.typemaps_win)) {
+ foreach(typemap, bindings_configuration.typemaps_win) {
+ if (get_path_info(source, "abspath") == typemap.mojom) {
+ active_typemaps += [ typemap ]
+ }
+ }
+ }
}
if (!cpp_only) {

Powered by Google App Engine
This is Rietveld 408576698