ash::switches::kForceSystemCompositorMode is used to enable system
compositor for mostly testing on ozone platform without a real device.
So, this CL moves it to ui/ozone/public/ozone_switches.h and renames
to ::switches::kEnableRunningAsSystemCompositor for consistency in
naming with ::switches::kDisableRunningAsSystemCompositor.
This CL is part of the Chrome OS source code directory migration:
https://docs.google.com/document/d/1g-98HpzA8XcoGBWUv1gQNr4rbnD5yfvbtYZyPDDbkaE.
Change-Id: I273ac3e8ba63a32ed9e306e975c5c673a4ae79b7
Bug: 1164001
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4108574
Reviewed-by: Robert Kroeger <rjkroege@chromium.org>
Reviewed-by: Mitsuru Oshima <oshima@chromium.org>
Commit-Queue: Yeunjoo Choi <ychoi@igalia.com>
Cr-Commit-Position: refs/heads/main@{#1087072}
This adds the --wait-for-debugger-on-navigation flag which pauses
renderers when the target URL is known displaying a message for
each. The debug_renderer script is also updated to automatically
debug the site passed and unblock all other renderer processes.
Documentation in linux/debugging.md is updated to explain how
to use the updated script and flag.
Bug: 730065
Change-Id: I758bf6d10ba9b6a846d216987c20053d4c5ac240
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4028699
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: John Abd-El-Malek <jam@chromium.org>
Commit-Queue: Robert Flack <flackr@chromium.org>
Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1073426}
Adds a short section to the Linux build instructions on getting Chromium
compilation to work in a Docker container. This is not a common setup,
but this should give anyone that does need to use it a good starting
place.
Bug: 1377520
Change-Id: I64b78d2578012faab5070582a28d0dc9c6f41c44
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4018936
Auto-Submit: Brian Sheedy <bsheedy@chromium.org>
Commit-Queue: Piotr Bialecki <bialpio@chromium.org>
Reviewed-by: Piotr Bialecki <bialpio@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1069443}
Compiling chromium has higher requirements for device resources than in the past.
Since version 106, some combinations of gn params will trigger
OOM(out of memory) errors under the default settings of the
compiled device.
This error can be solved by adjusting the vm.max_map_count param
of system.
Bug: 1380991
Change-Id: I649e9fbcfccf0576f6d4ff6a8fa4fe8b61549e3d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4005227
Commit-Queue: Hans Wennborg <hans@chromium.org>
Reviewed-by: Hans Wennborg <hans@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1068964}
- Use modern package manager invocations for Debian and Fedora.
- Remove section about Ubuntu Jaunty, released back in 2009.
- Update URLs that talk about certutil. The Oracle blog post is gone, so
link to the archived version instead.
- Stop talking about an NSS bug fixed 11 years ago.
Change-Id: I965bb91214faed7506d2207421cd2ed165dc505e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3891024
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Auto-Submit: Raphael Kubo Da Costa <raphael.kubo.da.costa@intel.com>
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1046403}
Clarify that the test target must be built before attempting to run the
unit tests themsleves. The previous instruction only followed the chrome
build instructions. It was not immediately obvious that build chrome
would not also generate the unit_tests binary.
Change-Id: I2894d40926d6546a929ccfcdff4b08bc8f87f9f4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3428904
Reviewed-by: Roman Arora <romanarora@google.com>
Commit-Queue: Fred Shih <ffred@google.com>
Cr-Commit-Position: refs/heads/main@{#966576}
This is in preparation for adding a separate directory for focal.
In addition, the name of the prebuilt binaries changes from
msan-no-origins-xenial.tgz to msan-no-origins.tgz. This is so that
projects like V8 do not have to manually update their DEPS entries
when auto-rolling //third_party/instrumented_libraries.
BUG=1260217
R=thestig
CQ_INCLUDE_TRYBOTS=luci.chromium.try:linux_chromium_msan_rel_ng
Change-Id: Id2eb94405f76e590cbc25b425c80eb08353d871f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3224627
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Auto-Submit: Thomas Anderson <thomasanderson@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/main@{#932225}
This CL enhances the --utility-startup-dialog switch to now take an
optional service sub type, and displays the subtype when waiting
for the debugger, or showing the dialog.
`chrome --utility-startup-dialog` works as before, prompting/pausing
for every utility process.
`chrome --utility-startup-dialog=data_decoder.mojom.DataDecoderService`
only prompts for the data decoder service.
We check for the switch first then interrogate its value to limit
any impact on normal startup time.
This should make it easier to debug specific utility processes.
Tests: manual tested on Windows & Linux
Change-Id: I0195432a9f826697a87c687406a30dbdf1bfa378
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2892176
Reviewed-by: Alex Moshchuk <alexmos@chromium.org>
Commit-Queue: Alex Gough <ajgo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#882668}
This updates //build/install-build-deps.sh to use `python3` instead
of `python`, and updates //docs/linux/build_instructions.md to
mention that you need python3 installed ahead of time rather than
Python 2 (since we'll install Python 2 via install-build-deps).
Bug: 112471
Change-Id: I8ba08d65d26ac52a05bce248c319861b0a3156f3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2845609
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Commit-Queue: Dirk Pranke <dpranke@google.com>
Cr-Commit-Position: refs/heads/master@{#875304}
This makes a few updates to the documentation on using the rr debugger:
* clarify recommendation to build from source into one about using a
recent version (which might mean building from source), and explain
why
* mention both rr replay -p and -f, and explain the difference
* remove reference to a year-old bug that's now subsumed by the advice
on using a recent version
* add advice on workarounds for calling functions that use LOG() from
gdb
* link to relevant Chromium Chronicle episode
Change-Id: I13206a009103ae12f83a3890101a91e02fd78a0a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2794877
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Commit-Queue: David Baron <dbaron@chromium.org>
Cr-Commit-Position: refs/heads/master@{#867753}
Without quotes gn args fails with:
ERROR at build arg file (use "gn args <out_dir>" to edit):5:12: Invalid token.
goma_dir = /path/to/goma-client
^
I have no idea what this is.
Change-Id: I1cfe58a07fe8c4272aca89e1dee10584c7645635
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2101394
Auto-Submit: Johann Koenig <johannkoenig@google.com>
Reviewed-by: Fumitoshi Ukai <ukai@chromium.org>
Commit-Queue: Fumitoshi Ukai <ukai@chromium.org>
Cr-Commit-Position: refs/heads/master@{#750006}
The name "libgtkui" is misleading: we don't actually ship a
libgtkui.so, although this was planned at some point. Even if we did,
it probably still wouldn't make sense to have "lib" in the directory
name. This change renames the directory to simply gtk.
BUG=None
R=sky
Change-Id: Ib2380520c8605b4d4e0fd2d6ff9207caa50a406e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2011683
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Auto-Submit: Thomas Anderson <thomasanderson@chromium.org>
Reviewed-by: Scott Violet <sky@chromium.org>
Cr-Commit-Position: refs/heads/master@{#734325}