-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Code pre-generation support (#23763)
* Start implementing a pregenerator * Start moving pregenerate logic into a separate directory * Start adding some ability to figure out pregeneration output locations * Pregeneration for bridge seems to work * Add missing files * Restyle * Better log level logic * Pregeneration of java also exists * Allow pregeneration of cpp app data. Full codegen usage is now enabled * Move sdk root around * Make things run * Restyle * Parallel code pregen - can do pregen in 1.08 seconds on my machine * Restyle * Make sure pregen folders are split * Pregeneration compile when using GN works * Restyle * Direct pregen usage works now * Restyle * Minor sort * Add support for both pregen and no pregen * Restyle * Fix pregen dir output logic * Support pregenerated directory in build_examples.py * Fix gn build logic * Somewhat simpler code for parallel vs serial codegen * Use imap_unordered to not care about actual parallel generation order * Also fix java jni codegen with pregenerated data * Fix java compilation deps: java codegen uses data model files * NRF now can use pregen folder * Allow telink to also use a pregen dir * Better shell escape, make mbedos cmake flags work with pregen dir * Restyle * Add pregen support for esp32 as well * Add a test for esp32 pregeneration support * Also test pregen support in linux builds (to check gn builds) * Remove unused file * Fix spelling * Fix esp32 compilation - gn arguments need to be passed from cmake * Fix some define forwarding logic in codegen * Make sure java build config (which includes header paths) is set as a config and applies to generated sources * java build config should apply to all sources, not just transitively * Restyle * Replace codege with codegen. * Fix naming typo * Update text for build steps * Update spacing logic to make the code cleaner. The nospace args is odd
- Loading branch information
Showing
19 changed files
with
661 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.