blob: 3a0bd0249b2c4ebbd1c98be3281d774cdb257285 [file] [log] [blame]
Roman Kiryanov93b8d4b2021-02-08 10:32:22 -08001include device/generic/goldfish/x86_64-kernel.mk
bohu268c72f2018-06-09 08:19:08 -07002
3PRODUCT_PROPERTY_OVERRIDES += \
Bjoern Johanssonfda217c2018-06-14 16:02:30 -07004 vendor.rild.libpath=/vendor/lib/libgoldfish-ril.so
bohu268c72f2018-06-09 08:19:08 -07005
6# This is a build configuration for a full-featured build of the
7# Open-Source part of the tree. It's geared toward a US-centric
8# build quite specifically for the emulator, and might not be
9# entirely appropriate to inherit from for on-device configurations.
10PRODUCT_COPY_FILES += \
bohu2426e662020-10-11 21:40:33 -070011 device/generic/goldfish/data/etc/config.ini.xl:config.ini \
bohud0fb8a42019-03-07 22:41:54 -080012 device/generic/goldfish/data/etc/advancedFeatures.ini:advancedFeatures.ini \
bohu268c72f2018-06-09 08:19:08 -070013 device/generic/goldfish/data/etc/encryptionkey.img:encryptionkey.img \
Roman Kiryanov384060a2020-02-10 10:55:30 -080014 device/generic/goldfish/task_profiles.json:$(TARGET_COPY_OUT_VENDOR)/etc/task_profiles.json \
Roman Kiryanov93b8d4b2021-02-08 10:32:22 -080015 $(EMULATOR_KERNEL_FILE):kernel-ranchu-64
16
Kenneth Magic29b048b2019-03-29 11:50:08 -070017PRODUCT_SDK_ADDON_COPY_FILES += \
bohud0fb8a42019-03-07 22:41:54 -080018 device/generic/goldfish/data/etc/advancedFeatures.ini:images/x86/advancedFeatures.ini \
Kenneth Magic29b048b2019-03-29 11:50:08 -070019 device/generic/goldfish/data/etc/encryptionkey.img:images/x86/encryptionkey.img \
Roman Kiryanov93b8d4b2021-02-08 10:32:22 -080020 $(EMULATOR_KERNEL_FILE):images/x86/kernel-ranchu-64
bohu268c72f2018-06-09 08:19:08 -070021
bohu4860bf32020-08-29 19:46:04 -070022PRODUCT_PROPERTY_OVERRIDES += \
23 ro.crypto.dm_default_key.options_format.version=2
Bjoern Johansson6ba92a42019-06-24 14:23:48 -070024
bohub828dd52022-04-13 09:24:18 -070025PRODUCT_SHIPPING_API_LEVEL := 33
bohu2426e662020-10-11 21:40:33 -070026PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS := false
bohuee28af42018-08-02 12:55:41 -070027TARGET_USES_MKE2FS := true
bohuf9495cb2020-03-30 10:58:35 -070028
29ifeq ($(QEMU_DISABLE_AVB),true)
30 ifeq ($(QEMU_USE_SYSTEM_EXT_PARTITIONS),true)
31 PRODUCT_COPY_FILES += \
32 device/generic/goldfish/data/etc/dummy.vbmeta.img:$(PRODUCT_OUT)/vbmeta.img \
bohuf90ff782020-03-30 19:38:57 -070033 device/generic/goldfish/fstab.ranchu.initrd.noavb.ex:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/first_stage_ramdisk/fstab.ranchu \
34 device/generic/goldfish/fstab.ranchu.initrd.noavb.ex:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/fstab.ranchu \
bohuf9495cb2020-03-30 10:58:35 -070035 device/generic/goldfish/fstab.ranchu.noavb.ex:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.ranchu
36 else
37 PRODUCT_COPY_FILES += \
38 device/generic/goldfish/data/etc/dummy.vbmeta.img:$(PRODUCT_OUT)/vbmeta.img \
bohuf90ff782020-03-30 19:38:57 -070039 device/generic/goldfish/fstab.ranchu.initrd.noavb:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/first_stage_ramdisk/fstab.ranchu \
40 device/generic/goldfish/fstab.ranchu.initrd.noavb:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/fstab.ranchu \
bohuf9495cb2020-03-30 10:58:35 -070041 device/generic/goldfish/fstab.ranchu.noavb:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.ranchu
42 endif
43endif
44
45ifeq ($(QEMU_USE_SYSTEM_EXT_PARTITIONS),true)
46PRODUCT_COPY_FILES += \
bohuf90ff782020-03-30 19:38:57 -070047 device/generic/goldfish/fstab.ranchu.initrd.ex:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/first_stage_ramdisk/fstab.ranchu \
48 device/generic/goldfish/fstab.ranchu.initrd.ex:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/fstab.ranchu \
bohuf9495cb2020-03-30 10:58:35 -070049 device/generic/goldfish/fstab.ranchu.ex:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.ranchu
bohuf90ff782020-03-30 19:38:57 -070050else
51PRODUCT_COPY_FILES += \
52 device/generic/goldfish/fstab.ranchu.initrd:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/first_stage_ramdisk/fstab.ranchu \
53 device/generic/goldfish/fstab.ranchu.initrd:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/fstab.ranchu \
54 device/generic/goldfish/fstab.ranchu:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.ranchu
bohuf9495cb2020-03-30 10:58:35 -070055endif