| 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) {
|
|
|