-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevice.mk
33 lines (26 loc) · 857 Bytes
/
device.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#
# Copyright (C) 2024 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
# Kernel (Prebuilt)
TARGET_PREBUILT_EMULATOR_KERNEL_USE ?= 6.6
TARGET_PREBUILT_KERNEL_ARCH := x86_64
TARGET_PREBUILT_KERNEL_MODULES_ARCH := x86-64
# Inherit from common
$(call inherit-product, device/virt/virtio-common/device-common.mk)
DEVICE_PATH := device/virt/virtio_x86_64
# Graphics (Allocator)
PRODUCT_PACKAGES += \
android.hardware.graphics.allocator-service.minigbm_intel \
gralloc.minigbm_intel \
mapper.minigbm_intel
# Graphics (Composer)
PRODUCT_PACKAGES += \
android.hardware.composer.hwc3-service.drm.virtio_x86_64
# Init
PRODUCT_COPY_FILES += \
$(DEVICE_PATH)/configs/init/virtio_x86_64-graphics.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/virtio_x86_64-graphics.rc
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += \
$(DEVICE_PATH)