From 284efe50f4e03b7a3b9c64c19b86326872d38480 Mon Sep 17 00:00:00 2001 From: Alexander Koskovich Date: Wed, 18 May 2022 09:03:29 -0700 Subject: [PATCH] kebab: Alphabetically sort makefiles Change-Id: Ie31e1c256e096f578b27f04a0087af46ff0c4b39 --- BoardConfig.mk | 4 ++-- device.mk | 43 ++++++++++++++++++++++--------------------- 2 files changed, 24 insertions(+), 23 deletions(-) diff --git a/BoardConfig.mk b/BoardConfig.mk index b72b721..a4a6dff 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -4,7 +4,7 @@ # SPDX-License-Identifier: Apache-2.0 # -# Inherit from oneplus sm8250-common +# Include the common OEM chipset BoardConfig. -include device/oneplus/sm8250-common/BoardConfigCommon.mk DEVICE_PATH := device/oneplus/kebab @@ -34,5 +34,5 @@ BOARD_SUPER_PARTITION_SIZE := 7516192768 TARGET_RECOVERY_FSTAB := $(DEVICE_PATH)/init/fstab.qcom TARGET_RECOVERY_UI_MARGIN_HEIGHT := 103 -# inherit from the proprietary version +# Include the proprietary files BoardConfig. -include vendor/oneplus/kebab/BoardConfigVendor.mk diff --git a/device.mk b/device.mk index fcafb7c..e6deb8c 100644 --- a/device.mk +++ b/device.mk @@ -4,40 +4,41 @@ # SPDX-License-Identifier: Apache-2.0 # -# Enable virtual A/B OTA +# A/B $(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota.mk) +# AAPT +PRODUCT_AAPT_CONFIG := normal +PRODUCT_AAPT_PREF_CONFIG := xxhdpi + +# Audio +PRODUCT_COPY_FILES += \ + $(LOCAL_PATH)/audio/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml + +# Boot animation +TARGET_SCREEN_HEIGHT := 2400 +TARGET_SCREEN_WIDTH := 1080 + +# Device init scripts +PRODUCT_PACKAGES += \ + fstab.qcom \ + fstab.qcom.ramdisk + # Overlays PRODUCT_PACKAGES += \ OPlusFrameworksResTarget \ OPlusSettingsProviderResTarget \ OPlusSystemUIResTarget -# Device uses high-density artwork where available -PRODUCT_AAPT_CONFIG := normal -PRODUCT_AAPT_PREF_CONFIG := xxhdpi - -# Boot animation -TARGET_SCREEN_HEIGHT := 2400 -TARGET_SCREEN_WIDTH := 1080 - -# Audio -PRODUCT_COPY_FILES += \ - $(LOCAL_PATH)/audio/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml - -# Device init scripts -PRODUCT_PACKAGES += \ - fstab.qcom \ - fstab.qcom.ramdisk +# Shipping API +PRODUCT_SHIPPING_API_LEVEL := 30 # Soong namespaces PRODUCT_SOONG_NAMESPACES += \ $(LOCAL_PATH) -PRODUCT_SHIPPING_API_LEVEL := 30 - -# Inherit from oneplus sm8250-common +# Inherit from the common OEM chipset makefile. $(call inherit-product, device/oneplus/sm8250-common/common.mk) -# Inherit from vendor blobs +# Inherit from the proprietary files makefile. $(call inherit-product, vendor/oneplus/kebab/kebab-vendor.mk)