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") ] |
+} |