1# 2# Copyright (C) 2009 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# 16PRODUCT_USE_DYNAMIC_PARTITIONS := true 17 18# This is a build configuration for a full-featured build of the 19# Open-Source part of the tree. It's geared toward a US-centric 20# build quite specifically for the emulator, and might not be 21# entirely appropriate to inherit from for on-device configurations. 22 23# 24# All components inherited here go to system image 25# 26$(call inherit-product, $(SRC_TARGET_DIR)/product/generic_system.mk) 27 28# Enable mainline checking for exact this product name 29ifeq (sdk_phone_x86,$(TARGET_PRODUCT)) 30PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed 31endif 32 33# 34# All components inherited here go to system_ext image 35# 36$(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_system_ext.mk) 37$(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_system_ext.mk) 38 39# 40# All components inherited here go to product image 41# 42$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_product.mk) 43 44# 45# All components inherited here go to vendor image 46# 47$(call inherit-product-if-exists, device/generic/goldfish/x86-vendor.mk) 48$(call inherit-product, $(SRC_TARGET_DIR)/product/emulator_vendor.mk) 49$(call inherit-product, $(SRC_TARGET_DIR)/board/emulator_x86/device.mk) 50 51# Overrides 52PRODUCT_BRAND := Android 53PRODUCT_NAME := sdk_phone_x86 54PRODUCT_DEVICE := emulator_x86 55PRODUCT_MODEL := Android SDK built for x86 56# Disable <uses-library> checks for SDK product. It lacks some libraries (e.g. 57# RadioConfigLib), which makes it impossible to translate their module names to 58# library name, so the check fails. 59PRODUCT_BROKEN_VERIFY_USES_LIBRARIES := true 60