| commit | d26013b486ced626178bb5655a8bc695b2bff3cb | [log] [tgz] |
|---|---|---|
| author | Robbie McElrath <rmcelrath@chromium.org> | Fri Jul 18 22:34:36 2025 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jul 18 22:34:36 2025 |
| tree | afed4fd9e371e46ab5dcfe45d35875f0c3a98a3c | |
| parent | efe70528ee91f53991e593b70f78ec294ffc0cd0 [diff] |
ondevice: Allow files needed by xnnpack in ODML sandbox config This moves all ODML sandbox initialization code into a new //content/utility/on_device_model folder and defines an ODML-specific PreSandboxHook function that reuses pieces of the GPU's PreSandboxHook. This allows us to add an additional ODML-only file read rule for /sys/devices/system/cpu/online, which is needed in multiple places while using xnnpack. Bug: 422262302 Change-Id: Id3b9a3d5c877be1c9334d285c9f1e5d660e2da7d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6757664 Commit-Queue: Robbie McElrath <rmcelrath@chromium.org> Reviewed-by: Jorge Lucangeli Obes <jorgelo@chromium.org> Reviewed-by: Clark DuVall <cduvall@chromium.org> Reviewed-by: Matthew Denton <mpdenton@chromium.org> Reviewed-by: Dave Tapuska <dtapuska@chromium.org> Cr-Commit-Position: refs/heads/main@{#1489073}
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.