Removes all instances of PLOG() from android-base/file.cpp

This allows us to remove the dependency on android-base/logging.cpp.
logging.cpp is problematic because it attempts to use BSD's
getprogname(), which wasn't introduced to Android until NDK version 21
(http://bit.ly/2nX0nBs).

Note that our .patch file doesn't have to include the removal of
logging.cpp and logging.h. The .patch files are required only to perform
the necessary modifications on the final set of files required for a
working libunwindstack, assuming all other files have already been
trimmed out by the to-be-written script that uses ninja -d
keepdepfiles. logging.{h,cpp} will therefore be pruned out using this
script in the future.

Bug: 991960
Change-Id: I98bac0399fa6e9e1d546e9f42ca43b9dbe32af70
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/third_party/libunwindstack/+/1869253
Reviewed-by: Mike Wittman <wittman@chromium.org>
Reviewed-by: Egor Pasko <pasko@chromium.org>
6 files changed
tree: c34ae34acaba74d7168d8656823c0532ffd82f5f
  1. .clang-format
  2. BUILD.gn
  3. LICENSE
  4. OWNERS
  5. README.chromium
  6. patches/
  7. src/
  8. tools/