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

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

Issue 2901563002: chromeos: adds TouchDeviceServer and wires up in mushrome (Closed)
Patch Set: no temporary Created 3 years, 7 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
« no previous file with comments | « mojo/public/tools/bindings/chromium_bindings_configuration.gni ('k') | services/ui/input_devices/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/tools/bindings/mojom.gni
diff --git a/mojo/public/tools/bindings/mojom.gni b/mojo/public/tools/bindings/mojom.gni
index 8abf204275c754e657fbadfc598fe3ce58420492..1d3b81bfbe8208750b5bb7678713ba6b37549448 100644
--- a/mojo/public/tools/bindings/mojom.gni
+++ b/mojo/public/tools/bindings/mojom.gni
@@ -68,6 +68,13 @@ if (enable_mojom_typemapping) {
_typemap_config = typemap.config
read_file(_typemap_config.mojom, "")
}
+ } else if (is_chromeos && defined(configuration.typemaps_chromeos)) {
+ foreach(typemap, configuration.typemaps_chromeos) {
+ _typemap_config = {
+ }
+ _typemap_config = typemap.config
+ read_file(_typemap_config.mojom, "")
+ }
}
}
} else {
@@ -494,6 +501,16 @@ template("mojom") {
active_typemaps += [ typemap ]
}
}
+ } else if (is_chromeos &&
+ defined(bindings_configuration.typemaps_chromeos)) {
+ foreach(typemap, bindings_configuration.typemaps_chromeos) {
+ _typemap_config = {
+ }
+ _typemap_config = typemap.config
+ if (get_path_info(source, "abspath") == _typemap_config.mojom) {
+ active_typemaps += [ typemap ]
+ }
+ }
}
}
« no previous file with comments | « mojo/public/tools/bindings/chromium_bindings_configuration.gni ('k') | services/ui/input_devices/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698