1# 2# Copyright (C) 2021 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 exact product name 24ifeq (sdk_slim_x86_64,$(TARGET_PRODUCT)) 25PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed 26endif 27 28# this must go first - overwrites the goldfish handheld_core_hardware.xml 29$(call inherit-product, device/generic/goldfish/slim/vendor.mk) 30$(call inherit-product, device/generic/goldfish/board/emu64x/details.mk) 31$(call inherit-product, device/generic/goldfish/product/slim_handheld.mk) 32 33PRODUCT_SDK_ADDON_SYS_IMG_SOURCE_PROP := \ 34 development/sys-img/images_atd_source.prop_template 35 36PRODUCT_BRAND := Android 37PRODUCT_NAME := sdk_slim_x86_64 38PRODUCT_DEVICE := emu64x 39PRODUCT_MODEL := Android ATD built for x86_64 40