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#
16
17include device/generic/goldfish/board/kernel/x86_64.mk
18
19PRODUCT_PROPERTY_OVERRIDES += \
20       vendor.rild.libpath=/vendor/lib64/libgoldfish-ril.so
21
22ADVANCED_FEATURES_FILE := advancedFeatures.ini
23ifneq ($(filter %_minigbm, $(TARGET_PRODUCT)),)
24ADVANCED_FEATURES_FILE := advancedFeatures.ini.minigbm
25endif
26
27PRODUCT_COPY_FILES += \
28    device/generic/goldfish/data/etc/$(ADVANCED_FEATURES_FILE):advancedFeatures.ini \
29    $(EMULATOR_KERNEL_FILE):kernel-ranchu \
30    device/generic/goldfish/board/fstab/x86:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/first_stage_ramdisk/fstab.ranchu \
31    device/generic/goldfish/board/fstab/x86:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.ranchu \
32
33$(call inherit-product, device/generic/goldfish/board/16k.mk)
34