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

Unified Diff: webrtc/build/common.gypi

Issue 1181373004: Add a [rtc_]build_with_neon variable to unify conditions. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rewording. Created 5 years, 6 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
Index: webrtc/build/common.gypi
diff --git a/webrtc/build/common.gypi b/webrtc/build/common.gypi
index 26b0de367a806f56f050ad386a50711e77c51b20..3e67106a9ae08e47f40d58f8a8dc3454dd88acb5 100644
--- a/webrtc/build/common.gypi
+++ b/webrtc/build/common.gypi
@@ -121,6 +121,10 @@
# enable schannel on windows.
'use_legacy_ssl_defaults%': 0,
+ # Determines whether NEON code will be built. It might not be selected at
+ # run-time.
+ 'build_with_neon%': 0,
+
'conditions': [
['build_with_chromium==1', {
# Exclude pulse audio on Chromium since its prerequisites don't require
@@ -262,6 +266,7 @@
'WEBRTC_ARCH_ARM64',
'WEBRTC_HAS_NEON',
],
+ 'variables': {'build_with_neon%': 1,},
}],
['target_arch=="arm"', {
'defines': [
@@ -273,9 +278,11 @@
'conditions': [
['arm_neon==1', {
'defines': ['WEBRTC_HAS_NEON',],
+ 'variables': {'build_with_neon%': 1,},
}],
['arm_neon==0 and arm_neon_optional==1', {
'defines': ['WEBRTC_DETECT_NEON',],
+ 'variables': {'build_with_neon%': 1,},
}],
],
}],
« webrtc/BUILD.gn ('K') | « webrtc/build/arm_neon.gypi ('k') | webrtc/build/webrtc.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698