Ying Wang | 09a4e68 | 2014-04-29 12:48:06 -0700 | [diff] [blame] | 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 | # |
bohu | 11eadcc | 2019-08-29 22:52:20 -0700 | [diff] [blame] | 16 | QEMU_USE_SYSTEM_EXT_PARTITIONS := true |
bohu | a3daf2e | 2019-09-06 15:31:21 -0700 | [diff] [blame] | 17 | PRODUCT_USE_DYNAMIC_PARTITIONS := true |
| 18 | |
SzuWei Lin | c73db78 | 2020-05-18 17:39:00 +0800 | [diff] [blame] | 19 | # 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 | |
bohu | a3daf2e | 2019-09-06 15:31:21 -0700 | [diff] [blame] | 24 | # |
| 25 | # All components inherited here go to system image |
| 26 | # |
| 27 | $(call inherit-product, $(SRC_TARGET_DIR)/product/mainline_system.mk) |
| 28 | |
SzuWei Lin | c73db78 | 2020-05-18 17:39:00 +0800 | [diff] [blame] | 29 | # Enable mainline checking for exact this product name |
bohu | a3daf2e | 2019-09-06 15:31:21 -0700 | [diff] [blame] | 30 | ifeq (sdk_phone_x86,$(TARGET_PRODUCT)) |
| 31 | PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed |
| 32 | endif |
| 33 | |
| 34 | # |
Justin Yun | e58ffe4 | 2019-11-15 15:51:36 +0900 | [diff] [blame] | 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 | # |
bohu | a3daf2e | 2019-09-06 15:31:21 -0700 | [diff] [blame] | 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) |
SzuWei Lin | c73db78 | 2020-05-18 17:39:00 +0800 | [diff] [blame] | 50 | $(call inherit-product, $(SRC_TARGET_DIR)/board/emulator_x86/device.mk) |
Ying Wang | 09a4e68 | 2014-04-29 12:48:06 -0700 | [diff] [blame] | 51 | |
bohu | 62d494b | 2018-06-05 00:01:36 -0700 | [diff] [blame] | 52 | # 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 Wang | 09a4e68 | 2014-04-29 12:48:06 -0700 | [diff] [blame] | 56 | # Overrides |
Vince Harron | 5806531 | 2015-10-29 10:08:23 -0700 | [diff] [blame] | 57 | PRODUCT_BRAND := Android |
Ying Wang | 1f371a1 | 2014-07-18 15:36:30 -0700 | [diff] [blame] | 58 | PRODUCT_NAME := sdk_phone_x86 |
SzuWei Lin | c73db78 | 2020-05-18 17:39:00 +0800 | [diff] [blame] | 59 | PRODUCT_DEVICE := emulator_x86 |
Ying Wang | 1f371a1 | 2014-07-18 15:36:30 -0700 | [diff] [blame] | 60 | PRODUCT_MODEL := Android SDK built for x86 |