1# 2# Copyright (C) 2021 The Android Open Source Project 3# 4# Licensed under the Apache License, Version 2.0 (the "License"); 5# you may not use this file except in compliance with the License. 6# You may obtain a copy of the License at 7# 8# http://www.apache.org/licenses/LICENSE-2.0 9# 10# Unless required by applicable law or agreed to in writing, software 11# distributed under the License is distributed on an "AS IS" BASIS, 12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13# See the License for the specific language governing permissions and 14# limitations under the License. 15 16PRODUCT_COPY_FILES += \ 17 packages/services/Car/car_product/car_ui_portrait/car_ui_portrait.ini:config.ini \ 18 packages/services/Car/car_product/car_ui_portrait/bootanimation/bootanimation.zip:system/media/bootanimation.zip 19 20$(call inherit-product, device/generic/goldfish/soong_namespaces.mk) 21 22PRODUCT_PACKAGE_OVERLAYS := \ 23 device/generic/car/common/overlay 24 25# only log privapp-permissions allow list 26PRODUCT_PROPERTY_OVERRIDES += \ 27 ro.control_privapp_permissions=log 28 29# Disable the Setup Wizard. This overrides the setting in gms.mk 30PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \ 31 ro.setupwizard.mode=DISABLED 32 33$(call inherit-product, device/generic/car/emulator/aosp_car_emulator.mk) 34$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_x86_64.mk) 35$(call inherit-product, packages/services/Car/car_product/car_ui_portrait/apps/car_ui_portrait_apps.mk) 36$(call inherit-product, packages/services/Car/car_product/car_ui_portrait/rro/car_ui_portrait_rro.mk) 37$(call inherit-product, packages/services/Car/car_product/car_ui_portrait/emu/car_ui_portrait_emu.mk) 38 39PRODUCT_SDK_ADDON_NAME := car_emu_x86_64 40 41# Extra files needed by the addon. 42PRODUCT_SDK_ADDON_COPY_FILES := \ 43 device/generic/goldfish/data/etc/encryptionkey.img:images/${TARGET_CPU_ABI}/encryptionkey.img\ 44 device/generic/car/car_x86_64/manifest.ini:manifest.ini 45 46PRODUCT_SDK_ADDON_COPY_MODULES := \ 47 com.android.future.usb.accessory:libs/usb.jar 48 49DEVICE_PACKAGE_OVERLAYS += device/generic/car/car_x86_64/overlay 50 51EMULATOR_VENDOR_NO_SOUND := true 52PRODUCT_NAME := car_ui_portrait 53PRODUCT_DEVICE := generic_car_x86_64 54PRODUCT_BRAND := Android 55PRODUCT_MODEL := CarUiPortrait on x86_64 emulator 56PRODUCT_SDK_ADDON_NAME := car_ui_portrait 57 58PRODUCT_SDK_ADDON_SYS_IMG_SOURCE_PROP := \ 59 device/generic/car/car_x86_64/source.properties 60