You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
android_vendor_extra/product.mk

81 lines
2.1 KiB

## ADB Keys
# Android
PRODUCT_COPY_FILES += \
vendor/extra/adb_keys:root/adb_keys
# Recovery
PRODUCT_COPY_FILES += \
vendor/extra/adb_keys:recovery/root/adb_keys
## ATV
PRODUCT_PACKAGES += \
DocumentsUI
## Bash
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
persist.sys.adb.shell=/system/xbin/bash
ifneq ($(PRODUCT_IS_ATV),true)
## Camera
PRODUCT_PACKAGES += \
Aperture
endif
## Custom Cameras
# river
ifneq ($(filter %river,$(TARGET_PRODUCT)),)
-include vendor/extra/oem-cameras/MotCamera2-denali/MotCamera2-denali.mk
endif
## Debugging
ifeq ($(filter %foster %foster_tab %sif %sphynx %nx %nx_tab %loki %shieldtablet %jetson,$(TARGET_PRODUCT)),)
ifneq ($(TARGET_BUILD_VARIANT),eng)
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += log.tag=I
endif
endif
## fastbootd
ifeq ($(filter %griffin,$(TARGET_PRODUCT)),)
PRODUCT_PACKAGES += fastbootd
PRODUCT_SYSTEM_PROPERTY_OVERRIDES += ro.fastbootd.available=true
endif
## ih8sn
PRODUCT_PACKAGES += ih8sn
ifneq ("$(wildcard vendor/extra/configs/ih8sn/ih8sn_$(subst lineage_,,$(TARGET_PRODUCT)).conf)","")
PRODUCT_COPY_FILES += \
vendor/extra/configs/ih8sn/ih8sn_$(subst lineage_,,$(TARGET_PRODUCT)).conf:/system/etc/ih8sn.conf
else
PRODUCT_COPY_FILES += \
vendor/extra/configs/ih8sn/ih8sn_generic.conf:/system/etc/ih8sn.conf
endif
## Media
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
ro.config.vc_call_vol_steps=7 \
ro.config.media_vol_steps=25
## neofetch
PRODUCT_COPY_FILES += \
vendor/extra/tools/neofetch:$(TARGET_COPY_OUT_SYSTEM_EXT)/bin/neofetch
## Overlays
PRODUCT_PACKAGE_OVERLAYS += vendor/extra/overlay
## Recovery
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += persist.vendor.recovery_update=true
## Updater
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += lineage.updater.uri="https://updater-api.oddsolutions.us/api/v1/{device}/{type}/{incr}"
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += lineage.updater.allow_downgrading=true
## Signing
PRODUCT_DEFAULT_DEV_CERTIFICATE := vendor/certs/releasekey
ifeq ($(WITH_GMS),true)
ifneq ($(PRODUCT_IS_ATV),true)
ifneq ($(PRODUCT_IS_AUTOMOTIVE),true)
-include vendor/google_pixel/product.mk
endif # PRODUCT_IS_AUTOMOTIVE
endif # PRODUCT_IS_ATV
endif # WITH_GMS