1#
2# Copyright (C) 2023 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
17EMULATOR_DISABLE_RADIO := true
18
19BOARD_EMULATOR_DYNAMIC_PARTITIONS_SIZE ?= $(shell expr 1536 \* 1048576 )
20BOARD_SUPER_PARTITION_SIZE := $(shell expr $(BOARD_EMULATOR_DYNAMIC_PARTITIONS_SIZE) + 8388608 )  # +8M
21
22PRODUCT_COPY_FILES += \
23    device/generic/goldfish/tablet/data/etc/display_settings.xml:$(TARGET_COPY_OUT_VENDOR)/etc/display_settings.xml \
24    device/generic/goldfish/data/etc/advancedFeatures.ini.tablet:advancedFeatures.ini \
25    device/generic/goldfish/data/etc/config.ini.nexus7tab:config.ini
26
27PRODUCT_COPY_FILES+= \
28        device/generic/goldfish/data/etc/tablet_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml
29
30PRODUCT_COPY_FILES += device/generic/goldfish/tablet/data/etc/tablet.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/tablet.xml
31
32$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit_only.mk)
33
34PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed
35
36PRODUCT_SDK_ADDON_SYS_IMG_SOURCE_PROP := \
37    device/generic/goldfish/64bitonly/product/tablet_images_arm64-v8a_source.prop_template
38
39$(call inherit-product, device/generic/goldfish/board/emu64a/details.mk)
40$(call inherit-product, device/generic/goldfish/product/tablet.mk)
41
42PRODUCT_BRAND := Android
43PRODUCT_NAME := sdk_tablet_arm64
44PRODUCT_DEVICE := emu64a
45PRODUCT_MODEL := Android SDK Tablet for arm64
46