-
Notifications
You must be signed in to change notification settings - Fork 17
/
device-lineage.mk
87 lines (65 loc) · 1.91 KB
/
device-lineage.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
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
86
87
#
# Copyright (C) 2020-2021 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
# Overlays
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay-lineage
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += \
vendor/qcom/opensource/commonsys-intf/display \
vendor/qcom/opensource/display
# Add common definitions for Qualcomm
$(call inherit-product, hardware/qcom-caf/common/common.mk)
# AiAi Config
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/allowlist_com.google.android.as.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/sysconfig/allowlist_com.google.android.as.xml
# Camera
PRODUCT_PRODUCT_PROPERTIES += \
ro.vendor.camera.extensions.package=com.google.android.apps.camera.services \
ro.vendor.camera.extensions.service=com.google.android.apps.camera.services.extensions.service.PixelExtensions
# DebugFS
PRODUCT_SET_DEBUGFS_RESTRICTIONS := true
# EUICC
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.telephony.euicc.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/android.hardware.telephony.euicc.xml
# Google Assistant
PRODUCT_PRODUCT_PROPERTIES += ro.opa.eligible_device=true
# HBM
PRODUCT_PACKAGES += \
HbmSVManagerOverlay
# Lineage Health
include hardware/google/pixel/lineage_health/device.mk
# LiveDisplay
PRODUCT_PACKAGES += \
# Parts
PRODUCT_PACKAGES += \
GoogleParts
# RCS
PRODUCT_PACKAGES += \
PresencePolling \
RcsService
# Touch
include hardware/google/pixel/touch/device.mk
# Build necessary packages for vendor
# CHRE
PRODUCT_PACKAGES += \
chre
# Configstore
PRODUCT_PACKAGES += \
disable_configstore
# GPS
PRODUCT_PACKAGES += \
flp.conf
# Identity credential
PRODUCT_PACKAGES += \
android.hardware.identity_credential.xml
# VNDK FWK detect
PRODUCT_PACKAGES += \
libvndfwk_detect_jni.qti.vendor
# Wi-Fi
PRODUCT_PACKAGES += \
libwifi-hal-ctrl:64
# Properties
TARGET_VENDOR_PROP := $(LOCAL_PATH)/vendor.prop