[TIMOB-28187] Android: Add C/C++ "prefab" support to Titanium AAR
| GitHub Issue | n/a |
|---|---|
| Type | Improvement |
| Priority | Low |
| Status | Open |
| Resolution | Unresolved |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Android |
| Labels | aar, android, build, gradle, ndk |
| Reporter | Joshua Quick |
| Assignee | Joshua Quick |
| Created | 2020-10-12T22:35:08.000+0000 |
| Updated | 2021-02-22T18:36:24.000+0000 |
Description
*Summary:*
Android Gradle Plugin v4.0.0 added the ability to import C/C++ "Prefab" packages from AAR libraries. This allows us to bundle C/C++ header files into the Titanium AAR for module builds instead of installing a separate
./android/native folder on the system.
https://developer.android.com/studio/build/native-dependencies
https://google.github.io/prefab/
*Note:*
This is intended to simplify module builds and makefile generation. The C/C++ header files bundled into the Titanium AAR will not end up in the app's built APK.
No comments