diff --git a/arm/config/arm.gni b/arm/config/arm.gni index efa90050..5da27beb 100644 --- a/arm/config/arm.gni +++ b/arm/config/arm.gni @@ -2,6 +2,7 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. +import("//build/config/chromeos/ui_mode.gni") import("//build/config/v8_target_cpu.gni") # These are primarily relevant in current_cpu == "arm" contexts, where @@ -37,6 +38,12 @@ if (current_cpu == "arm" || v8_current_cpu == "arm") { # has increased code density. 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"