mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-27 15:32:10 +08:00
bce9a58c66
Copy of crrev.com/c/3952963. Fixes locking not working on some Android filesystems due to flock not being available. Instead, we now use the same approach as Fuchsia with a dedicated lock file. This is an issue when running tests on non-rooted Android devices, as we need files to be written to a location accessible without root, but the chosen location might not have flock support. Bug: chromium:1358240 Change-Id: Ie910481be472403a8b0e9e36100594b0618f85e6 Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/3999273 Commit-Queue: Brian Sheedy <bsheedy@chromium.org> Reviewed-by: Joshua Peraza <jperaza@chromium.org>