• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

readme.txtD25-Apr-2025811 1812

stub.cD25-Apr-2025639 1615

readme.txt

1The stub.c file here is a checked-in version of a generated code file.
2
3It is not needed when building a payload client in the Android build
4system. The build system will automatically generated it (from
5libvm_payload.map.txt) and then compile it to form the stub version of
6libvm_payload.so. Clients link against the stub, but at runtime they
7will use the real libvm_payload.so provided by Microdroid.
8
9This file is here to support non-Android build systems, to allow a
10suitable stub libvm_payload.so to be built.
11
12To update this file, something like the following should work:
13
14lunch aosp_arm64-eng
15m MicrodroidTestNativeLib
16
17The 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
18