aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNolen Johnson <johnsonnolen@gmail.com>2022-06-18 03:03:03 -0400
committermarcost2 <marcostolcachir@gmail.com>2022-06-22 15:23:29 -0300
commitee8a5f549fcd679648779a352c32ae328d050dc0 (patch)
treedff876be688c9886e5ec65729709219ce37d0c07
parentb796f929ef9324abafb96ee1459e61cc537849a5 (diff)
albus: Clean up makefiles and enforce presence of the necessary
* Deduplicate properties from vendor/lienage. * Enforce presence of the necessary components. * Remove no-ops/conflicting flags. Change-Id: Id61b562020a3e10e21338bcb4f51ea04d49c6b93
-rw-r--r--BoardConfig.mk2
-rw-r--r--device.mk19
2 files changed, 5 insertions, 16 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 1c3e885..85eebf2 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -236,4 +236,4 @@ WIFI_DRIVER_FW_PATH_P2P := "p2p"
WPA_SUPPLICANT_VERSION := VER_0_8_X
TARGET_DISABLE_WCNSS_CONFIG_COPY := true
PRODUCT_VENDOR_MOVE_ENABLED := true
-WIFI_HIDL_UNIFIED_SUPPLICANT_SERVICE_RC_ENTRY := true \ No newline at end of file
+WIFI_HIDL_UNIFIED_SUPPLICANT_SERVICE_RC_ENTRY := true
diff --git a/device.mk b/device.mk
index e798ee8..fc93706 100644
--- a/device.mk
+++ b/device.mk
@@ -17,8 +17,6 @@
# Properties
-include device/motorola/albus/vendor_prop.mk
-$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)
-
# Overlay
DEVICE_PACKAGE_OVERLAYS += \
$(LOCAL_PATH)/overlay \
@@ -76,7 +74,7 @@ PRODUCT_PACKAGES += \
camera.device@3.2-impl \
libbson.vendor \
Snap \
- libwui
+ libwui
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/camera/msm8953_mot_albus_camera.xml:$(TARGET_COPY_OUT_VENDOR)/etc/camera/msm8953_mot_albus_camera.xml \
@@ -403,23 +401,14 @@ PRODUCT_SOONG_NAMESPACES += $(LOCAL_PATH)
PRODUCT_SYSTEM_SERVER_COMPILER_FILTER := speed-profile
PRODUCT_USE_PROFILE_FOR_BOOT_IMAGE := true
PRODUCT_DEX_PREOPT_BOOT_IMAGE_PROFILE_LOCATION := frameworks/base/config/boot-image-profile.txt
-PRODUCT_ALWAYS_PREOPT_EXTRACTED_APK := true
-DONT_DEXPREOPT_PREBUILTS := true
USE_DEX2OAT_DEBUG := false
PRODUCT_MINIMIZE_JAVA_DEBUG_INFO := true
PRODUCT_ART_TARGET_INCLUDE_DEBUG_BUILD := false
-PRODUCT_DEXPREOPT_SPEED_APPS += \
- Settings \
- SystemUI
-
# Tethering
PRODUCT_PACKAGES += \
TetheringConfigOverlay
-PRODUCT_PROPERTY_OVERRIDES += \
- net.tethering.noprovisioning=true
-
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/thermal-engine-albus.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine.conf
@@ -438,8 +427,8 @@ PRODUCT_PACKAGES += \
# Update this list with what each blob is actually for
# libstdc++: camera.msm8953
PRODUCT_PACKAGES += \
- libstdc++.vendor
-
+ libstdc++.vendor
+
# Vibrator
PRODUCT_PACKAGES += \
android.hardware.vibrator@1.0-impl \
@@ -458,7 +447,7 @@ PRODUCT_PACKAGES += \
wificond \
WifiOverlay \
wpa_supplicant \
- wpa_supplicant.conf
+ wpa_supplicant.conf
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/wifi/WCNSS_cfg.dat:$(TARGET_COPY_OUT_VENDOR)/firmware/wlan/prima/WCNSS_cfg.dat \