1# Copyright (C) 2020 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#      http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14#
15
16# x86_64 emulator specific definitions
17TARGET_CPU_ABI := x86_64
18TARGET_ARCH := x86_64
19TARGET_ARCH_VARIANT := x86_64
20
21TARGET_2ND_CPU_ABI := x86
22TARGET_2ND_ARCH := x86
23TARGET_2ND_ARCH_VARIANT := x86_64
24
25TARGET_NATIVE_BRIDGE_ARCH := arm64
26TARGET_NATIVE_BRIDGE_ARCH_VARIANT := armv8-a
27TARGET_NATIVE_BRIDGE_CPU_VARIANT := generic
28TARGET_NATIVE_BRIDGE_ABI := arm64-v8a
29
30TARGET_NATIVE_BRIDGE_2ND_ARCH := arm
31TARGET_NATIVE_BRIDGE_2ND_ARCH_VARIANT := armv7-a-neon
32TARGET_NATIVE_BRIDGE_2ND_CPU_VARIANT := generic
33TARGET_NATIVE_BRIDGE_2ND_ABI := armeabi-v7a armeabi
34
35BUILD_BROKEN_DUP_RULES := true
36
37TARGET_PRELINK_MODULE := false
38
39include build/make/target/board/BoardConfigMainlineCommon.mk
40include build/make/target/board/BoardConfigEmuCommon.mk
41
42# the settings differ from BoardConfigMainlineCommon.mk
43BOARD_USES_SYSTEM_OTHER_ODEX :=
44
45# Resize to 4G to accommodate ASAN and CTS
46BOARD_USERDATAIMAGE_PARTITION_SIZE := 4294967296
47
48BOARD_SEPOLICY_DIRS += device/generic/goldfish/sepolicy/x86
49
50# Wifi.
51BOARD_WLAN_DEVICE           := emulator
52BOARD_HOSTAPD_DRIVER        := NL80211
53BOARD_WPA_SUPPLICANT_DRIVER := NL80211
54BOARD_HOSTAPD_PRIVATE_LIB   := lib_driver_cmd_simulated
55BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_simulated
56WPA_SUPPLICANT_VERSION      := VER_0_8_X
57WIFI_DRIVER_FW_PATH_PARAM   := "/dev/null"
58WIFI_DRIVER_FW_PATH_STA     := "/dev/null"
59WIFI_DRIVER_FW_PATH_AP      := "/dev/null"
60