-
Notifications
You must be signed in to change notification settings - Fork 0
/
device-custom.mk
132 lines (111 loc) · 3.73 KB
/
device-custom.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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
#
# Copyright (C) 2020-2021 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
# Overlays
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay-custom
# 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
# EUICC
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.telephony.euicc.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/android.hardware.telephony.euicc.xml
# Build necessary packages for product
# Display
PRODUCT_PACKAGES += \
# Build necessary packages for vendor
# Bluetooth
PRODUCT_PACKAGES += \
[email protected]:64 \
# CHRE
PRODUCT_PACKAGES += \
chre
# Codec2
PRODUCT_PACKAGES += \
[email protected]:32 \
libavservices_minijail_vendor:32 \
[email protected]:32 \
libcodec2_vndk.vendor \
# Confirmation UI
PRODUCT_PACKAGES += \
[email protected]:64 \
libteeui_hal_support.vendor:64
# Display
PRODUCT_PACKAGES += \
# HIDL
PRODUCT_PACKAGES += \
libhidltransport.vendor \
libhwbinder.vendor
# Identity credential
PRODUCT_PACKAGES += \
android.hardware.identity-support-lib.vendor:64 \
android.hardware.identity_credential.xml
# Json
PRODUCT_PACKAGES += \
libjson
# Nos
PRODUCT_PACKAGES += \
libnos:64 \
libnosprotos:64 \
libnos_client_citadel:64 \
libnos_datagram:64 \
libnos_datagram_citadel:64 \
libnos_transport:64 \
nos_app_avb:64 \
nos_app_identity:64 \
nos_app_keymaster:64 \
nos_app_weaver:64
# Protobuf
PRODUCT_PACKAGES += \
libprotobuf-cpp-full-vendorcompat
# Wi-Fi
PRODUCT_PACKAGES += \
libwifi-hal:64 \
libwifi-hal-qcom
# Misc interfaces
PRODUCT_PACKAGES += \
[email protected]:32 \
[email protected]:64 \
[email protected]:64 \
[email protected]:64 \
[email protected]:64 \
[email protected]:32 \
[email protected]:32 \
[email protected]:64 \
[email protected]:64 \
[email protected]:64 \
[email protected]:64 \
[email protected]:64 \
[email protected]:64 \
[email protected]:64 \
[email protected]:64 \
[email protected]:64 \
[email protected]:64 \
[email protected]:32 \
[email protected]:64 \
[email protected]:64 \
[email protected]:64 \
[email protected]:64 \
[email protected]:64 \
[email protected]:64 \
# Parts
$(call inherit-product-if-exists, vendor/google/pixelparts/pixelparts.mk)
# Use 64-bit dex2oat for better dexopt time.
PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.dex2oat64.enabled=true
# Properties
TARGET_VENDOR_PROP := $(LOCAL_PATH)/vendor.prop