1#
2# Copyright 2013 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#
16
17PRODUCT_PROPERTY_OVERRIDES += \
18	vendor.rild.libpath=/vendor/lib64/libreference-ril.so
19
20# This is a build configuration for a full-featured build of the
21# Open-Source part of the tree. It's geared toward a US-centric
22# build quite specifically for the emulator, and might not be
23# entirely appropriate to inherit from for on-device configurations.
24
25PRODUCT_COPY_FILES += \
26    development/sys-img/advancedFeatures.ini:advancedFeatures.ini \
27    device/generic/goldfish/data/etc/encryptionkey.img:encryptionkey.img \
28    prebuilts/qemu-kernel/x86_64/4.9/kernel-qemu2:kernel-ranchu
29
30# Copy different zygote settings for vendor.img to select by setting property
31# ro.zygote=zygote64_32 or ro.zygote=zygote32_64:
32#   1. 64-bit primary, 32-bit secondary OR
33#   2. 32-bit primary, 64-bit secondary
34# init.zygote64_32.rc is in the core_64_bit.mk below
35PRODUCT_COPY_FILES += \
36    system/core/rootdir/init.zygote32_64.rc:root/init.zygote32_64.rc
37
38# TODO(b/78308559): includes vr_hwc into GSI before vr_hwc move to vendor
39PRODUCT_PACKAGES += \
40    vr_hwc
41
42$(call inherit-product, $(SRC_TARGET_DIR)/product/emulator.mk)
43$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
44$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk)
45$(call inherit-product, $(SRC_TARGET_DIR)/board/generic_x86_64/device.mk)
46
47# Needed by Pi newly launched device to pass VtsTrebleSysProp on GSI
48PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE := true
49
50ifdef NET_ETH0_STARTONBOOT
51  PRODUCT_PROPERTY_OVERRIDES += net.eth0.startonboot=1
52endif
53
54# Ensure we package the BIOS files too.
55PRODUCT_PACKAGES += \
56	bios.bin \
57	vgabios-cirrus.bin \
58
59# Overrides
60PRODUCT_NAME := aosp_x86_64
61PRODUCT_DEVICE := generic_x86_64
62PRODUCT_BRAND := Android
63PRODUCT_MODEL := AOSP on IA x86_64 Emulator
64