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

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

Issue 2400313002: Convert miscellaneous RenderThreadImpl messages to mojom (Closed)
Patch Set: rebase 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
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | mojo/public/tools/bindings/mojom.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/tools/bindings/chromium_bindings_configuration.gni
diff --git a/mojo/public/tools/bindings/chromium_bindings_configuration.gni b/mojo/public/tools/bindings/chromium_bindings_configuration.gni
index d8cc54de6b59dd8452fb338423166f56d691823f..ce0a11c07001c782002ebf7cdb7babdde53056b6 100644
--- a/mojo/public/tools/bindings/chromium_bindings_configuration.gni
+++ b/mojo/public/tools/bindings/chromium_bindings_configuration.gni
@@ -30,8 +30,10 @@ _typemap_imports = [
"//ui/gfx/typemaps.gni",
"//url/mojo/typemaps.gni",
]
-_typemaps = []
+_typemap_imports_mac = [ "//content/common/typemaps_mac.gni" ]
+
+_typemaps = []
foreach(typemap_import, _typemap_imports) {
# Avoid reassignment error by assigning to empty scope first.
_imported = {
@@ -44,3 +46,16 @@ typemaps = []
foreach(typemap, _typemaps) {
typemaps += [ read_file(typemap, "scope") ]
}
+
+_typemaps_mac = []
+foreach(typemap_import, _typemap_imports_mac) {
+ _imported = {
+ }
+ _imported = read_file(typemap_import, "scope")
+ _typemaps_mac += _imported.typemaps
+}
+
+typemaps_mac = []
+foreach(typemap, _typemaps_mac) {
+ typemaps_mac += [ read_file(typemap, "scope") ]
+}
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | mojo/public/tools/bindings/mojom.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698