run_tests.py: Add support for tvOS

We need to differentiate between iOS and tvOS builds in order to pass
the right environment variables to xcodebuild.

We do this by generalizing _BinaryDirTargetOS() for any variable in
args.gn and reading `target_platform`'s value to determine the kind of
build we have.

While here, remove the linux-android-specific target_os detection
workaround, which has not been necessary since
https://chromium-review.googlesource.com/c/crashpad/crashpad/+/3034984

Bug: 405140658
Change-Id: I7cc5ad2a60ce077d38a0f4d60c68b45e21f47e0c
Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/6421724
Reviewed-by: Justin Cohen <justincohen@chromium.org>
Commit-Queue: Raphael Kubo da Costa <kubo@igalia.com>
1 file changed
tree: 70f96f5cebe61e94db05ebeb555df53300b6d437
  1. build/
  2. client/
  3. compat/
  4. doc/
  5. handler/
  6. infra/
  7. minidump/
  8. snapshot/
  9. test/
  10. third_party/
  11. tools/
  12. util/
  13. .clang-format
  14. .gitattributes
  15. .gitignore
  16. .gn
  17. .style.yapf
  18. .vpython3
  19. AUTHORS
  20. BUILD.gn
  21. codereview.settings
  22. CONTRIBUTORS
  23. DEPS
  24. LICENSE
  25. navbar.md
  26. OWNERS
  27. package.h
  28. README.md
README.md

Crashpad

Crashpad is a crash-reporting system.

Documentation

Source Code

Crashpad’s source code is hosted in a Git repository at https://chromium.googlesource.com/crashpad/crashpad.

Other Links