device_google_tegu/factory_tegu.mk
stevenzlliu d9b70874ed Remove TTS voice packs from factory ROM
For factory ROM UPH concern, we did not need TTS voice packs.
Hence, we remove them and then it could reduce super image size
and increase flash station speed.

Bug: 314245991
Test: Check super image size
Change-Id: I8006991b22072e841a8d94637daeb0f105c8ada1
2023-12-01 07:41:30 +00:00

40 lines
1.4 KiB
Makefile

#
# Copyright 2021 The Android Open-Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
TARGET_LINUX_KERNEL_VERSION := 6.1
$(call inherit-product, device/google/zumapro/factory_common.mk)
$(call inherit-product, device/google/tegu/device-tegu.mk)
include device/google/tegu/audio/tegu/factory-audio-tables.mk
PRODUCT_NAME := factory_tegu
PRODUCT_DEVICE := tegu
PRODUCT_MODEL := Factory build on Tegu
PRODUCT_BRAND := Android
PRODUCT_MANUFACTURER := Google
# default BDADDR for EVB only
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.bluetooth.evb_bdaddr="22:22:22:33:44:55"
# Override to factory SDK
$(call soong_config_set, gpssdk, sdkv1, True)
$(call soong_config_set, gpssdk, gpsmcuversion, gpsv1_$(TARGET_BUILD_VARIANT))
# Factory binaries of camera
PRODUCT_PACKAGES += fatp_km4cm4tk4_wide_hat_tool fatp_km4cm4_tele_hat_tool fatp_km4cm4tk4_ultrawide_hat_tool fatp_km4cm4_front_hat_tool
PRODUCT_WITHOUT_TTS_VOICE_PACKS := true