Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Unified Diff: build/config/arm.gni

Issue 549453004: GN: Fix compile errors with os==chromeos mojo/public build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@signed
Patch Set: Update description Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/config/BUILDCONFIG.gn ('k') | build/config/linux/pkg-config.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/arm.gni
diff --git a/build/config/arm.gni b/build/config/arm.gni
index 65cb160a535ab85146eb02a3838badc1f8465e82..59de6687e7f8f437bb5274bbe557150431f32cc4 100644
--- a/build/config/arm.gni
+++ b/build/config/arm.gni
@@ -12,6 +12,14 @@ if (cpu_arch == "arm") {
# "softfp". An empty string means to use the default one for the
# arm_version.
arm_float_abi = ""
+
+ # The ARM variant-specific tuning mode. This will be a string like "armv6"
+ # or "cortex-a15". An empty string means to use the default for the
+ # arm_version.
+ arm_tune = ""
+
+ # Whether to use the neon FPU instruction set or not.
+ arm_use_neon = true
}
assert(arm_float_abi == "" ||
@@ -21,15 +29,14 @@ if (cpu_arch == "arm") {
if (is_android) {
arm_use_neon = false
- arm_optionally_use_neon = true
- } else {
- arm_use_neon = true
- arm_optionally_use_neon = true
}
+ arm_optionally_use_neon = true
if (arm_version == 6) {
arm_arch = "armv6"
- arm_tune = ""
+ if (arm_tune != "") {
+ arm_tune = ""
+ }
if (arm_float_abi == "") {
arm_float_abi = "softfp"
}
@@ -40,10 +47,14 @@ if (cpu_arch == "arm") {
} else if (arm_version == 7) {
arm_arch = "armv7-a"
- arm_tune = "generic-armv7-a"
+ if (arm_tune == "") {
+ arm_tune = "generic-armv7-a"
+ }
+
if (arm_float_abi == "") {
arm_float_abi = "softfp"
}
+
arm_use_thumb = true
if (arm_use_neon) {
« no previous file with comments | « build/config/BUILDCONFIG.gn ('k') | build/config/linux/pkg-config.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698