aboutsummaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn4
1 files changed, 4 insertions, 0 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 2c9c3e6e..a72ff065 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -27,6 +27,10 @@ config("libyuv_config") {
if (is_android && current_cpu != "arm64") {
ldflags = [ "-Wl,--dynamic-linker,/system/bin/linker" ]
}
+
+ if (!libyuv_use_neon) {
+ defines = [ "LIBYUV_DISABLE_NEON" ]
+ }
}
# This target is built when no specific target is specified on the command line.