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#
16QEMU_USE_SYSTEM_EXT_PARTITIONS := true
17PRODUCT_USE_DYNAMIC_PARTITIONS := true
18
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
24# Enable mainline checking for exact this product name
25ifeq (sdk_phone_arm64,$(TARGET_PRODUCT))
26PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed
27endif
28
29#
30# All components inherited here go to system image
31#
32$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
33$(call inherit-product, $(SRC_TARGET_DIR)/product/generic_system.mk)
34
35#
36# All components inherited here go to system_ext image
37#
38$(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_system_ext.mk)
39$(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_system_ext.mk)
40
41#
42# All components inherited here go to product image
43#
44$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_product.mk)
45
46#
47# All components inherited here go to vendor or vendor_boot image
48#
49$(call inherit-product-if-exists, device/generic/goldfish/arm64-vendor.mk)
50$(call inherit-product, $(SRC_TARGET_DIR)/product/emulator_vendor.mk)
51$(call inherit-product, $(SRC_TARGET_DIR)/board/emulator_arm64/device.mk)
52
53# Define the host tools and libs that are parts of the SDK.
54$(call inherit-product, sdk/build/product_sdk.mk)
55$(call inherit-product, development/build/product_sdk.mk)
56
57# keep this apk for sdk targets for now
58PRODUCT_PACKAGES += \
59    EmulatorSmokeTests
60
61# Overrides
62PRODUCT_BRAND := Android
63PRODUCT_NAME := sdk_phone_arm64
64PRODUCT_DEVICE := emulator_arm64
65PRODUCT_MODEL := Android SDK built for arm64
66# Disable <uses-library> checks for SDK product. It lacks some libraries (e.g.
67# RadioConfigLib), which makes it impossible to translate their module names to
68# library name, so the check fails.
69PRODUCT_BROKEN_VERIFY_USES_LIBRARIES := true
70
71
72