commit | 01bb69ee356f4e2a1ae5f4497b4b5baed2ed0d1d | [log] [tgz] |
---|---|---|
author | S. Ganesh <ganesh@chromium.org> | Wed Oct 26 21:16:44 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Oct 26 21:16:44 2022 |
tree | a1e36b3da0e8770b8668c9f379efdc44f33aae4d | |
parent | ef9952abdec78e75fd232caf08d3af0e372e4f4e [diff] |
`IsArchitectureSupported` method to check if a given `arch` is supported This CL adds an `IsArchitectureSupported` method to determine whether a given `arch` is supported. `IsArchitectureSupported` returns `true` if: * `arch` is empty, or * `arch` matches the current architecture, or * `arch` is supported on the machine, as determined by `::IsWow64GuestMachineSupported()`. * If `::IsWow64GuestMachineSupported()` is not available, returns `true` if `arch` is x86. Bug: 1375366 Change-Id: I5947db08351246c75e1fc7ef270a187f35cd3366 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3984248 Commit-Queue: S Ganesh <ganesh@chromium.org> Auto-Submit: S Ganesh <ganesh@chromium.org> Reviewed-by: Xiaoling Bao <xiaolingbao@chromium.org> Cr-Commit-Position: refs/heads/main@{#1063995}
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.