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_PACKAGE_OVERLAYS := device/generic/car/common/overlay
17EMULATOR_VENDOR_NO_SENSORS := true
18PRODUCT_USE_DYNAMIC_PARTITION_SIZE := true
19DO_NOT_INCLUDE_BT_SEPOLICY := true
20EMULATOR_VENDOR_NO_SOUND := true
21PRODUCT_IS_AUTOMOTIVE := true
22#
23# All components inherited here go to system image
24#
25$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
26$(call inherit-product, packages/services/Car/car_product/build/car_generic_system.mk)
27
28PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := strict
29
30#
31# All components inherited here go to system_ext image
32#
33$(call inherit-product, packages/services/Car/car_product/build/car_system_ext.mk)
34
35# Install a copy of the debug policy to the system_ext partition, and allow
36# init-second-stage to load debug policy from system_ext.
37# This option is only meant to be set by compliance GSI targets.
38PRODUCT_INSTALL_DEBUG_POLICY_TO_SYSTEM_EXT := true
39PRODUCT_PACKAGES += system_ext_userdebug_plat_sepolicy.cil
40
41# pKVM is required to support nested virtualization for CF. Ideally we should
42# move it out of /system. But it seems to be infeasible for now (b/207336449).
43$(call inherit-product, packages/modules/Virtualization/apex/product_packages.mk)
44
45#
46# All components inherited here go to product image
47#
48$(call inherit-product, packages/services/Car/car_product/build/car_product.mk)
49
50PRODUCT_BRAND := Android
51#
52# Special settings for GSI releasing
53#
54$(call inherit-product, $(SRC_TARGET_DIR)/product/gsi_release.mk)
55