1PRODUCT_KERNEL_VERSION := 5.4 2BOARD_VENDOR_RAMDISK_KERNEL_MODULES += \ 3 $(wildcard prebuilts/qemu-kernel/x86_64/$(PRODUCT_KERNEL_VERSION)/ko/*.ko) 4 5PRODUCT_PROPERTY_OVERRIDES += \ 6 vendor.rild.libpath=/vendor/lib/libgoldfish-ril.so 7 8# This is a build configuration for a full-featured build of the 9# Open-Source part of the tree. It's geared toward a US-centric 10# build quite specifically for the emulator, and might not be 11# entirely appropriate to inherit from for on-device configurations. 12PRODUCT_COPY_FILES += \ 13 device/generic/goldfish/data/etc/config.ini.nexus5:config.ini \ 14 device/generic/goldfish/data/etc/advancedFeatures.ini:advancedFeatures.ini \ 15 device/generic/goldfish/data/etc/encryptionkey.img:encryptionkey.img \ 16 device/generic/goldfish/task_profiles.json:$(TARGET_COPY_OUT_VENDOR)/etc/task_profiles.json \ 17 prebuilts/qemu-kernel/x86_64/$(PRODUCT_KERNEL_VERSION)/kernel-qemu2:kernel-ranchu-64 18PRODUCT_SDK_ADDON_COPY_FILES += \ 19 device/generic/goldfish/data/etc/advancedFeatures.ini:images/x86/advancedFeatures.ini \ 20 device/generic/goldfish/data/etc/encryptionkey.img:images/x86/encryptionkey.img \ 21 prebuilts/qemu-kernel/x86_64/$(PRODUCT_KERNEL_VERSION)/kernel-qemu2:images/x86/kernel-ranchu-64 22 23PRODUCT_PACKAGES += \ 24 emulatorip 25 26 27PRODUCT_SHIPPING_API_LEVEL := 28 28TARGET_USES_MKE2FS := true 29 30ifeq ($(QEMU_DISABLE_AVB),true) 31 ifeq ($(QEMU_USE_SYSTEM_EXT_PARTITIONS),true) 32 PRODUCT_COPY_FILES += \ 33 device/generic/goldfish/data/etc/dummy.vbmeta.img:$(PRODUCT_OUT)/vbmeta.img \ 34 device/generic/goldfish/fstab.ranchu.initrd.noavb.ex:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/first_stage_ramdisk/fstab.ranchu \ 35 device/generic/goldfish/fstab.ranchu.initrd.noavb.ex:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/fstab.ranchu \ 36 device/generic/goldfish/fstab.ranchu.noavb.ex:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.ranchu 37 else 38 PRODUCT_COPY_FILES += \ 39 device/generic/goldfish/data/etc/dummy.vbmeta.img:$(PRODUCT_OUT)/vbmeta.img \ 40 device/generic/goldfish/fstab.ranchu.initrd.noavb:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/first_stage_ramdisk/fstab.ranchu \ 41 device/generic/goldfish/fstab.ranchu.initrd.noavb:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/fstab.ranchu \ 42 device/generic/goldfish/fstab.ranchu.noavb:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.ranchu 43 endif 44endif 45 46ifeq ($(QEMU_USE_SYSTEM_EXT_PARTITIONS),true) 47PRODUCT_COPY_FILES += \ 48 device/generic/goldfish/fstab.ranchu.initrd.ex:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/first_stage_ramdisk/fstab.ranchu \ 49 device/generic/goldfish/fstab.ranchu.initrd.ex:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/fstab.ranchu \ 50 device/generic/goldfish/fstab.ranchu.ex:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.ranchu 51else 52PRODUCT_COPY_FILES += \ 53 device/generic/goldfish/fstab.ranchu.initrd:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/first_stage_ramdisk/fstab.ranchu \ 54 device/generic/goldfish/fstab.ranchu.initrd:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/fstab.ranchu \ 55 device/generic/goldfish/fstab.ranchu:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.ranchu 56endif 57