blob: 0fdd5d075a062f0abb176d6baa4518d64eb3faac [file] [log] [blame]
maxwena5db4ad2020-09-19 18:26:37 +02001# 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
maxwen29a03032020-10-24 15:07:04 +020016DEVICE_PATH := vendor/omni/utils/omni_emulator
17
maxwena5db4ad2020-09-19 18:26:37 +020018# x86 emulator specific definitions
19TARGET_CPU_ABI := x86
20TARGET_ARCH := x86
21TARGET_ARCH_VARIANT := x86
22
23TARGET_PRELINK_MODULE := false
24
25include build/make/target/board/BoardConfigGsiCommon.mk
maxwen29a03032020-10-24 15:07:04 +020026include $(DEVICE_PATH)/BoardConfigEmuCommon.mk
maxwena5db4ad2020-09-19 18:26:37 +020027
28# Resize to 4G to accomodate ASAN and CTS
29BOARD_USERDATAIMAGE_PARTITION_SIZE := 4294967296
30
31BOARD_SEPOLICY_DIRS += device/generic/goldfish/sepolicy/x86
32
33# Wifi.
34BOARD_WLAN_DEVICE := emulator
35BOARD_HOSTAPD_DRIVER := NL80211
36BOARD_WPA_SUPPLICANT_DRIVER := NL80211
37BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_simulated
38BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_simulated
39WPA_SUPPLICANT_VERSION := VER_0_8_X
40WIFI_DRIVER_FW_PATH_PARAM := "/dev/null"
41WIFI_DRIVER_FW_PATH_STA := "/dev/null"
42WIFI_DRIVER_FW_PATH_AP := "/dev/null"
maxwen29a03032020-10-24 15:07:04 +020043
44TARGET_SYSTEM_PROP := $(DEVICE_PATH)/system.prop