mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-10 03:47:44 -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
|
# Use of this source code is governed by a BSD-style license that can be
|
||||||
# found in the LICENSE file.
|
# found in the LICENSE file.
|
||||||
|
|
||||||
|
import("//build/config/chromeos/ui_mode.gni")
|
||||||
import("//build/config/v8_target_cpu.gni")
|
import("//build/config/v8_target_cpu.gni")
|
||||||
|
|
||||||
# These are primarily relevant in current_cpu == "arm" contexts, where
|
# These are primarily relevant in current_cpu == "arm" contexts, where
|
||||||
|
@ -38,6 +39,12 @@ if (current_cpu == "arm" || v8_current_cpu == "arm") {
|
||||||
arm_use_thumb = true
|
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") {
|
if (current_os == "android" || target_os == "android") {
|
||||||
arm_float_abi = "softfp"
|
arm_float_abi = "softfp"
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue