1#
2# Copyright 2013 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
17PRODUCT_USE_DYNAMIC_PARTITIONS := true
18
19# The system image of aosp_x86-userdebug is a GSI for the devices with:
20# - x86 32 bits user space
21# - 64 bits binder interface
22# - system-as-root
23# - VNDK enforcement
24# - compatible property override enabled
25
26#
27# All components inherited here go to system image
28#
29$(call inherit-product, $(SRC_TARGET_DIR)/product/generic_system.mk)
30
31# Enable mainline checking for excat this product name
32ifeq (aosp_x86,$(TARGET_PRODUCT))
33PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed
34endif
35
36#
37# All components inherited here go to system_ext image
38#
39$(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_system_ext.mk)
40$(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_system_ext.mk)
41
42#
43# All components inherited here go to product image
44#
45$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_product.mk)
46
47#
48# All components inherited here go to vendor image
49#
50$(call inherit-product-if-exists, device/generic/goldfish/x86-vendor.mk)
51$(call inherit-product, $(SRC_TARGET_DIR)/product/emulator_vendor.mk)
52$(call inherit-product, $(SRC_TARGET_DIR)/board/generic_x86/device.mk)
53
54
55#
56# Special settings for GSI releasing
57#
58ifeq (aosp_x86,$(TARGET_PRODUCT))
59$(call inherit-product, $(SRC_TARGET_DIR)/product/gsi_release.mk)
60endif
61
62
63PRODUCT_NAME := aosp_x86
64PRODUCT_DEVICE := generic_x86
65PRODUCT_BRAND := Android
66PRODUCT_MODEL := AOSP on x86
67