commit | 6c70362a773eebb56e2c2c1b910015f4e6f8d0cb | [log] [tgz] |
---|---|---|
author | rockot <rockot@chromium.org> | Thu Dec 17 08:46:19 2015 +0900 |
committer | Qijiang Fan <fqj@google.com> | Fri Jun 05 02:05:29 2020 +0900 |
tree | ead8a90489b3e47f99532a48da358cfdba01acd6 | |
parent | 77427dfe6e7e2be7a0bdba7c899f6dd6601b7b80 [diff] |
[mojo] Add typemap and variant support to generators This introduces two new flags for the mojom bindings generator: --typemap can be used to provide typemap (JSON) files to the bindings generator. --variant specifies the name of the bindings variant to emit. Both of these new flags only affect C++ generation, and specifying --variant at all prevents JS or Java bindings from being emitted. Both of these new flags have GN mojom template variables associated with them as well. Part of a series of changes to support custom mojom serialization: 1. https://codereview.chromium.org/1515423002 2. This CL 3. https://codereview.chromium.org/1524693002 4. https://codereview.chromium.org/1520153002 5. https://codereview.chromium.org/1524613002 6. https://codereview.chromium.org/1526533002 7. https://codereview.chromium.org/1524703002 BUG=569669 Review URL: https://codereview.chromium.org/1517043004 Cr-Commit-Position: refs/heads/master@{#365674} CrOS-Libchrome-Original-Commit: 103fd974609482f3179a7a2c15d2d21760524fb2