[Desktop] Use DeviceInfo.isDesktop() instead of BuildConfig.IS_DESKTOP_ANDROID for runtime checks in Java. Note: * Further changes needed to use DeviceInfo check in runtime checks in c++ code. * BuildFlag IS_DESKTOP_ANDROID will still be used to isolate components during compile time. Make AutomotiveContextWrapperTestRule more generic and rename it to OverrideContextWrapperTestRule. Also includes a function to set the Desktop system feature. Change-Id: I9cceaa4f04976b811cd80f6e20bc359f5071f4fc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6685287 Auto-Submit: Sirisha Kavuluru <skavuluru@google.com> Reviewed-by: Andrew Grieve <agrieve@chromium.org> Commit-Queue: Sirisha Kavuluru <skavuluru@google.com> Cr-Commit-Position: refs/heads/main@{#1481837}
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.