Port the code from build/toolchain/mac/BUILD.gn to use the hermetic
version of dsymutil to build/config/ios/rules.gni and enabled this
only when using hermetic clang.
Ensure that dsymutil is downloaded when targeting iOS, even if
target_os_only is set to True in .gclient.
Disable generation of .dSYM for the host binaries when building for
iOS as they are not interesting and slowing the compilation.
Bug: 1027468
Change-Id: Iafa1718a22951e9f7eb9a8bd4701a24e4219791b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1930902
Auto-Submit: Sylvain Defresne <sdefresne@chromium.org>
Reviewed-by: Robert Sesek <rsesek@chromium.org>
Commit-Queue: Robert Sesek <rsesek@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#718177}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 03f0d10816dc49354e30857f2a5f3a18b1326ff5