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

Unified Diff: build/config/arm.gni

Issue 871433002: Roll openmax_dl to the latest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 | « DEPS ('k') | build/secondary/third_party/openmax_dl/dl/BUILD.gn » ('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 d942c3b1a73cb0b1b8d90031dfba1ef722ea1d6f..d39c6e906ecd40b4c2ce30dfaf3708ac29d0e76a 100644
--- a/build/config/arm.gni
+++ b/build/config/arm.gni
@@ -20,16 +20,19 @@ if (cpu_arch == "arm") {
# Whether to use the neon FPU instruction set or not.
arm_use_neon = true
+
+ # Whether to enable optional NEON code paths.
+ arm_optionally_use_neon = false
+
+ if (is_android) {
+ arm_use_neon = false
+ arm_optionally_use_neon = true
+ }
}
assert(arm_float_abi == "" || arm_float_abi == "hard" ||
arm_float_abi == "soft" || arm_float_abi == "softfp")
- if (is_android) {
- arm_use_neon = false
- }
- arm_optionally_use_neon = true
-
if (arm_version == 6) {
arm_arch = "armv6"
if (arm_tune != "") {
« no previous file with comments | « DEPS ('k') | build/secondary/third_party/openmax_dl/dl/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698