Home | History | Annotate | Download | only in generic_x86_arm
      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 # x86 emulator specific definitions
     17 TARGET_CPU_ABI := x86
     18 TARGET_ARCH := x86
     19 TARGET_ARCH_VARIANT := x86
     20 
     21 TARGET_2ND_ARCH := arm
     22 TARGET_2ND_CPU_ABI := armeabi-v7a
     23 TARGET_2ND_CPU_ABI2 := armeabi
     24 TARGET_2ND_ARCH_VARIANT := armv7-a-neon
     25 TARGET_2ND_CPU_VARIANT := generic
     26 
     27 TARGET_CPU_ABI_LIST := x86 armeabi-v7a armeabi
     28 TARGET_TRANSLATE_2ND_ARCH := true
     29 
     30 BUILD_BROKEN_DUP_RULES := true
     31 
     32 
     33 include build/make/target/board/BoardConfigGsiCommon.mk
     34 include build/make/target/board/BoardConfigEmuCommon.mk
     35 
     36 # Resize to 4G to accomodate ASAN and CTS
     37 BOARD_USERDATAIMAGE_PARTITION_SIZE := 4294967296
     38 
     39 BOARD_SEPOLICY_DIRS += device/generic/goldfish/sepolicy/x86
     40 
     41 # Wifi.
     42 BOARD_WLAN_DEVICE           := emulator
     43 BOARD_HOSTAPD_DRIVER        := NL80211
     44 BOARD_WPA_SUPPLICANT_DRIVER := NL80211
     45 BOARD_HOSTAPD_PRIVATE_LIB   := lib_driver_cmd_simulated
     46 BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_simulated
     47 WPA_SUPPLICANT_VERSION      := VER_0_8_X
     48 WIFI_DRIVER_FW_PATH_PARAM   := "/dev/null"
     49 WIFI_DRIVER_FW_PATH_STA     := "/dev/null"
     50 WIFI_DRIVER_FW_PATH_AP      := "/dev/null"
     51