clover: convert PRODUCT_VENDOR_PROPERTIES and SYSTEM_PROPERTY_OVERRIDES to props files.

Move props files to properties subdir
This commit is contained in:
pix106 2022-12-17 09:31:14 +01:00
parent ebdbffc06c
commit fcfa943bd1
4 changed files with 12 additions and 45 deletions

View file

@ -26,7 +26,8 @@ TARGET_SCREEN_HEIGHT := 1920
TARGET_SCREEN_WIDTH := 1200
# Device properties
$(call inherit-product, $(DEVICE_PATH)/device_prop.mk)
TARGET_SYSTEM_PROP += $(DEVICE_PATH)/properties/system.prop
TARGET_VENDOR_PROP += $(DEVICE_PATH)/properties/vendor.prop
# Folio
PRODUCT_PACKAGES += \

View file

@ -1,44 +0,0 @@
#
# Copyright (C) 2018 The Xiaomi-SDM660 Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# This file sets variables that control the way modules are built
# thorughout the system. It should not be used to conditionally
# disable makefiles (the proper mechanism to control what gets
# included in a build is to use PRODUCT_PACKAGES in a product
# definition file).
#
# Audio
PRODUCT_VENDOR_PROPERTIES += \
persist.vendor.audio.fluence.audiorec=true
# Camera
PRODUCT_VENDOR_PROPERTIES += \
persist.camera.stats.test=5 \
persist.camera.HAL3.enabled=1 \
persist.camera.preview.ubwc=0
# Display
PRODUCT_VENDOR_PROPERTIES += \
debug.vds.allow_hwc=0
# Single SIM
PRODUCT_VENDOR_PROPERTIES += \
persist.radio.multisim.config=ssss
# Ultra Sound
SYSTEM_PROPERTY_OVERRIDES += \
audio.chk.cal.us=0

1
properties/system.prop Normal file
View file

@ -0,0 +1 @@
audio.chk.cal.us=0

9
properties/vendor.prop Normal file
View file

@ -0,0 +1,9 @@
persist.vendor.audio.fluence.audiorec=true
persist.camera.stats.test=5
persist.camera.HAL3.enabled=1
persist.camera.preview.ubwc=0
debug.vds.allow_hwc=0
persist.radio.multisim.config=ssss