mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-09 19:37:30 -03:00
Update arm.gni
This commit is contained in:
parent
8a57c84e25
commit
de4e546283
1 changed files with 7 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue