Add one variable to decide if need TTS voice packs
For factory ROM UPH concern, we did not need TTS voice packs. Add one
variable to decide if need TTS voice packs and then it could reduce
super image size and increase flash station speed.
Bug: 314245991
Test: Check super image size and boot to home
Change-Id: Id84c3eef5a702317ab7976ded340b5795c0a3700
diff --git a/device.mk b/device.mk
index 4787315..45b7da8 100644
--- a/device.mk
+++ b/device.mk
@@ -14,7 +14,9 @@
# limitations under the License.
#
+ifeq (,$(filter true, $(PRODUCT_WITHOUT_TTS_VOICE_PACKS)))
include device/google/gs-common/tts/voice_packs.mk
+endif
PRODUCT_SOONG_NAMESPACES += \
device/google/gs-common/powerstats