blob: 9df26a9c0a9116ef31bf01e10aefad3bb5619fee [file] [log] [blame]
Ying Wang09a4e682014-04-29 12:48:06 -07001#
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#
bohu11eadcc2019-08-29 22:52:20 -070016QEMU_USE_SYSTEM_EXT_PARTITIONS := true
bohua3daf2e2019-09-06 15:31:21 -070017PRODUCT_USE_DYNAMIC_PARTITIONS := true
18
19#
20# All components inherited here go to system image
21#
22$(call inherit-product, $(SRC_TARGET_DIR)/product/mainline_system.mk)
23
24# Enable mainline checking for excat this product name
25ifeq (sdk_phone_x86,$(TARGET_PRODUCT))
26PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed
27endif
28
29#
Justin Yune58ffe42019-11-15 15:51:36 +090030# All components inherited here go to system_ext image
31#
32$(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_system_ext.mk)
33$(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_system_ext.mk)
34
35#
bohua3daf2e2019-09-06 15:31:21 -070036# All components inherited here go to product image
37#
38$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_product.mk)
39
40#
41# All components inherited here go to vendor image
42#
43$(call inherit-product-if-exists, device/generic/goldfish/x86-vendor.mk)
44$(call inherit-product, $(SRC_TARGET_DIR)/product/emulator_vendor.mk)
45$(call inherit-product, $(SRC_TARGET_DIR)/board/generic_x86/device.mk)
Ying Wang09a4e682014-04-29 12:48:06 -070046
bohuc5e25e92018-06-04 14:11:55 -070047$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_x86.mk)
Bjoern Johanssond2cd53a2015-11-18 10:04:21 -080048
bohu62d494b2018-06-05 00:01:36 -070049# Define the host tools and libs that are parts of the SDK.
50-include sdk/build/product_sdk.mk
51-include development/build/product_sdk.mk
52
Ying Wang09a4e682014-04-29 12:48:06 -070053# Overrides
Vince Harron58065312015-10-29 10:08:23 -070054PRODUCT_BRAND := Android
Ying Wang1f371a12014-07-18 15:36:30 -070055PRODUCT_NAME := sdk_phone_x86
56PRODUCT_DEVICE := generic_x86
57PRODUCT_MODEL := Android SDK built for x86