Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-27794

Android: Improve kroll-apt incremental build times with SDK

    Details

    • Story Points:
      5
    • Sprint:
      2020 Sprint 5

      Description

      Summary:
      The Titanium SDK incremental build times should be improved. Every time we make a Java code change in the Titanium SDK library, our "kroll-apt" Java annotation processor always re-generates C++ files for all Java proxies in our library, even if the proxy classes haven't changed.

      Note:
      On my machine, the build system recognizes that the re-generated C++ files haven't changed since the last build and does an incremental C++ build. On Gary Mathews' machine, the C++ incremental build does not work at all and recompiles all C++ files.

      Incremental build times after making a Java code changes takes 20s for me and ~1 minute for Gary.

      To-Do:
      When our "kroll-apt" Java annotation processor reads all @Kroll annotations, it should read the last written JSON bindings file to see if the bindings have changed since the last build. If not, do not re-generate the proxy C++ files... unless the files are missing.

        Attachments

          Activity

            People

            • Assignee:
              jquick Joshua Quick
              Reporter:
              jquick Joshua Quick
              Reviewer:
              Gary Mathews
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Integration