Use DWARF4 for mac and ios simulator builds, use DWARF3 for ios device builds.

Removes some special-case code and potentially makes debug info a bit smaller.

Also stop passing -g2 to (non-pnacl) nacl compiles on mac, like already the case
on linux -- this helps with build determinism.

Bug: 942155,899438,906741,429358
Change-Id: Ic4c7138d232813e12426de2c161c78121bd3fc80
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1525041
Commit-Queue: Nico Weber <thakis@chromium.org>
Reviewed-by: Mark Mentovai <mark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#640963}
1 file changed