• Torne (Richard Coles)'s avatar
    Fix compiler flags incorrectly checking target_cpu. · 92013e54
    Torne (Richard Coles) authored
    Various GN conditions check target_cpu when deciding which compiler
    flags to apply; they should be checking current_cpu instead so that
    builds with more than one toolchain use the correct flags for each
    toolchain. This was causing the DWARF version workaround for
    crbug.com/744956 to not be applied on the 64-bit build when using the
    32-bit toolchain.
    
    Bug: 744956, 889937
    Change-Id: Id2f4ecafd762e36ed3593fb45f6a6062bf8f6326
    Reviewed-on: https://chromium-review.googlesource.com/1249393Reviewed-by: default avatarNico Weber <thakis@chromium.org>
    Commit-Queue: Richard Coles <torne@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#594791}
    92013e54
BUILD.gn 80.6 KB