• Vlad Tsyrklevich's avatar
    GWP-ASan: Add android support to crash_handler unittests · 37ad5b38
    Vlad Tsyrklevich authored
    On Android crashpad launches differently than on desktop platforms. This
    requires refactoring the crash_handler unittests to support launching
    via a specially built executable that we package with the unit tests
    just for the Android build. This approach only works if the
    enable_gwp_asan buildflag is set to true because otherwise
    libchrome_crashpad_handler.so wont compile in the GWP-ASan crash handler
    hook.
    
    Bug: 973167
    Change-Id: I40888e0d7a81961e22f808ab15d8b0c2a83b4494
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1730031
    Commit-Queue: Vitaly Buka <vitalybuka@chromium.org>
    Auto-Submit: Vlad Tsyrklevich <vtsyrklevich@chromium.org>
    Reviewed-by: default avatarVitaly Buka <vitalybuka@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#683010}
    37ad5b38
BUILD.gn 1.91 KB