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#
16PRODUCT_USE_DYNAMIC_PARTITIONS := true
17
18BOARD_EMULATOR_DYNAMIC_PARTITIONS_SIZE ?= $(shell expr 1536 \* 1048576 )
19BOARD_SUPER_PARTITION_SIZE := $(shell expr $(BOARD_EMULATOR_DYNAMIC_PARTITIONS_SIZE) + 8388608 )  # +8M
20
21$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit_only.mk)
22
23# Enable mainline checking for this excat product name
24ifeq (sdk_phone64_x86_64,$(TARGET_PRODUCT))
25PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed
26endif
27
28PRODUCT_SDK_ADDON_SYS_IMG_SOURCE_PROP := \
29    development/sys-img/images_x86_64_source.prop_template
30
31$(call inherit-product, device/generic/goldfish/board/emu64x/details.mk)
32$(call inherit-product, device/generic/goldfish/product/phone.mk)
33
34PRODUCT_BRAND := Android
35PRODUCT_NAME := sdk_phone64_x86_64
36PRODUCT_DEVICE := emu64x
37PRODUCT_MODEL := Android SDK built for x86_64
38