1#
2# Copyright 2016 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
17# This is a build configuration for a full-featured build of the
18# Open-Source part of the tree. It's geared toward a US-centric
19# build quite specifically for the emulator, and might not be
20# entirely appropriate to inherit from for on-device configurations.
21
22# If running on an emulator or some other device that has a LAN connection
23# that isn't a wifi connection. This will instruct init.rc to enable the
24# network connection so that you can use it with ADB
25
26# This is for enabling ethernet support for ranchu.
27# Consider removing this after RIL support is provided in ranchu.
28PRODUCT_COPY_FILES += frameworks/native/data/etc/android.hardware.ethernet.xml:system/etc/permissions/android.hardware.ethernet.xml
29
30$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
31$(call inherit-product, device/generic/car/common/product/aosp_base_telephony.mk)
32$(call inherit-product, $(SRC_TARGET_DIR)/board/generic_x86_64/device.mk)
33
34include device/generic/car/common/product/emulator.mk
35
36ifdef NET_ETH0_STARTONBOOT
37  PRODUCT_PROPERTY_OVERRIDES += net.eth0.startonboot=1
38endif
39
40# Ensure we package the BIOS files too.
41PRODUCT_PACKAGES += \
42	bios.bin \
43	vgabios-cirrus.bin \
44
45# Overrides
46PRODUCT_NAME := aosp_x86_64
47PRODUCT_DEVICE := generic_x86_64
48PRODUCT_BRAND := Android
49PRODUCT_MODEL := AOSP on IA x86_64 Emulator
50