Reland "android: Make arm64 builds HighEnd by default"

This reverts commit af43747f42b8e4cd92542c69abb06d66eecc03df.

Reason for reland: Bot's updated with checkout_pgo_profiles=True

Original change's description:
> Revert "android: Make arm64 builds HighEnd by default"
>
> This reverts commit 0f58e5ed22c50498c4122491520b0720b38c0150.
>
> Reason for revert: Breaking internal CQ. E.g.:
> https://ci.chromium.org/ui/p/chrome/builders/try/android-internal-binary-size/26090/overview
>
> Original change's description:
> > android: Make arm64 builds HighEnd by default
> >
> > The most popular arm64 builds (Trichrome) are shipping with
> > is_high_end_android. The Monochrome arm64 builds are shipped for old
> > devices, and we expect these to gradually become less popular.
> >
> > This change sets is_high_end_android to true for arm64 builds by
> > default.
> >
> > This would make local benchmarking slightly less error prone because
> > there would be a little less to remember to set in GN args when making a
> > build for the most popular official configuration.
> >
> > Known effects:
> >
> > 1. Seemingly all official arm64 builders now explicitly set
> >    is_high_end_android. Hence no effect for them.
> >
> > 2. Non-official arm64 builders will change to become high-end, even the
> >    ones that end up running on old devices (example: android-arm64-rel).
> >    In this patch we make sure that is_high_end_android is ignored for
> >    non-official builds (disabled RELR relocations for non-official).
> >    Hence, no effect here as well.
> >
> > 3. Official builds of Monochrome made by devs would fail to run on
> >    Android pre-P (because RELR support is lacking). This leads to
> >    mysterious crashes during something-dlopen in the Android dynamic
> >    linker. Hopefully nobody does this before we remove support for
> >    Android O.
> >
> > Bug: 1515925
> > Change-Id: I695c98852bb410894144452211aa06cc32ffb141
> > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5169071
> > Reviewed-by: Andrew Grieve <agrieve@chromium.org>
> > Commit-Queue: Egor Pasko <pasko@chromium.org>
> > Cr-Commit-Position: refs/heads/main@{#1247286}
>
> Bug: 1515925
> Change-Id: I7bbf0f2434c41140b8367eb621f3f15c98c01215
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5197794
> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
> Auto-Submit: Andrew Grieve <agrieve@chromium.org>
> Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
> Cr-Commit-Position: refs/heads/main@{#1247301}

Bug: 1515925
Change-Id: I2cd85cad17484e78610d0f743a6d56221a7d85e1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5200944
Reviewed-by: Egor Pasko <pasko@chromium.org>
Commit-Queue: Andrew Grieve <agrieve@chromium.org>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1248754}
3 files changed
tree: a8810dad476245e9d85e2144d8405463d37e6b3e
  1. android_webview/
  2. apps/
  3. ash/
  4. base/
  5. build/
  6. build_overrides/
  7. buildtools/
  8. cc/
  9. chrome/
  10. chromecast/
  11. chromeos/
  12. codelabs/
  13. components/
  14. content/
  15. courgette/
  16. crypto/
  17. dbus/
  18. device/
  19. docs/
  20. extensions/
  21. fuchsia_web/
  22. gin/
  23. google_apis/
  24. google_update/
  25. gpu/
  26. headless/
  27. infra/
  28. ios/
  29. ipc/
  30. media/
  31. mojo/
  32. native_client_sdk/
  33. net/
  34. pdf/
  35. ppapi/
  36. printing/
  37. remoting/
  38. rlz/
  39. sandbox/
  40. services/
  41. skia/
  42. sql/
  43. storage/
  44. styleguide/
  45. testing/
  46. third_party/
  47. tools/
  48. ui/
  49. url/
  50. webkit/
  51. .clang-format
  52. .clang-tidy
  53. .clangd
  54. .eslintrc.js
  55. .git-blame-ignore-revs
  56. .gitallowed
  57. .gitattributes
  58. .gitignore
  59. .gitmodules
  60. .gn
  61. .mailmap
  62. .rustfmt.toml
  63. .vpython3
  64. .yapfignore
  65. ATL_OWNERS
  66. AUTHORS
  67. BUILD.gn
  68. CODE_OF_CONDUCT.md
  69. codereview.settings
  70. DEPS
  71. DIR_METADATA
  72. LICENSE
  73. LICENSE.chromium_os
  74. OWNERS
  75. PRESUBMIT.py
  76. PRESUBMIT_test.py
  77. PRESUBMIT_test_mocks.py
  78. README.md
  79. WATCHLISTS
README.md

Logo Chromium

Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.

The project's web site is https://www.chromium.org.

To check out the source code locally, don't use git clone! Instead, follow the instructions on how to get the code.

Documentation in the source is rooted in docs/README.md.

Learn how to Get Around the Chromium Source Code Directory Structure.

For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.

If you found a bug, please file it at https://crbug.com/new.