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
16# Car UI Portrait Emulator Target
17
18# Exclude AAE Car System UI
19DO_NOT_INCLUDE_AAE_CAR_SYSTEM_UI := true
20
21# Exclude Car UI Reference Design
22DO_NOT_INCLUDE_CAR_UI_REFERENCE_DESIGN := true
23
24# Exclude Car Visual Overlay
25DISABLE_CAR_PRODUCT_VISUAL_OVERLAY := true
26
27# Copy additional files
28PRODUCT_COPY_FILES += \
29    packages/services/Car/car_product/car_ui_portrait/car_ui_portrait.ini:config.ini \
30    packages/services/Car/car_product/car_ui_portrait/bootanimation/bootanimation.zip:system/media/bootanimation.zip
31
32$(call inherit-product, device/generic/car/sdk_car_x86_64.mk)
33
34# TODO(b/303863968): Set it to true after cleaning up the system partition
35# changes from this makefile
36PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := false
37
38PRODUCT_NAME := sdk_car_portrait_x86_64
39PRODUCT_MODEL := CarUiPortrait on x86_64 emulator
40PRODUCT_CHARACTERISTICS := automotive
41PRODUCT_SDK_ADDON_NAME := sdk_car_portrait_x86_64
42
43$(call inherit-product, packages/services/Car/car_product/car_ui_portrait/apps/car_ui_portrait_apps.mk)
44$(call inherit-product, packages/services/Car/car_product/car_ui_portrait/rro/car_ui_portrait_rro.mk)
45
46PRODUCT_COPY_FILES += \
47    packages/services/Car/car_product/car_ui_portrait/car_ui_portrait_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/car_ui_portrait_hardware.xml
48