Chromium Code Reviews| Index: mojo/public/tools/bindings/mojom.gni |
| diff --git a/mojo/public/tools/bindings/mojom.gni b/mojo/public/tools/bindings/mojom.gni |
| index be36cb49d6200e1ea6742b1bceeb4a5bcbd6aba6..757e06efb07ddc62b41aa28ec3ce358050db1ce9 100644 |
| --- a/mojo/public/tools/bindings/mojom.gni |
| +++ b/mojo/public/tools/bindings/mojom.gni |
| @@ -204,6 +204,10 @@ template("mojom") { |
| full_name = get_label_info("$d", "label_no_toolchain") |
| public_deps += [ "${full_name}_${shared_cpp_sources_suffix}" ] |
| } |
| + defines = [] |
| + if (defined(invoker.export_define)) { |
| + defines += [ invoker.export_define ] |
|
dcheng
2016/09/21 23:21:03
I'm not actually sure this is the best fix. The pr
|
| + } |
| } |
| # Generate code for variants. |