Make //components/crash/core/common:crash_key a component when using Breakpad.
With Breakpad, the crash key storage is stored in a static global, and having the target be a static_library resulted in having multiple copies existing in the component build. This also changes the Breakpad crash key storage to be lazily initialized, which matches what Crashpad does after https://chromium-review.googlesource.com/c/crashpad/crashpad/+/793981. The storage is still initialized deterministically in the static release build, but is done to support unit tests. Bug: 598854 Change-Id: Ic6f100fd0310545fe2697152bd076846153f16d2 Reviewed-on: https://chromium-review.googlesource.com/802274Reviewed-by:Mark Mentovai <mark@chromium.org> Commit-Queue: Robert Sesek <rsesek@chromium.org> Cr-Commit-Position: refs/heads/master@{#521382}
Showing
Please register or sign in to comment