66 lines
1.7 KiB
Makefile
66 lines
1.7 KiB
Makefile
#
|
|
# Copyright (C) 2018 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.
|
|
#
|
|
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_m.mk)
|
|
|
|
# Enable updating of APEXes
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
|
|
|
|
# Get non-open-source specific aspects
|
|
$(call inherit-product, vendor/sony/loire-common/loire-common-vendor.mk)
|
|
|
|
# Overlays
|
|
DEVICE_PACKAGE_OVERLAYS += \
|
|
$(LOCAL_PATH)/overlay \
|
|
$(LOCAL_PATH)/overlay-lineage
|
|
|
|
# Properties
|
|
-include $(LOCAL_PATH)/vendor_prop.mk
|
|
|
|
# Screen density
|
|
PRODUCT_AAPT_CONFIG := normal
|
|
PRODUCT_AAPT_PREBUILT_DPI := xhdpi hdpi
|
|
PRODUCT_AAPT_PREF_CONFIG := xhdpi
|
|
|
|
# Boot animation
|
|
TARGET_SCREEN_HEIGHT := 1280
|
|
TARGET_SCREEN_WIDTH := 720
|
|
|
|
# Common init scripts
|
|
PRODUCT_PACKAGES += \
|
|
fstab.qcom \
|
|
init.qcom.cei.sh \
|
|
init.qcom.devstart.sh \
|
|
init.qcom.post_boot.sh \
|
|
init.qcom.rc \
|
|
init.qcom.sensors.sh \
|
|
init.qcom.sh \
|
|
init.qcom.usb.rc \
|
|
init.recovery.qcom.rc \
|
|
ueventd.qcom.rc
|
|
|
|
# For config.fs
|
|
PRODUCT_PACKAGES += \
|
|
fs_config_files
|
|
|
|
# Mac address setup
|
|
PRODUCT_PACKAGES += \
|
|
macaddrsetup
|
|
|
|
# Soong namespaces
|
|
PRODUCT_SOONG_NAMESPACES += \
|
|
$(LOCAL_PATH)
|