-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathdevice-caiman.mk
More file actions
78 lines (63 loc) · 2.36 KB
/
device-caiman.mk
File metadata and controls
78 lines (63 loc) · 2.36 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
#
# SPDX-FileCopyrightText: 2021 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 := caimito
TARGET_KERNEL_DIR := device/google/$(TARGET_KERNEL_DEVICE)-kernels/$(TARGET_LINUX_KERNEL_VERSION)
TARGET_KERNEL_PLATFORM_SOURCE := google/gs-$(TARGET_LINUX_KERNEL_VERSION)
ifneq ($(TARGET_BOOTS_16K),true)
PRODUCT_16K_DEVELOPER_OPTION := true
endif
# Shipping API level
SHIPPING_API_LEVEL := 34
# Inherit from zumapro
include device/google/zumapro/common.mk
# Overlays
PRODUCT_PACKAGES += \
ConnectivityResourcesOverlayCaimitoOverride \
FrameworkResOverlayProductCaimito \
FrameworkResOverlayVendorCaimito \
PixelNfcOverlayCaimito \
PixelWifiOverlay2024Caimito \
SafetyRegulatoryInfoOverlayProductCaimito \
SettingsGoogleOverlayProductCaimito \
SystemUIGoogleOverlayVendorCaimito \
TeleServiceOverlayVendorCaimito \
TelecomOverlayProductCaimito
PRODUCT_PACKAGES += \
DMServiceOverlayVendorCaiman \
FrameworkResOverlayVendorCaiman \
PixelDisplayServiceOverlayProductCaiman \
PixelNfcOverlayCaiman \
PixelUwbOverlayCT3 \
SettingsCaimanOverlay \
SettingsGoogleOverlayVendorCaiman \
SystemUIGoogleOverlayVendorCaiman
PRODUCT_PACKAGES += \
ApertureOverlayCaiman
# 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_PATH)/recovery/init.recovery.device.rc:$(TARGET_COPY_OUT_RECOVERY)/root/init.recovery.caiman.rc
PRODUCT_PACKAGES += \
init.recovery.caimito.touch.rc
# Satellite
PRODUCT_COPY_FILES += \
$(DEVICE_PATH)/conf/allowlist_satellite.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/sysconfig/allowlist_satellite.xml \
frameworks/native/data/etc/android.hardware.telephony.satellite.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/android.hardware.telephony.satellite.xml
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += \
$(DEVICE_PATH)
# VINTF
DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += \
$(DEVICE_PATH)/vintf/device_framework_matrix_product.xml
# Window extensions
$(call inherit-product, $(SRC_TARGET_DIR)/product/window_extensions.mk)