libchrome: fallback to slow base::CopyFileContents if fstat fails

crash tests are failing on vm because fstat fails.

BUG=b:217607820
TEST=tast run <hatch dut> arc.CxxCrash.*_vm

Change-Id: Ia153c8cd9dbd35633cc89bf3d901313d9bd97050
Reviewed-on: https://chromium-review.googlesource.com/c/aosp/platform/external/libchrome/+/3438905
Tested-by: Grace Cham <[email protected]>
Reviewed-by: Youkichi Hosoi <[email protected]>
Reviewed-by: Qijiang YĆ«ki Ishii <[email protected]>
Commit-Queue: Grace Cham <[email protected]>
1 file changed
tree: 340db234e3f4e7f26596c8e3d2587a95cd7a17d6
  1. base/
  2. build/
  3. components/
  4. crypto/
  5. dbus/
  6. device/
  7. ipc/
  8. libchrome_tools/
  9. mojo/
  10. soong/
  11. testing/
  12. third_party/
  13. ui/
  14. .gitignore
  15. Android.bp
  16. BASE_VER
  17. BUILD.gn
  18. BUILD.IGNORE
  19. MODULE_LICENSE_BSD
  20. NOTICE
  21. OWNERS
  22. PRESUBMIT.cfg
  23. README.md
  24. testrunner.cc
  25. unblocked_terms.txt
README.md

libchrome

Overview

This directory includes the source from Chrome's libbase for use in Chrome OS.

See libchrome.md for more info.