1# 2# Copyright 2016 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# 20# All components inherited here go to system image 21# 22$(call inherit-product, $(SRC_TARGET_DIR)/product/generic_system.mk) 23 24# Enable mainline checking 25ifeq (aosp_x86_arm,$(TARGET_PRODUCT)) 26PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed 27endif 28 29# TODO (b/138382074): remove following setting after enable product/system_ext 30PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \ 31 system/product/% \ 32 system/system_ext/% 33 34# 35# All components inherited here go to system_ext image 36# 37$(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_system_ext.mk) 38$(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_system_ext.mk) 39 40# 41# All components inherited here go to product image 42# 43$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_product.mk) 44 45# 46# All components inherited here go to vendor image 47# 48$(call inherit-product-if-exists, device/generic/goldfish/x86-vendor.mk) 49$(call inherit-product, $(SRC_TARGET_DIR)/product/emulator_vendor.mk) 50$(call inherit-product, $(SRC_TARGET_DIR)/board/generic_x86_arm/device.mk) 51 52 53PRODUCT_NAME := aosp_x86_arm 54PRODUCT_DEVICE := generic_x86_arm 55PRODUCT_BRAND := Android 56PRODUCT_MODEL := AOSP on IA Emulator 57