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_64-userdebug is a GSI for the devices with: 20# - x86 64 bits user space 21# - 64 bits binder interface 22# - system-as-root 23# - VNDK enforcement 24# - compatible property override enabled 25 26# This is a build configuration for a full-featured build of the 27# Open-Source part of the tree. It's geared toward a US-centric 28# build quite specifically for the emulator, and might not be 29# entirely appropriate to inherit from for on-device configurations. 30 31# 32# All components inherited here go to system image 33# 34$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) 35$(call inherit-product, $(SRC_TARGET_DIR)/product/generic_system.mk) 36 37# Enable mainline checking for excat this product name 38ifeq (aosp_x86_64,$(TARGET_PRODUCT)) 39PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed 40endif 41 42# 43# All components inherited here go to system_ext image 44# 45$(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_system_ext.mk) 46$(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_system_ext.mk) 47 48# pKVM 49$(call inherit-product, packages/modules/Virtualization/apex/product_packages.mk) 50 51# 52# All components inherited here go to product image 53# 54$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_product.mk) 55 56# 57# All components inherited here go to vendor image 58# 59$(call inherit-product, $(SRC_TARGET_DIR)/board/generic_x86_64/device.mk) 60AB_OTA_UPDATER := true 61AB_OTA_PARTITIONS ?= system 62 63# Set widevine apex signed with dev key 64$(call soong_config_set,widevine,use_devkey,true) 65 66# 67# Special settings for GSI releasing 68# 69ifeq (aosp_x86_64,$(TARGET_PRODUCT)) 70# Build modules from source if this has not been pre-configured 71MODULE_BUILD_FROM_SOURCE ?= true 72 73$(call inherit-product, $(SRC_TARGET_DIR)/product/gsi_release.mk) 74endif 75 76 77PRODUCT_NAME := aosp_x86_64 78PRODUCT_DEVICE := generic_x86_64 79PRODUCT_BRAND := Android 80PRODUCT_MODEL := AOSP on x86_64 81 82PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO := true 83