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
17# The system image of gsi_arm64-userdebug is the GSI for devices with:
18# - ARM 64-bit userspace
19# - 64-bit binder interface
20# - system-as-root
21# - VNDK enforcement
22# - compatible property override enabled
23
24#
25# All components inherited here go to system image
26#
27$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
28$(call inherit-product, $(SRC_TARGET_DIR)/product/generic_system.mk)
29
30# Enable mainline checking
31PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := true
32
33# Always build modules from source
34MODULE_BUILD_FROM_SOURCE := true
35
36#
37# All components inherited here go to system_ext image
38#
39$(call inherit-product, device/generic/common/gsi_system_ext.mk)
40
41# pKVM
42$(call inherit-product, packages/modules/Virtualization/apex/product_packages.mk)
43
44#
45# All components inherited here go to product image
46#
47$(call inherit-product, device/generic/common/gsi_product.mk)
48
49#
50# Special settings for GSI releasing
51#
52$(call inherit-product, $(SRC_TARGET_DIR)/product/gsi_release.mk)
53
54
55PRODUCT_NAME := gsi_arm64
56PRODUCT_DEVICE := generic_arm64
57PRODUCT_BRAND := Android
58PRODUCT_MODEL := GSI on ARM64
59