May 2017
Beginner to intermediate
470 pages
10h 49m
English
In the product definition Makefile, x86emu_x86.mk, we set the persist.sys.nativebridge property to 1. Then we copy all files under the $AOSP/device/generic/x86emu/system folder to the $OUT/system image. All the files under the $AOSP/device/generic/x86emu/system/lib/arm folder are a copy of the Houdini libraries:
... PRODUCT_PROPERTY_OVERRIDES := \ persist.sys.nativebridge=1 \ NB_PATH := $(LOCAL_PATH) NB_LIB_PATH := system/lib NB_ARM_PATH := $(NB_LIB_PATH)/arm NB_NBLIB_PATH := $(NB_ARM_PATH)/nb NB_BIN_PATH := system/bin PRODUCT_COPY_FILES += $(foreach LIB, $(filter-out nb liblog_legacy.so libbinder_legacy.so,\ $(notdir $(wildcard $(NB_PATH)/$(NB_ARM_PATH)/*))), $(NB_PATH)/$(NB_ARM_PATH)/$(LIB):$(NB_ARM_PATH)/$(LIB):intel) ...
Read now
Unlock full access