Rename BuildIdReader to ElfReader.

The next commit adds debug info detection to the class, so the name is
no longer accurate. The rename's in a separate commit to make it easier
to review.

I've also made the build_id argument of FakeElfReader optional to reduce
clutter in test cases where the build ID doesn't matter.

Bug: https://github.com/android/ndk/issues/2078
Test: pytest doesn't get worse
Change-Id: Ia88e8068903a2e49726223ca6981152d0f3e6dc0
2 files changed
tree: 449096c37a85c3aacd2f249a9c591ad34bd05685
  1. .github/
  2. build/
  3. docs/
  4. infra/
  5. meta/
  6. ndk/
  7. samples/
  8. scripts/
  9. sources/
  10. tests/
  11. wrap.sh/
  12. .clang-format
  13. .gitignore
  14. Android.mk
  15. checkbuild.py
  16. CleanSpec.mk
  17. CONTRIBUTING.md
  18. MANIFEST.in
  19. navbar.md
  20. ndk-gdb
  21. ndk-gdb.cmd
  22. ndk-stack
  23. ndk-stack.cmd
  24. ndk-which
  25. ndkgdb.py
  26. ndkstack.py
  27. NOTICE
  28. OWNERS
  29. parse_elfnote.py
  30. poetry.lock
  31. pyproject.toml
  32. qa_config.json
  33. README.md
  34. run_tests.py
  35. setup.py
  36. unittest.cfg
  37. UserReadme.md
README.md

Android Native Development Kit (NDK)

The latest version of this document is available at https://android.googlesource.com/platform/ndk/+/main/README.md.

Note: This document is for developers of the NDK, not developers that use the NDK.

The NDK allows Android application developers to include native code in their Android application packages, compiled as JNI shared libraries.

To navigate this site, use the navigation bar at the top of the page. For additional documentation, see the listing for the docs directory. If you're not sure where to start, the Onboarding page will guide you.

Other Resources