We included all product definition Makefiles in this file. The AOSP build system will start to search all product definitions using this file. The following is the content of AndroidProducts.mk:
PRODUCT_MAKEFILES := \ $(LOCAL_DIR)/x86emu_x86.mk \ $(LOCAL_DIR)/x86emu_x86_64.mk \
As we can see, we defined two product variants for x86 and x86_64 builds.
Both x86emu_x86.mk and x86emu_x86_64.mk are very similar. They define the same set of product definition variables for 32 bit and 64 bit.
The following table compares the product definition Makefiles for 32-bit and 64-bit build:
x86emu_x86.mk |
x86emu_x86_64.mk |
$(call inherit-product, device/generic/x86emu/device.mk)$(call inherit-product, $(SRC_TARGET_DIR)/product/full.mk) ... |