Mojo dependencies on typemaps make componentization harder |
||
Issue descriptionThe current GN implementation requires the entire set of GNI/typemap files be pulled at build time. Because of that, pulling mojo to other projects not in Chromium (such as the SRT) requires pulling several directories that will not be used later (chrome/, content/, media/, ui/, and so on). It'd be great if we could make typemapping a build configuration option.
,
Feb 23 2017
People generally like typemapping quite a bit and it is likely that you may eventually want typemapping, just with your own configuration. For example, if you ever intend to pass URLs over your mojo interfaces, you would benefit from using the mojom and typemap in //url, which lets such message parameters use the GURL type directly and bakes in GURL-defined validation on deserialization. I think this can be raised as a separate issue if and when it's deemed necessary. Calling this one fixed. |
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Feb 23 2017