blob: d3514a50dee7e1699f2a9a51562a9b3c471aff9a [file] [log] [blame]
Ben Chengdb4fc202013-10-04 16:02:59 -07001#
bohu753e9e42017-08-10 00:20:01 -07002# Copyright (C) 2017 The Android Open-Source Project
Ben Chengdb4fc202013-10-04 16:02:59 -07003#
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
SzuWei Lind13c1712018-06-25 17:53:49 +080017# The system image of aosp_arm64-userdebug is a GSI for the devices with:
18# - ARM 64 bits user space
19# - 64 bits binder interface
20# - system-as-root
21# - VNDK enforcement
22# - compatible property override enabled
23
Ben Chengdb4fc202013-10-04 16:02:59 -070024# This is a build configuration for a full-featured build of the
25# Open-Source part of the tree. It's geared toward a US-centric
26# build quite specifically for the emulator, and might not be
27# entirely appropriate to inherit from for on-device configurations.
28
SzuWei Lindf098922019-06-25 17:49:01 +080029#
30# All components inherited here go to system image
31#
SzuWei Lince1fdb22019-01-25 13:12:55 +080032$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
JaeMan20cdc902020-08-11 02:37:01 +000033$(call inherit-product, $(SRC_TARGET_DIR)/product/generic_system.mk)
SzuWei Lince1fdb22019-01-25 13:12:55 +080034
SzuWei Lin323be832019-02-01 12:44:30 +080035# Enable mainline checking for excat this product name
36ifeq (aosp_arm64,$(TARGET_PRODUCT))
37PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed
38endif
39
SzuWei Lindf098922019-06-25 17:49:01 +080040#
Justin Yune58ffe42019-11-15 15:51:36 +090041# All components inherited here go to system_ext image
42#
43$(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_system_ext.mk)
44$(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_system_ext.mk)
45
Yi-Yo Chiang595a0f72022-10-11 19:39:14 +080046# pKVM
47$(call inherit-product, packages/modules/Virtualization/apex/product_packages.mk)
48
Justin Yune58ffe42019-11-15 15:51:36 +090049#
SzuWei Lindf098922019-06-25 17:49:01 +080050# All components inherited here go to product image
51#
52$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_product.mk)
53
Steve Muckle41a6e3b2020-04-30 05:53:38 +000054#
55# All components inherited here go to vendor or vendor_boot image
56#
SzuWei Lindf098922019-06-25 17:49:01 +080057$(call inherit-product, $(SRC_TARGET_DIR)/board/generic_arm64/device.mk)
Adam Shihd40d1762021-09-24 10:11:36 +080058$(call inherit-product, $(SRC_TARGET_DIR)/product/non_ab_device.mk)
SzuWei Lindf098922019-06-25 17:49:01 +080059
60#
61# Special settings for GSI releasing
62#
63ifeq (aosp_arm64,$(TARGET_PRODUCT))
Pranav Gupta105610b2023-04-18 22:29:26 -070064# Build modules from source if this has not been pre-configured
65MODULE_BUILD_FROM_SOURCE ?= true
66
SzuWei Lindf098922019-06-25 17:49:01 +080067$(call inherit-product, $(SRC_TARGET_DIR)/product/gsi_release.mk)
SzuWei Lindf098922019-06-25 17:49:01 +080068endif
69
Isaac Chen164eed22018-03-29 18:47:19 +080070
Colin Cross4f0eb7d2014-01-21 19:35:38 -080071PRODUCT_NAME := aosp_arm64
72PRODUCT_DEVICE := generic_arm64
Ben Chengdb4fc202013-10-04 16:02:59 -070073PRODUCT_BRAND := Android
SzuWei Lince1fdb22019-01-25 13:12:55 +080074PRODUCT_MODEL := AOSP on ARM64