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# This is a build configuration for the 'slim' image targeted 18# for headless automated testing. Compared to the full AOSP 'sdk_phone' 19# image it removes/replaces most product apps, and turns off rendering 20# by default. 21 22# Enable mainline checking for this exact product name 23ifeq (sdk_slim_arm64,$(TARGET_PRODUCT)) 24PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed 25endif 26 27BOARD_EMULATOR_DYNAMIC_PARTITIONS_SIZE ?= $(shell expr 1536 \* 1048576 ) 28BOARD_SUPER_PARTITION_SIZE := $(shell expr $(BOARD_EMULATOR_DYNAMIC_PARTITIONS_SIZE) + 8388608 ) # +8M 29 30$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit_only.mk) 31 32PRODUCT_SDK_ADDON_SYS_IMG_SOURCE_PROP := \ 33 development/sys-img/images_atd_source.prop_template 34 35# this must go first - overwrites the goldfish handheld_core_hardware.xml 36$(call inherit-product, device/generic/goldfish/slim/vendor.mk) 37$(call inherit-product, device/generic/goldfish/board/emu64a/details.mk) 38$(call inherit-product, device/generic/goldfish/product/slim_handheld.mk) 39 40PRODUCT_BRAND := Android 41PRODUCT_NAME := sdk_slim_arm64 42PRODUCT_DEVICE := emu64a 43PRODUCT_MODEL := Android ATD built for arm64 44