android: Reorganize how arm_float_abi is set.
https://chromium-review.googlesource.com/c/chromium/src/+/2510772 tried to force the arm_float_abi gn arg to softfp on Android. But since arm_float_abi was declared only in arm toolchains, it broke builds that declared the android_clang_arm toolchain but didn't actually instantiate it. To work around this, https://chromium-review.googlesource.com/c/chromium/src/+/2512899 made arm_float_abi available unconditionally, even in non-arm builds. Instead, make arm_float_abi a declare_arg only on non-android arm, and set it to a fixed value in arm.gni for android builds. I tested this in chromium and webrtc builds. No real behavior change, except that arm_float_abi is exposed as gn arg in fewer cases (which seems like a good thing). Bug: 1144188 Change-Id: I2260f2abb9bbb91ab8b87760014cf1a553264dad Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2517423 Auto-Submit: Nico Weber <thakis@chromium.org> Reviewed-by:Mirko Bonadei <mbonadei@chromium.org> Commit-Queue: Mirko Bonadei <mbonadei@chromium.org> Commit-Queue: Nico Weber <thakis@chromium.org> Cr-Commit-Position: refs/heads/master@{#823704}
Showing
Please register or sign in to comment