-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathproduct.mk
More file actions
43 lines (35 loc) · 1.04 KB
/
Copy pathproduct.mk
File metadata and controls
43 lines (35 loc) · 1.04 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
#
# Copyright (C) 2022 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
EXTRA_PATH := vendor/extra
# ADB
ifneq (,$(wildcard $(EXTRA_PATH)/adbkey.pub))
PRODUCT_ADB_KEYS := $(EXTRA_PATH)/adbkey.pub
PRODUCT_COPY_FILES += $(PRODUCT_ADB_KEYS):$(TARGET_COPY_OUT_RECOVERY)/root/$(TARGET_COPY_OUT_PRODUCT)/etc/security/adb_keys
endif
# Default ADB shell prompt
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
persist.sys.adb.shell=/system_ext/bin/bash
# MiuiCamera
ifneq (,$(filter cupid mondrian unicorn zeus,$(shell echo -n $(TARGET_PRODUCT) | sed -e 's/^[a-z]*_//g')))
$(call inherit-product-if-exists, device/xiaomi/miuicamera-cupid/device.mk)
endif
# OTA
ifeq ($(WITH_GMS),true)
PRODUCT_PACKAGES += GmsUpdaterOverlay
else
PRODUCT_PACKAGES += UpdaterOverlay
endif
# Overlays
PRODUCT_PACKAGE_OVERLAYS += $(EXTRA_PATH)/overlay-lineage
# Pixel Goodies
ifeq ($(WITH_GMS),true)
$(call inherit-product-if-exists, vendor/pixel-goodies/product.mk)
endif
# Translations
ifeq (lineage_davinci,TARGET_PRODUCT)
PRODUCT_PACKAGES += \
MotorTranslationsOverlay
endif