• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
21# Keep the following for 32-bit native code support
22# There are a few native services still on 32-bit modes, e.g. media & audio.
23# Remove them in S.
24TARGET_2ND_CPU_ABI := x86
25TARGET_2ND_ARCH := x86
26TARGET_2ND_ARCH_VARIANT := x86_64
27
28TARGET_PRELINK_MODULE := false
29
30include build/make/target/board/BoardConfigGsiCommon.mk
31
32ifndef BUILDING_GSI
33include build/make/target/board/BoardConfigEmuCommon.mk
34
35BOARD_USERDATAIMAGE_PARTITION_SIZE := 576716800
36
37BOARD_SEPOLICY_DIRS += device/generic/goldfish/sepolicy/x86
38
39# Wifi.
40BOARD_WLAN_DEVICE           := emulator
41BOARD_HOSTAPD_DRIVER        := NL80211
42BOARD_WPA_SUPPLICANT_DRIVER := NL80211
43BOARD_HOSTAPD_PRIVATE_LIB   := lib_driver_cmd_simulated
44BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_simulated
45WPA_SUPPLICANT_VERSION      := VER_0_8_X
46WIFI_DRIVER_FW_PATH_PARAM   := "/dev/null"
47WIFI_DRIVER_FW_PATH_STA     := "/dev/null"
48WIFI_DRIVER_FW_PATH_AP      := "/dev/null"
49
50endif # !BUILDING_GSI
51