[TIMOB-19414] Windows: Improve compile time of WindowsNativeModuleLoader for Native API access
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-09-14T17:29:26.000+0000 |
Affected Version/s | Release 5.0.0 |
Fix Version/s | Release 5.1.0 |
Components | Tooling, Windows |
Labels | n/a |
Reporter | Christopher Williams |
Assignee | Christopher Williams |
Created | 2015-08-26T17:44:06.000+0000 |
Updated | 2017-03-14T20:15:40.000+0000 |
Description
Right now we have it include the headers for every wrapper type. But we could have it only include a minimal set. We already have the full dependency "graph" during generation of the native wrappers and this file, so we could potentially pare down the set of includes to be only the leaves of the dependency tree (i.e. If we include Windows.Ui.Xaml.Controls.TextBlock that will already include it's parent of Windows.UI.Xaml.Controls.FrameworkElement and on up the chain, so we don't need to include those in WindowsNativeModuleLoader).
The same trimming could be used in the generated proxy wrapper cpp files as well.
Closing ticket as fixed.