Files
rk35xx-android14/packages/modules/Virtualization/vm_payload/stub
hmz007 36ed224bac Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a)
Signed-off-by: hmz007 <hmz007@gmail.com>
Change-Id: Ib87fdbe7a0be7dc961af3500fe9ea4589a127f9f
2024-10-29 18:12:02 +08:00
..

The stub.c file here is a checked-in version of a generated code file.

It is not needed when building a payload client in the Android build
system. The build system will automatically generated it (from
libvm_payload.map.txt) and then compile it to form the stub version of
libvm_payload.so. Clients link against the stub, but at runtime they
will use the real libvm_payload.so provided by Microdroid.

This file is here to support non-Android build systems, to allow a
suitable stub libvm_payload.so to be built.

To update this file, something like the following should work:

lunch aosp_arm64-eng
m MicrodroidTestNativeLib

The generated stub file can then be found at out/soong/.intermediates/packages/modules/Virtualization/vm_payload/libvm_payload/android_arm64_armv8-a_shared_current/gen/stub.c