-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathlineage_atv.mk
130 lines (107 loc) · 3.36 KB
/
lineage_atv.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
#
# SPDX-FileCopyrightText: 2019-2024 The LineageOS Project
# SPDX-License-Identifier: Apache-2.0
#
# System properties
include $(LOCAL_PATH)/system_prop.mk
# Overlays
PRODUCT_PACKAGE_OVERLAYS += \
device/lineage/atv/overlay
# Init files
PRODUCT_PACKAGES += \
init.lineage.atv.rc
ifneq ($(TARGET_ATV_FORCE_1080_SCALING),false)
PRODUCT_PACKAGES += \
init.lineage.atv.scaling.rc
endif
# Dynalink 4k
PRODUCT_PACKAGES += \
Vendor_0110_Product_0508.idc \
Vendor_0110_Product_0508.kl
# Onn remote
PRODUCT_PACKAGES += \
Vendor_0957_Product_0005.idc \
Vendor_0957_Product_0005.kl
# Sabrina remote
PRODUCT_PACKAGES += \
Vendor_18d1_Product_9450.idc \
Vendor_18d1_Product_9450.kl
# Stadia controller
PRODUCT_PACKAGES += \
Vendor_18d1_Product_9400.kl
# IDCs for shield controllers
PRODUCT_PACKAGES += \
Vendor_0955_Product_7212.idc \
Vendor_0955_Product_7213.idc \
Vendor_0955_Product_7214.idc \
Vendor_0955_Product_7217.idc
# Key layouts for shield controllers
PRODUCT_PACKAGES += \
Vendor_0955_Product_7212.kl \
Vendor_0955_Product_7213.kl \
Vendor_0955_Product_7214.kl \
Vendor_0955_Product_7217.kl
# Steam Controller Wireless Adapter and BLE
PRODUCT_COPY_FILES += \
frameworks/base/data/keyboards/Vendor_28de_Product_1102.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/Vendor_28de_Product_1106.kl \
frameworks/base/data/keyboards/Vendor_28de_Product_1102.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/Vendor_28de_Product_1142.kl
# Key layouts for xbox controllers
PRODUCT_PACKAGES += \
Vendor_045e_Product_0b05.kl \
Vendor_045e_Product_0b13.kl
# ADT-2/3 reference remote idcs
PRODUCT_PACKAGES += \
Vendor_000d_Product_3838.idc \
Vendor_000d_Product_3839.idc \
Vendor_7545_Product_0021.idc
# ADT-2/3 reference remote keylayouts
PRODUCT_PACKAGES += \
Vendor_000d_Product_3838.kl \
Vendor_000d_Product_3839.kl \
Vendor_7545_Product_0021.kl
# Assorted remote keylayouts from ADT-3 build
PRODUCT_PACKAGES += \
Vendor_0002_Product_0002.kl \
Vendor_005d_Product_0001.kl \
Vendor_005d_Product_0002.kl \
Vendor_0484_Product_5738.kl \
Vendor_0508_Product_0110.kl \
Vendor_0957_Product_0006.kl \
Vendor_0c45_Product_1109.kl \
Vendor_1915_Product_0001.kl \
Vendor_7045_Product_1820.kl \
Vendor_7545_Product_0180.kl \
Vendor_7545_Product_0190.kl
# Assorted idc's from ONN 2021 build
PRODUCT_PACKAGES += \
Vendor_0508_Product_0110.idc \
Vendor_0957_Product_0004.idc \
Vendor_1d5a_Product_c082.idc \
Vendor_248a_Product_8266.idc \
Vendor_7545_Product_0180.idc
# Assorted remote keylayouts from ONN 2021 build
PRODUCT_PACKAGES += \
Vendor_0957_Product_0004.kl \
Vendor_1d5a_Product_c081.kl \
Vendor_1d5a_Product_c082.kl \
Vendor_248a_Product_8266.kl
# Overlays
PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += \
device/google/atv/overlay
# GMS RROs
PRODUCT_PACKAGES += \
LineageGoogleSetupWraithOverlay \
LineageGoogleSetupWraithPairingOverlay
# Settings
PRODUCT_PACKAGES += \
TvSettingsTwoPanel
# TVLauncher
PRODUCT_PACKAGES += \
TVLauncherNoGMS \
TVRecommendationsNoGMS
# priv-app permissions
PRODUCT_COPY_FILES +=\
device/lineage/atv/permissions/privapp-permissions-lineage-atv.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/privapp-permissions-lineage-atv.xml
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += \
$(LOCAL_PATH)