Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19414] Windows: Improve compile time of WindowsNativeModuleLoader for Native API access

GitHub Issuen/a
TypeImprovement
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2015-09-14T17:29:26.000+0000
Affected Version/sRelease 5.0.0
Fix Version/sRelease 5.1.0
ComponentsTooling, Windows
Labelsn/a
ReporterChristopher Williams
AssigneeChristopher Williams
Created2015-08-26T17:44:06.000+0000
Updated2017-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.

Comments

  1. Lee Morris 2017-03-14

    Closing ticket as fixed.

JSON Source