aosp编译houdini实现兼容x86库
阳性期间弄的这个东西,我头都大了
首先我们自己弄一个combo

仿照aosp x86弄的
在device/generic里面创建一下我自己的版本,然后把这几个文件写好,我是从build/target/product和build/target/board里面复制过来的

这样就可以得到一个自己的编译版本
然后在device/generic/common目录下,下载android x86提供的enable_nativebright
地址在这https://osdn.net/projects/android-x86/scm/
git clone https://scm.osdn.net/gitroot/android-x86/device-generic-common.git
把这个下载下来
然后配置编译,可以参考这个https://github.com/shugaoye/x86emu/tree/android-7.1.1_r4_x86emu_ch04_r1
编译好的aosp的system/lib/arm下需要有一些so库,我们手动弄,https://github.com/Rprop/libhoudini或者https://github.com/SGNight/Arm-NativeBridge
下载对应版本,用unsquashfs解压出来,然后把里面的内容复制到system/lib/arm下。

浙公网安备 33010602011771号