Notes for updating external/libffi from source

Note: AOSP has (or had) a platform/external/libffi used by Dalvik/MIPS. To avoid confusion, we call our version of the library libffi-cheets.

Files added for use in cheets:

  • ./
  • ./NOTICE (copy of ./LICENSE)
  • ./
  • ./linux-arm/ffi.h
  • ./linux-arm/fficonfig.h
  • ./linux-arm/ffitarget.h
  • ./linux-x86/ffi.h
  • ./linux-x86/fficonfig.h
  • ./linux-x86/ffitarget.h

The ffi.h, fficonfig.h, and ffitarget.h files allow us to easily configure each build target.

Note that embeds the version of Wayland being built (ends up in src/wayland-version.h)

Files generated by the build process

These files are generated by the makefile into the source directory, and should not be checked in.

From include/

  • include/ffi.h