aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Hsu <raylinhsu@google.com>2023-12-01 06:54:56 +0000
committerRay Hsu <raylinhsu@google.com>2023-12-01 06:54:56 +0000
commitb52878371b4d29dbba7b0c19c4d34bf57cbd4f5f (patch)
tree7e41152072e1a16f813e426fe089061649bb5bb1
parent8996d1b7ee3361946fe53ebcf40f1331d3f388b4 (diff)
downloadgs-common-b52878371b4d29dbba7b0c19c4d34bf57cbd4f5f.tar.gz
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
-rw-r--r--device.mk2
1 files changed, 2 insertions, 0 deletions
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