Alan Stokes | 6d1f56e | 2022-12-06 17:26:13 +0000 | [diff] [blame] | 1 | The stub.c file here is a checked-in version of a generated code file. |
| 2 | |
| 3 | It is not needed when building a payload client in the Android build |
| 4 | system. The build system will automatically generated it (from |
| 5 | libvm_payload.map.txt) and then compile it to form the stub version of |
| 6 | libvm_payload.so. Clients link against the stub, but at runtime they |
| 7 | will use the real libvm_payload.so provided by Microdroid. |
| 8 | |
| 9 | This file is here to support non-Android build systems, to allow a |
| 10 | suitable stub libvm_payload.so to be built. |
| 11 | |
| 12 | To update this file, something like the following should work: |
| 13 | |
| 14 | lunch aosp_arm64-eng |
| 15 | m MicrodroidTestNativeLib |
| 16 | |
Jiyong Park | b51c028 | 2024-07-22 12:58:26 +0900 | [diff] [blame] | 17 | The generated stub file can then be found at out/soong/.intermediates/packages/modules/Virtualization/libs/libvm_payload/libvm_payload/android_arm64_armv8-a_shared_current/gen/stub.c |