Skip to content

Commit

Permalink
sunfish: Cleanup dead targets
Browse files Browse the repository at this point in the history
Enable EPPE while we are at it.

Change-Id: I5f94d5f1cd00a4bf2907b0063bd997abad2b39df
  • Loading branch information
mikeNG committed Nov 11, 2023
1 parent a8330ae commit 136ff69
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 67 deletions.
67 changes: 4 additions & 63 deletions device.mk
Original file line number Diff line number Diff line change
Expand Up @@ -294,12 +294,6 @@ PRODUCT_PROPERTY_OVERRIDES += \
PRODUCT_PROPERTY_OVERRIDES += \
ro.audio.monitorRotation=true

# Iaxxx streming and factory binary
PRODUCT_PACKAGES += \
libtunnel \
libodsp \
adnc_strm.primary.default

# graphics
PRODUCT_PROPERTY_OVERRIDES += \
ro.opengles.version=196610
Expand Down Expand Up @@ -392,21 +386,10 @@ PRODUCT_PACKAGES += \
[email protected] \
[email protected]

# Bluetooth HAL
PRODUCT_PACKAGES += \
[email protected] \
[email protected]

#Bluetooth SAR HAL
PRODUCT_PACKAGES += \
[email protected]
PRODUCT_PACKAGES_DEBUG += \
bluetooth_sar_test

# Bluetooth AFH
PRODUCT_PACKAGES += \
[email protected]

# Bluetooth SoC
PRODUCT_PROPERTY_OVERRIDES += \
vendor.qcom.bluetooth.soc=cherokee
Expand All @@ -425,8 +408,7 @@ PRODUCT_SOONG_NAMESPACES += vendor/qcom/proprietary/bluetooth/hidl_client

# DRM HAL
PRODUCT_PACKAGES += \
android.hardware.drm-service.clearkey \
android.hardware.drm-service.widevine
android.hardware.drm-service.clearkey

# NFC and Secure Element packages
PRODUCT_PACKAGES += \
Expand Down Expand Up @@ -458,18 +440,9 @@ PRODUCT_PACKAGES += \
libOmxCore \
libstagefrighthw \
libOmxVdec \
libOmxVdecHevc \
libOmxVenc \
libc2dcolorconvert

# Enable Codec 2.0
PRODUCT_PACKAGES += \
libqcodec2 \
[email protected] \
media_codecs_c2.xml \
codec2.vendor.ext.policy \
codec2.vendor.base.policy

PRODUCT_PROPERTY_OVERRIDES += \
debug.stagefright.omx_default_rank=512

Expand Down Expand Up @@ -497,14 +470,7 @@ PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.ims.mm_minqp=1

PRODUCT_PACKAGES += \
[email protected] \
[email protected] \
camera.sm6150 \
libgooglecamerahwl_impl \
libqomx_core \
libmmjpeg_interface \
libmmcamera_interface \
libcameradepthcalibrator
[email protected]

# Google Camera HAL test libraries in debug builds
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
Expand All @@ -515,8 +481,7 @@ endif

PRODUCT_PACKAGES += \
sensors.$(PRODUCT_HARDWARE) \
[email protected] \
hals.conf
[email protected]

PRODUCT_PACKAGES += \
fs_config_dirs \
Expand Down Expand Up @@ -581,7 +546,6 @@ endif
PRODUCT_PACKAGES += $(HOSTAPD)

WPA := wpa_supplicant.conf
WPA += wpa_supplicant_wcn.conf
WPA += wpa_supplicant
PRODUCT_PACKAGES += $(WPA)

Expand All @@ -606,19 +570,11 @@ PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/wifi_concurrency_cfg.txt:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wifi_concurrency_cfg.txt \
$(LOCAL_PATH)/WCNSS_qcom_cfg.ini:$(TARGET_COPY_OUT_VENDOR)/firmware/wlan/qca_cld/WCNSS_qcom_cfg.ini \

LIB_NL := libnl_2
PRODUCT_PACKAGES += $(LIB_NL)

# Audio effects
PRODUCT_PACKAGES += \
libvolumelistener \
libqcomvisualizer \
libqcomvoiceprocessing \
libqcomvoiceprocessingdescriptors \
libqcompostprocbundle
libqcomvoiceprocessingdescriptors

PRODUCT_PACKAGES += \
audio.primary.sm6150 \
audio.usb.default \
audio.r_submix.default \
libaudio-resampler \
Expand All @@ -631,16 +587,6 @@ PRODUCT_PACKAGES += \
[email protected] \
android.hardware.audio.service

# Modules for Audio HAL
PRODUCT_PACKAGES += \
libcirrusspkrprot \
libsndmonitor \
libmalistener \
liba2dpoffload \
btaudio_offload_if \
libmaxxaudio \
libaudiozoom

ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_PACKAGES += \
tinyplay \
Expand Down Expand Up @@ -722,9 +668,6 @@ PRODUCT_PACKAGES += \
PRODUCT_PROPERTY_OVERRIDES += \
ro.frp.pst=/dev/block/bootdevice/by-name/frp

PRODUCT_PACKAGES += \
vndk-sp

# Override heap growth limit due to high display density on device
PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.heapgrowthlimit?=256m
Expand Down Expand Up @@ -826,8 +769,6 @@ PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/gps.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gps.conf

# Fingerprint
PRODUCT_PACKAGES += \
[email protected]
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml

Expand Down
3 changes: 0 additions & 3 deletions fingerprint.mk
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
# Fingerprint
PRODUCT_PACKAGES += \
[email protected] \

PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/uinput-fpc.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/uinput-fpc.kl \
$(LOCAL_PATH)/uinput-fpc.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/uinput-fpc.idc
1 change: 0 additions & 1 deletion lineage_sunfish.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#

# Inherit some common Lineage stuff.
TARGET_DISABLE_EPPE := true
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)

# Inherit device configuration
Expand Down

0 comments on commit 136ff69

Please sign in to comment.