-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathdevice-raven.mk
More file actions
85 lines (70 loc) · 2.42 KB
/
device-raven.mk
File metadata and controls
85 lines (70 loc) · 2.42 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
#
# SPDX-FileCopyrightText: 2020 The Android Open-Source Project
# SPDX-FileCopyrightText: The LineageOS Project
# SPDX-FileCopyrightText: The Calyx Institute
# SPDX-License-Identifier: Apache-2.0
#
# Kernel
TARGET_LINUX_KERNEL_VERSION := 6.1
TARGET_KERNEL_DEVICE := raviole
TARGET_KERNEL_DIR := device/google/$(TARGET_KERNEL_DEVICE)-kernels/$(TARGET_LINUX_KERNEL_VERSION)
TARGET_KERNEL_PLATFORM_SOURCE := google/gs-$(TARGET_LINUX_KERNEL_VERSION)
# Inherit from gs101
include device/google/gs101/common.mk
# Overlays
PRODUCT_PACKAGES += \
DeviceAsWebcamRaviole \
FrameworkResOverlayProductRaviole \
FrameworkResOverlayVendorRaviole \
ONSOverlayVendorRaviole \
PixelNfcOverlayRaviole \
SafetyRegulatoryInfoOverlayProductRaviole \
SconeCbrsOverlay \
SystemUIGoogleOverlayVendorRaviole
PRODUCT_PACKAGES += \
DMServiceOverlayVendorRaven \
FrameworkResOverlayProductRaven \
FrameworkResOverlayVendorRaven \
PixelNfcOverlayRaven \
PixelUwbOverlayR4 \
SettingsGoogleOverlayProductRaven \
SettingsGoogleRavenOverlay \
SettingsOverlayG8V0U \
SettingsOverlayGF5KQ \
SettingsOverlayGLU0G \
SystemUIGoogleOverlayProductRaven \
SystemUIGoogleOverlayVendorRaven
PRODUCT_PACKAGES += \
ApertureOverlayRaven \
LineageSdkOverlayRaviole \
SettingsOverlayRaviole
# PowerShare
include hardware/google/pixel/powershare/device.mk
# Properties
TARGET_PRODUCT_PROP += $(DEVICE_PATH)/$(DEVICE_CODENAME)/product.prop
TARGET_VENDOR_PROP += $(DEVICE_PATH)/$(DEVICE_CODENAME)/vendor.prop
# Recovery
PRODUCT_COPY_FILES += \
device/google/gs101/conf/init.recovery.device.rc:$(TARGET_COPY_OUT_RECOVERY)/root/init.recovery.raven.rc
PRODUCT_PACKAGES += \
init.recovery.raven.touch.rc
# SecureElement
PRODUCT_PACKAGES += \
android.hardware.secure_element@1.2-service-gto-ese2
# Shipping API level
PRODUCT_SHIPPING_API_LEVEL := 31
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += \
$(DEVICE_PATH)
# UWB
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.uwb.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.uwb.xml
# Vibrator
PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \
system/lib/android.hardware.vibrator-V2-ndk.so \
system/lib64/android.hardware.vibrator-V2-ndk.so
# VINTF
DEVICE_MANIFEST_FILE += \
$(DEVICE_PATH)/vintf/manifest.xml
DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += \
$(DEVICE_PATH)/vintf/device_framework_matrix_product.xml