From b52878371b4d29dbba7b0c19c4d34bf57cbd4f5f Mon Sep 17 00:00:00 2001 From: Ray Hsu Date: Fri, 1 Dec 2023 06:54:56 +0000 Subject: [PATCH] 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 --- device.mk | 2 ++ 1 file changed, 2 insertions(+) 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