Do not include SoundPicker on Android TV

This CL leverages the PRODUCT_IS_ATV build time variable to selectively
exclude the SoundPicker package from the PRODUCT_PACKAGES. This also
paves the way to approach the removal of other unused packages from TV.

Bug: 276897441
Test: make
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:413b614d0d7bc1b412c87672f995fabfadbb6bc8)
Merged-In: Ifb25c1f26df545d31fb80f8e43c217fa8806e021
Change-Id: Ifb25c1f26df545d31fb80f8e43c217fa8806e021
This commit is contained in:
Nikolas Havrikov 2023-05-25 09:00:18 +00:00 committed by Android Build Cherrypicker Worker
parent 95ad4d4ba0
commit 15ba4a9bc6

View file

@ -265,7 +265,6 @@ PRODUCT_PACKAGES += \
sm \
snapshotctl \
snapuserd \
SoundPicker \
storaged \
surfaceflinger \
svc \
@ -291,6 +290,13 @@ PRODUCT_PACKAGES += \
wifi.rc \
wm \
# These packages are not used on Android TV
ifneq ($(PRODUCT_IS_ATV),true)
PRODUCT_PACKAGES += \
SoundPicker \
endif
# VINTF data for system image
PRODUCT_PACKAGES += \
system_manifest.xml \