diff --git a/device.mk b/device.mk index f686621..4787315 100644 --- a/device.mk +++ b/device.mk @@ -14,6 +14,8 @@ # limitations under the License. # +include device/google/gs-common/tts/voice_packs.mk + PRODUCT_SOONG_NAMESPACES += \ device/google/gs-common/powerstats diff --git a/gps/brcm/device.mk b/gps/brcm/device.mk index dd64dd3..3065542 100644 --- a/gps/brcm/device.mk +++ b/gps/brcm/device.mk @@ -2,9 +2,13 @@ BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/gps/brcm/sepolicy PRODUCT_SOONG_NAMESPACES += vendor/broadcom/gps/bcm47765 -$(call soong_config_set, gpssdk, sdkv1, False) +SOONG_CONFIG_NAMESPACES += gpssdk +SOONG_CONFIG_gpssdk += sdkv1 +SOONG_CONFIG_gpssdk_sdkv1 ?= false -$(call soong_config_set, gpssdk, gpsmcuversion, gpsv2_$(TARGET_BUILD_VARIANT)) +SOONG_CONFIG_NAMESPACES += gpssdk +SOONG_CONFIG_gpssdk += gpsmcuversion +SOONG_CONFIG_gpssdk_gpsmcuversion ?= gpsv2_$(TARGET_BUILD_VARIANT) PRODUCT_PACKAGES += \ bcm47765_gps_package \ diff --git a/tts/de-de/de-de-x-multi-r45.zvoice b/tts/de-de/de-de-x-multi-r45.zvoice new file mode 100644 index 0000000..9fca341 Binary files /dev/null and b/tts/de-de/de-de-x-multi-r45.zvoice differ diff --git a/tts/es-es/es-es-x-multi-r45.zvoice b/tts/es-es/es-es-x-multi-r45.zvoice new file mode 100644 index 0000000..2e7cb61 Binary files /dev/null and b/tts/es-es/es-es-x-multi-r45.zvoice differ diff --git a/tts/fr-fr/fr-fr-x-multi-r46.zvoice b/tts/fr-fr/fr-fr-x-multi-r46.zvoice new file mode 100644 index 0000000..9287d91 Binary files /dev/null and b/tts/fr-fr/fr-fr-x-multi-r46.zvoice differ diff --git a/tts/it-it/it-it-x-multi-r42.zvoice b/tts/it-it/it-it-x-multi-r42.zvoice new file mode 100644 index 0000000..a794804 Binary files /dev/null and b/tts/it-it/it-it-x-multi-r42.zvoice differ diff --git a/tts/ja-jp/ja-jp-x-multi-r44.zvoice b/tts/ja-jp/ja-jp-x-multi-r44.zvoice new file mode 100644 index 0000000..0d562b2 Binary files /dev/null and b/tts/ja-jp/ja-jp-x-multi-r44.zvoice differ diff --git a/tts/voice_packs.mk b/tts/voice_packs.mk new file mode 100644 index 0000000..0bb6d1a --- /dev/null +++ b/tts/voice_packs.mk @@ -0,0 +1,22 @@ +# +# Copyright (C) 2023 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. + +# Voice packs for Text-To-Speech +PRODUCT_COPY_FILES += \ + device/google/gs-common/tts/ja-jp/ja-jp-x-multi-r44.zvoice:product/tts/google/ja-jp/ja-jp-x-multi-r44.zvoice\ + device/google/gs-common/tts/fr-fr/fr-fr-x-multi-r46.zvoice:product/tts/google/fr-fr/fr-fr-x-multi-r46.zvoice\ + device/google/gs-common/tts/de-de/de-de-x-multi-r45.zvoice:product/tts/google/de-de/de-de-x-multi-r45.zvoice\ + device/google/gs-common/tts/it-it/it-it-x-multi-r42.zvoice:product/tts/google/it-it/it-it-x-multi-r42.zvoice\ + device/google/gs-common/tts/es-es/es-es-x-multi-r45.zvoice:product/tts/google/es-es/es-es-x-multi-r45.zvoice