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
33 lines
1.2 KiB
Makefile
33 lines
1.2 KiB
Makefile
#
|
|
# Copyright (C) 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.
|
|
#
|
|
|
|
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
|
|
|
|
# Disable OMX
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
vendor.media.omx=0
|
|
|
|
# Installs gsi keys into ramdisk, to boot a developer GSI with verified boot.
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/developer_gsi_keys.mk)
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
frameworks/native/data/etc/android.software.ipsec_tunnel_migration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.ipsec_tunnel_migration.xml
|