Update raspi_arm.gni

This commit is contained in:
Alexander David Frick 2022-07-15 18:49:01 -05:00 committed by GitHub
parent de4e546283
commit a59359f7ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,6 +5,7 @@
# ONLY FOR RASPBERRY PI 4!!
# This should go in //chromium/src/config/arm.gni
import("//build/config/chromeos/ui_mode.gni")
import("//build/config/v8_target_cpu.gni")
# These are primarily relevant in current_cpu == "arm" contexts, where
@ -41,6 +42,12 @@ if (current_cpu == "arm" || v8_current_cpu == "arm") {
arm_use_thumb = true
}
# For lacros build, we use ARM v8 by default.
if (is_chromeos_lacros && arm_arch == "") {
arm_version = 8
arm_arch = "armv8-a+crc"
}
if (current_os == "android" || target_os == "android") {
arm_float_abi = "softfp"
} else {