1# Copyright (C) 2018 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# arm emulator specific definitions
17TARGET_ARCH := arm
18
19# Note: Before P, we built the platform images for ARMv7-A _without_ NEON.
20# Note: Before Q, we built the CTS and SDK images for ARMv7-A _without_ NEON.
21# Note: Before Q, we built unbundled apps for ARMv7-A _without_ NEON.
22#
23# Starting from Pi, System image of aosp_arm products is the new GSI
24# for real devices newly launched for Pi. These devices are usualy not
25# as performant as the mainstream 64-bit devices and the performance
26# provided by NEON is important for them to pass related CTS tests.
27TARGET_ARCH_VARIANT := armv7-a-neon
28TARGET_CPU_VARIANT := generic
29TARGET_CPU_ABI := armeabi-v7a
30TARGET_CPU_ABI2 := armeabi
31
32include build/make/target/board/BoardConfigGsiCommon.mk
33
34ifndef BUILDING_GSI
35include build/make/target/board/BoardConfigEmuCommon.mk
36
37BOARD_USERDATAIMAGE_PARTITION_SIZE := 576716800
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"
49endif
50