blob: cefa288a90bb4f9eae3efab06065cc0babfff02f [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
Steve Muckle1e1514a2020-04-13 17:30:57 -070017PRODUCT_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
SzuWei Linc73db782020-05-18 17:39:00 +080024# Enable mainline checking for exact this product name
25ifeq (sdk_phone_arm64,$(TARGET_PRODUCT))
26PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed
27endif
28
Steve Muckle1e1514a2020-04-13 17:30:57 -070029#
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/mainline_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)
bohu4a6cc6a2017-06-22 22:03:32 -070052
bohu19481ce2018-06-19 20:15:20 -070053# 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)
Bo Huc82af2f2018-06-19 22:19:47 +000056
bohu19481ce2018-06-19 20:15:20 -070057# keep this apk for sdk targets for now
Bo Huc82af2f2018-06-19 22:19:47 +000058PRODUCT_PACKAGES += \
bohu19481ce2018-06-19 20:15:20 -070059 EmulatorSmokeTests
Bjoern Johanssond2cd53a2015-11-18 10:04:21 -080060
Ying Wang09a4e682014-04-29 12:48:06 -070061# Overrides
Vince Harron58065312015-10-29 10:08:23 -070062PRODUCT_BRAND := Android
Ying Wang1f371a12014-07-18 15:36:30 -070063PRODUCT_NAME := sdk_phone_arm64
Steve Muckle1e1514a2020-04-13 17:30:57 -070064PRODUCT_DEVICE := emulator_arm64
Ying Wang1f371a12014-07-18 15:36:30 -070065PRODUCT_MODEL := Android SDK built for arm64
bohu813249b2017-08-10 00:20:01 -070066
Inseob Kimba36f4c2019-10-17 10:30:35 +000067