1# Notes for updating `external/libffi` from source
2
3Note: AOSP has (or had) a platform/external/libffi used by Dalvik/MIPS.
4To avoid confusion, we call our version of the library libffi-cheets.
5
6## Files added for use in cheets:
7
8- `./Android.mk`
9- `./MODULE_LICENSE_BSD_LIKE`
10- `./NOTICE (copy of ./LICENSE)`
11- `./README.cheets.md`
12- `./linux-arm/ffi.h`
13- `./linux-arm/fficonfig.h`
14- `./linux-arm/ffitarget.h`
15- `./linux-x86/ffi.h`
16- `./linux-x86/fficonfig.h`
17- `./linux-x86/ffitarget.h`
18
19The `ffi.h`, `fficonfig.h`, and `ffitarget.h` files allow us to easily configure
20each build target.
21
22Note that Android.mk embeds the version of Wayland being built (ends up in src/wayland-version.h)
23
24## Files generated by the build process
25
26These files are generated by the Android.mk makefile into the source directory,
27and should not be checked in.
28
29### From `include/ffi.h.in`
30
31- `include/ffi.h`