1#
2# Copyright (C) 2017 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# PRODUCT_VENDOR_PROPERTIES cannot be used here because sysprops will be at
18# /vendor/[build|default].prop when build split is on. In order to have sysprops
19# on the generic system image, place them in build/make/target/board/
20# gsi_system.prop.
21
22# aosp_x86_ab-userdebug is a Legacy GSI for the devices with:
23# - x86 32 bits user space
24# - 32 bits binder interface
25# - system-as-root
26
27#
28# All components inherited here go to system image
29# (The system image of Legacy GSI is not CSI)
30#
31$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
32$(call inherit-product, $(SRC_TARGET_DIR)/product/mainline_system.mk)
33
34# Enable mainline checking for excat this product name
35ifeq (aosp_x86_ab,$(TARGET_PRODUCT))
36PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed
37endif
38
39#
40# All components inherited here go to system_ext image
41#
42$(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_system_ext.mk)
43$(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_system_ext.mk)
44
45#
46# All components inherited here go to product image
47#
48$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_product.mk)
49
50#
51# Special settings for GSI releasing
52#
53$(call inherit-product, $(SRC_TARGET_DIR)/product/legacy_gsi_release.mk)
54
55PRODUCT_NAME := aosp_x86_ab
56PRODUCT_DEVICE := generic_x86_ab
57PRODUCT_BRAND := Android
58PRODUCT_MODEL := AOSP on x86
59