1#
2# Copyright (C) 2024 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#
16PRODUCT_USE_DYNAMIC_PARTITIONS := true
17
18# This is a build configuration for a full-featured build of the
19# Open-Source part of the tree. It's geared toward a US-centric
20# build quite specifically for the emulator, and might not be
21# entirely appropriate to inherit from for on-device configurations.
22
23PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed
24
25BOARD_EMULATOR_DYNAMIC_PARTITIONS_SIZE ?= $(shell expr 1536 \* 1048576 )
26BOARD_SUPER_PARTITION_SIZE := $(shell expr $(BOARD_EMULATOR_DYNAMIC_PARTITIONS_SIZE) + 8388608 )  # +8M
27
28$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit_only.mk)
29
30PRODUCT_SDK_ADDON_SYS_IMG_SOURCE_PROP := \
31    development/sys-img/images_arm64-v8a_source.prop_template
32
33$(call inherit-product, device/generic/goldfish/board/emu64a16k/details.mk)
34$(call inherit-product, device/generic/goldfish/product/phone.mk)
35
36PRODUCT_BRAND := Android
37PRODUCT_NAME := sdk_phone16k_arm64
38PRODUCT_DEVICE := emu64a16k
39PRODUCT_MODEL := Android SDK built for 16KB page-size arm64
40