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

Unified Diff: webrtc/build/webrtc.gni

Issue 1231663002: Make .gni less sensitive to type of arm_use_neon flags (Closed) Base URL: https://chromium.googlesource.com/external/webrtc/trunk/webrtc.git@master
Patch Set: Ran gn format as presubmit requested Created 5 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/build/webrtc.gni
diff --git a/webrtc/build/webrtc.gni b/webrtc/build/webrtc.gni
index 20fadab270bb1bdf4a496b47532376615ed4a9a5..b93bc5e82f261d94d14c54668b09694a3658dfc7 100644
--- a/webrtc/build/webrtc.gni
+++ b/webrtc/build/webrtc.gni
@@ -106,9 +106,9 @@ declare_args() {
}
# Determines whether NEON code will be built.
- rtc_build_with_neon = (current_cpu == "arm" &&
- (arm_use_neon == 1 || arm_optionally_use_neon == 1)) ||
- current_cpu == "arm64"
+ rtc_build_with_neon =
+ (current_cpu == "arm" && (arm_use_neon || arm_optionally_use_neon)) ||
+ current_cpu == "arm64"
# Enable this to use HW H.264 encoder/decoder on iOS PeerConnections.
# Enabling this may break interop with Android clients that support H264.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698