2020-03-20 10:54:24 -04:00
|
|
|
#
|
|
|
|
# Copyright (C) 2020 The LineageOS 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.
|
|
|
|
#
|
2018-10-02 07:51:03 -04:00
|
|
|
|
2020-02-15 15:49:40 -05:00
|
|
|
# Product launched with 9.0
|
|
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_p.mk)
|
|
|
|
|
2019-12-06 17:00:16 -05:00
|
|
|
# Setup dalvik vm configs
|
|
|
|
$(call inherit-product, frameworks/native/build/phone-xhdpi-6144-dalvik-heap.mk)
|
|
|
|
|
2020-03-23 16:26:56 -04:00
|
|
|
# Call the proprietary setup
|
|
|
|
$(call inherit-product, vendor/xiaomi/davinci/davinci-vendor.mk)
|
|
|
|
|
2020-04-06 12:18:01 -04:00
|
|
|
# AID/fs configs
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
fs_config_files
|
|
|
|
|
2020-03-23 16:39:07 -04:00
|
|
|
# Boot animation
|
|
|
|
TARGET_SCREEN_HEIGHT := 2340
|
|
|
|
TARGET_SCREEN_WIDTH := 1080
|
|
|
|
|
2020-04-15 05:46:57 -04:00
|
|
|
# IRSC
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(LOCAL_PATH)/configs/security/sec_config:$(TARGET_COPY_OUT_VENDOR)/etc/sec_config
|
|
|
|
|
|
|
|
# Media
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(LOCAL_PATH)/configs/security/mediacodec.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy
|
|
|
|
|
2020-03-23 16:39:07 -04:00
|
|
|
# Screen density
|
|
|
|
PRODUCT_AAPT_CONFIG := normal
|
|
|
|
PRODUCT_AAPT_PREF_CONFIG := xxhdpi
|
|
|
|
TARGET_SCREEN_DENSITY := 440
|
|
|
|
|
2018-10-02 07:51:03 -04:00
|
|
|
# Soong namespaces
|
|
|
|
PRODUCT_SOONG_NAMESPACES += \
|
|
|
|
$(LOCAL_PATH)
|