blob: b2a169a89d79a47e038ca73cb9978b3b859942c8 [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/lib64/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 += \
bohu88ab6b72020-02-26 09:19:53 -080011 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
bohuf90ff782020-03-30 19:38:57 -070016
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_64/advancedFeatures.ini \
Kenneth Magic29b048b2019-03-29 11:50:08 -070019 device/generic/goldfish/data/etc/encryptionkey.img:images/x86_64/encryptionkey.img \
Roman Kiryanov93b8d4b2021-02-08 10:32:22 -080020 $(EMULATOR_KERNEL_FILE):images/x86_64/kernel-ranchu
bohu268c72f2018-06-09 08:19:08 -070021
Bjoern Johanssonc6712aa2019-06-24 14:23:48 -070022PRODUCT_COPY_FILES += \
Yo Chiang4c742972020-04-13 16:45:11 +080023 device/generic/goldfish/data/etc/configs/gpu.config:data/misc/gceconfigs/gpu.config
24
bohu6f909dd2021-01-29 15:32:55 -080025# a hack to reduce presubmit time where CTS tries to install media files one by one
26# taking more than 30 minutes; following is just the list of files needed by current
27# tests on presubmit
28PRODUCT_COPY_FILES += \
29 device/generic/goldfish/data/media/test/swirl_136x144_mpeg4.mp4:data/media/0/test/CtsMediaTestCases-1.4/swirl_136x144_mpeg4.mp4 \
30 device/generic/goldfish/data/media/test/swirl_132x130_mpeg4.mp4:data/media/0/test/CtsMediaTestCases-1.4/swirl_132x130_mpeg4.mp4 \
31 device/generic/goldfish/data/media/test/swirl_130x132_mpeg4.mp4:data/media/0/test/CtsMediaTestCases-1.4/swirl_130x132_mpeg4.mp4 \
32 device/generic/goldfish/data/media/test/swirl_144x136_mpeg4.mp4:data/media/0/test/CtsMediaTestCases-1.4/swirl_144x136_mpeg4.mp4 \
33 device/generic/goldfish/data/media/test/swirl_128x128_mpeg4.mp4:data/media/0/test/CtsMediaTestCases-1.4/swirl_128x128_mpeg4.mp4
34
bohu4860bf32020-08-29 19:46:04 -070035PRODUCT_PROPERTY_OVERRIDES += \
36 ro.crypto.dm_default_key.options_format.version=2
37
bohub828dd52022-04-13 09:24:18 -070038PRODUCT_SHIPPING_API_LEVEL := 33
bohu2426e662020-10-11 21:40:33 -070039PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS := false
bohuee28af42018-08-02 12:55:41 -070040TARGET_USES_MKE2FS := true
bohuf9495cb2020-03-30 10:58:35 -070041
bohuf90ff782020-03-30 19:38:57 -070042
bohuf9495cb2020-03-30 10:58:35 -070043ifeq ($(QEMU_DISABLE_AVB),true)
44 ifeq ($(QEMU_USE_SYSTEM_EXT_PARTITIONS),true)
45 PRODUCT_COPY_FILES += \
46 device/generic/goldfish/data/etc/dummy.vbmeta.img:$(PRODUCT_OUT)/vbmeta.img \
bohuf90ff782020-03-30 19:38:57 -070047 device/generic/goldfish/fstab.ranchu.initrd.noavb.ex:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/first_stage_ramdisk/fstab.ranchu \
48 device/generic/goldfish/fstab.ranchu.initrd.noavb.ex:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/fstab.ranchu \
bohuf9495cb2020-03-30 10:58:35 -070049 device/generic/goldfish/fstab.ranchu.noavb.ex:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.ranchu
50 else
51 PRODUCT_COPY_FILES += \
52 device/generic/goldfish/data/etc/dummy.vbmeta.img:$(PRODUCT_OUT)/vbmeta.img \
bohuf90ff782020-03-30 19:38:57 -070053 device/generic/goldfish/fstab.ranchu.initrd.noavb:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/first_stage_ramdisk/fstab.ranchu \
54 device/generic/goldfish/fstab.ranchu.initrd.noavb:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/fstab.ranchu \
bohuf9495cb2020-03-30 10:58:35 -070055 device/generic/goldfish/fstab.ranchu.noavb:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.ranchu
56 endif
57endif
58
59ifeq ($(QEMU_USE_SYSTEM_EXT_PARTITIONS),true)
60PRODUCT_COPY_FILES += \
bohuf90ff782020-03-30 19:38:57 -070061 device/generic/goldfish/fstab.ranchu.initrd.ex:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/first_stage_ramdisk/fstab.ranchu \
62 device/generic/goldfish/fstab.ranchu.initrd.ex:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/fstab.ranchu \
bohuf9495cb2020-03-30 10:58:35 -070063 device/generic/goldfish/fstab.ranchu.ex:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.ranchu
bohuf90ff782020-03-30 19:38:57 -070064else
65PRODUCT_COPY_FILES += \
66 device/generic/goldfish/fstab.ranchu.initrd:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/first_stage_ramdisk/fstab.ranchu \
67 device/generic/goldfish/fstab.ranchu.initrd:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/fstab.ranchu \
68 device/generic/goldfish/fstab.ranchu:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.ranchu
bohuf9495cb2020-03-30 10:58:35 -070069endif