blob: bcee0663ec28ad5540966b21886a68299d635df3 [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
SzuWei Linc73db782020-05-18 17:39:00 +080019# This is a build configuration for a full-featured build of the
20# Open-Source part of the tree. It's geared toward a US-centric
21# build quite specifically for the emulator, and might not be
22# entirely appropriate to inherit from for on-device configurations.
23
bohua3daf2e2019-09-06 15:31:21 -070024#
25# All components inherited here go to system image
26#
27$(call inherit-product, $(SRC_TARGET_DIR)/product/mainline_system.mk)
28
SzuWei Linc73db782020-05-18 17:39:00 +080029# Enable mainline checking for exact this product name
bohua3daf2e2019-09-06 15:31:21 -070030ifeq (sdk_phone_x86,$(TARGET_PRODUCT))
31PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed
32endif
33
34#
Justin Yune58ffe42019-11-15 15:51:36 +090035# 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#
bohua3daf2e2019-09-06 15:31:21 -070041# 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)
SzuWei Linc73db782020-05-18 17:39:00 +080050$(call inherit-product, $(SRC_TARGET_DIR)/board/emulator_x86/device.mk)
Ying Wang09a4e682014-04-29 12:48:06 -070051
bohu62d494b2018-06-05 00:01:36 -070052# Define the host tools and libs that are parts of the SDK.
53-include sdk/build/product_sdk.mk
54-include development/build/product_sdk.mk
55
Ying Wang09a4e682014-04-29 12:48:06 -070056# Overrides
Vince Harron58065312015-10-29 10:08:23 -070057PRODUCT_BRAND := Android
Ying Wang1f371a12014-07-18 15:36:30 -070058PRODUCT_NAME := sdk_phone_x86
SzuWei Linc73db782020-05-18 17:39:00 +080059PRODUCT_DEVICE := emulator_x86
Ying Wang1f371a12014-07-18 15:36:30 -070060PRODUCT_MODEL := Android SDK built for x86