Make .gni less sensitive to type of arm_use_neon flags
Comparing with 1 is less clear than using the input flags as booleans. BUG=5008276 Review URL: https://codereview.webrtc.org/1231663002 Cr-Commit-Position: refs/heads/master@{#9561}
This commit is contained in:
parent
11324b9561
commit
50cf10d82a
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user