0
Commit Graph

69 Commits

Author SHA1 Message Date
8766b622c7 Update docs to require Python 3.8.
We had not updated the docs in a while so there were references
to the Python3 migration and Python3.6 still present in some
places.

This CL updates the docs to refer to the current Python version
(3.8) and removes documentation for the Python3 migration, which
is no longer necessary.

Change-Id: Id59d10d90dbd8ceff0ec8203be5e4dfbdc58c4b3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4824013
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Reviewed-by: Takuto Ikuta <tikuta@chromium.org>
Commit-Queue: Dirk Pranke <dpranke@google.com>
Reviewed-by: Peter Wen <wnwen@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1190394}
2023-08-30 23:19:36 +00:00
89670afb55 [LED] Add note about $PATH for Googlers.
If the user's $PATH is not set correctly, they will end up running the
wrong LED.

Bug: 1471726
Change-Id: I10d83c35417a55d9740b595365b711d7d1101056
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4794976
Reviewed-by: Alexander Cooper <alcooper@chromium.org>
Commit-Queue: Mark Foltz <mfoltz@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1185648}
2023-08-20 18:14:07 +00:00
1fbcd1d2fc Allow explicitly selecting kwallet6 as secret storage.
Previously, only kwallet4 and 5 could be selected explicitly, kwallet6 was only internally supported.

Change-Id: I5d48b056b344757bc04b7eb53149954daaf74815
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4671159
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Reviewed-by: Christos Froussios <cfroussios@chromium.org>
Commit-Queue: Christos Froussios <cfroussios@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1169066}
2023-07-12 01:04:23 +00:00
7bebb101da Collect minidump documentation into one place
Change-Id: I6ecc111cdf78b4f2ab385674dd3e036adcdd5df0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4566687
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Ben Wagner <bungeman@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1164352}
2023-06-29 21:26:03 +00:00
d89a45b9cd docs: Mention that most linux infra is on jammy now
Currently, the vast majority of chromium builds run on jammy. And
after https://crrev.com/c/4652993, any new builder will automatically
be running on jammy.

So jammy is now the official default for infra jobs. This updates
the docs to mention that, and clarifies them a little since the
statement about "most development" might apply to more than just CI
builds, and we can't be as confident about the OS breakdown outside
of our infra.

Bug: 1412588
Change-Id: I751abf251db9758c0b6c12733a2e06f7a5e3e5c4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4654783
Commit-Queue: Ben Pastene <bpastene@chromium.org>
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1163837}
2023-06-28 22:57:34 +00:00
85f9f1b5b5 Document how to use minidump_stackwalk instead of gdb
Change-Id: Ia41678c963aa537bcf50b5fd18b9da33d671bf82
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4636957
Reviewed-by: Mark Mentovai <mark@chromium.org>
Commit-Queue: Mark Mentovai <mark@chromium.org>
Auto-Submit: Christian Biesinger <cbiesinger@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1161415}
2023-06-22 20:21:02 +00:00
761687acc3 Remove references to Gnome Keyring in //docs
R=thestig

Change-Id: I4bda56ba4328a590e06e43fadbc3c461eec1407f
Bug: 355223
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4607551
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1157637}
2023-06-14 17:27:39 +00:00
d0f90c9d31 doc: Fix link to gdbinit.md & lldbinit.md on linux/debugging.md
- Fix the broken link to gdbinit.md & lldbinit.md on linux/debugging.md.
- Additionally, replace the absolute link to gdbinit.md with a relative
  link to maintain notation consistency with the other links in this
  doc.

Bug: n/a
Change-Id: Idc275f63de05264b66d0fbe022f26dc0e0b63599
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4573957
Auto-Submit: Taiyo Mizuhashi <taiyo@chromium.org>
Commit-Queue: Hiroki Nakagawa <nhiroki@chromium.org>
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1150998}
2023-05-31 00:55:23 +00:00
a77c6be635 Refactor sysroot-creator.sh
* Use consistent architecture naming
* Change usage to sysroot-creator.sh {build,upload} <arch>
* Merge sysroot-creator-bullseye.sh into sysroot-creator.sh
  since we've only had 1 sysroot for >5 years.
* Remove some unneeded commands like PrintDistro/PrintRelease
* Update references from docs and other scripts

Bug: None

Change-Id: I4809de50a03557df533d1f502f15e5acf793c6a1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4535715
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1145773}
2023-05-18 01:58:59 +00:00
38748969a4 Simplify the "smaller build" linux instructions
This removes a reference to `dcheck_always_on = false` which seems
prevalent through cargo culting. It also removes `is_debug = false`.
Both of these options are implied by `is_official_build` and the latter
is even enforced (`is_debug = true` won't compile with
`is_official_build = true`).

Bug: None
Change-Id: I8cd98694b30d73d7390a409a52aa08d0c1600e30
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4515157
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Commit-Queue: Peter Boström <pbos@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1141057}
2023-05-08 21:24:26 +00:00
41a7de0afb Clarify debugging docs.
Add a section at the top for build configuration. Move the gdbinit
instructions to the configuration section (it's required before
debugging) and remove the details about why this is required (it's
described on the dedicated page that's linked). Add a link to the
corresponding LLDB page.

Mention flag --gtest_break_on_failure for debugging tests.

Clarify LLDB install (the page used to imply that you had to run apt-get
to get the lldbinit file).

Change-Id: Ib292350ee521bf2bc3c4a836523fe070e4d7694e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4482817
Reviewed-by: Yuzhu Shen <yzshen@chromium.org>
Commit-Queue: Brett Wilson <brettw@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1136698}
2023-04-27 18:56:54 +00:00
0cab631e2c Use VMA and not file offset for .text with gdb
In objdump the 5th, 6th, and 7th fields are the VMA, LMA, and file
offset, respectively. These fields are the same for many binaries, but
for recent chrome binaries the VMA and LMA are the file offset + 0x1000.
From recent experience, it appears that gdb is making the calculation
for add-symbol-file based on the VMA, so update the documentation to use
field 5.

Change-Id: Ib49c18abce03a99ce49bc0b4241c3b64b229508a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4455180
Reviewed-by: Bruce Dawson <brucedawson@chromium.org>
Commit-Queue: Ben Wagner <bungeman@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1133426}
2023-04-20 22:35:31 +00:00
fa9b7d62bb Document how to find the target for a given test file
Also converts a few forward slashes to back slashes in the Windows doc

Bug: None
Change-Id: Id2d3f02b246589afa5a92c2f03501033bcdffec9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4354151
Reviewed-by: Ari Chivukula <arichiv@chromium.org>
Commit-Queue: Andrew Williams <awillia@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1119358}
2023-03-20 15:48:28 +00:00
eda6fcc4ff [docs] Show how to pipe linux UI from SSH to Chrome Remote Desktop
Change-Id: I27392a4f2aeed3e13e1a86db2d24fb0487021d9e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4320766
Auto-Submit: Victor Vianna <victorvianna@google.com>
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1117058}
2023-03-14 17:18:22 +00:00
6bbefe7e7e Add support for running web tests with debug_renderer
If debug_renderer detects that you're running web tests, modifies the
command line flags and adds appropriate run_web_tests flags for
debugging the renderer spawned for individual web tests.

Bug: None
Change-Id: I85980ff57c85738f8ad8d47e83ba9d61d5411e09
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4198115
Commit-Queue: Robert Flack <flackr@chromium.org>
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1109686}
2023-02-24 18:49:51 +00:00
fe9ef130c0 Remove Xenial instrumented libraries
They're no longer used in Chrome (though they may still be used
be other projects like V8 and WebRTC).

R=thestig

Bug: 1260217
Change-Id: I75267cf70843059260c8c04fd944c172747d3b27
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4210943
Auto-Submit: Thomas Anderson <thomasanderson@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1100163}
2023-02-01 23:42:40 +00:00
94e2d7fab5 [docs] Update chromium_packages.md
1. Make some dead links available again
2. Adjust the typesetting structure of the docs

Bug:1404726

Change-Id: Id4a7c481f224437ec1c6e56efd015d0e1d18f37b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4133792
Auto-Submit: Ho Cheung <uioptt24@gmail.com>
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1089027}
2023-01-04 23:55:30 +00:00
eff2c8f735 Move ash::switches::kForceSystemCompositorMode to ozone_switches.h
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}
2022-12-27 11:12:01 +00:00
cdbf8c4a02 Allow debugging the navigation of a renderer by URL
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}
2022-11-18 18:12:34 +00:00
cadbcd2632 Update Linux build instructions for Docker
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}
2022-11-09 23:50:15 +00:00
5ac3cf92bc [docs] Add a OOM troubleshooting for link crash
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}
2022-11-09 04:12:22 +00:00
d37ab56f67 Reland "[Cast Convergence] Remove is_chromecast."
This reverts commit 53acd00d6c.

Reason for revert: Usages of is_chromecast by internal builders have
been removed.

Original change's description:
> Revert "[Cast Convergence] Remove is_chromecast."
>
> This reverts commit e5db674bc3.
>
> Reason for revert: Failing on official builders https://ci.chromium.org/ui/p/chrome/builders/ci/linux64/88303/overview
>
> Original change's description:
> > [Cast Convergence] Remove is_chromecast.
> >
> > No usages remain outside of this file.
> >
> > Bug: 1219802
> > Change-Id: Ib3830d87c7bb494bdbdd0fc8cb80d05cad035a23
> > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3897149
> > Reviewed-by: Sean Topping <seantopping@chromium.org>
> > Reviewed-by: Takuto Ikuta <tikuta@chromium.org>
> > Commit-Queue: Mark Foltz <mfoltz@chromium.org>
> > Cr-Commit-Position: refs/heads/main@{#1048751}
>
> Bug: 1219802
> Change-Id: I02f56a50f2bb471df861ccde0422f0cd6a866c06
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3905305
> Commit-Queue: Dave Tapuska <dtapuska@chromium.org>
> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
> Reviewed-by: Sean Topping <seantopping@chromium.org>
> Owners-Override: Dave Tapuska <dtapuska@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1048771}

Bug: 1219802
Change-Id: Ie7b5f0ecc50f1bdeb9540a43a00edec8dba82e83
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3969701
Reviewed-by: Sean Topping <seantopping@chromium.org>
Commit-Queue: Mark Foltz <mfoltz@chromium.org>
Reviewed-by: Takuto Ikuta <tikuta@chromium.org>
Reviewed-by: David Dorwin <ddorwin@chromium.org>
Reviewed-by: Dave Tapuska <dtapuska@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1068738}
2022-11-08 20:06:40 +00:00
92e0de2655 linux: Refresh cert_management.md
- 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}
2022-09-13 16:12:51 +00:00
6a4130275f chromium_packages.md: update FreeBSD package information.
Change-Id: Iea4c77ffcfaa01272dbad91f46f456ab01ed30e6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3774773
Reviewed-by: Lei Zhang <thestig@chromium.org>
Auto-Submit: Xin Li <delphij@google.com>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1025980}
2022-07-19 22:54:23 +00:00
be82320374 Add instructions on creating smaller Linux builds
Updated Linux build instructions based on chromium-dev discussion.

Change-Id: I6cbddb5e1bccf6bf982a009f92849ceb4cefee4d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3514630
Reviewed-by: Henrique Ferreiro <hferreiro@igalia.com>
Commit-Queue: Bruce Dawson <brucedawson@chromium.org>
Cr-Commit-Position: refs/heads/main@{#980020}
2022-03-10 23:40:50 +00:00
c2464187d5 Linux: Document symbol file availability.
Change-Id: I3128a25648f97e7c9e53ebf1198d6b01416f82d3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3484956
Auto-Submit: Joshua Pawlicki <waffles@chromium.org>
Reviewed-by: Chris Hamilton <chrisha@chromium.org>
Commit-Queue: Chris Hamilton <chrisha@chromium.org>
Cr-Commit-Position: refs/heads/main@{#974159}
2022-02-23 14:27:51 +00:00
6d443618ce [tcmalloc] remove remaining references to tcmalloc.
This is a follow-up to
https://chromium-review.googlesource.com/c/chromium/src/+/3402604.

Bug: 1257213, 973552, 98589
Change-Id: Ibee15fcf8b444e4d0c5db65a49d5f34fd8b78e05
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3402350
Reviewed-by: Benoit Lize <lizeb@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Reviewed-by: Jamie Walch <jamiewalch@chromium.org>
Commit-Queue: Thiabaud Engelbrecht <thiabaud@google.com>
Cr-Commit-Position: refs/heads/main@{#969727}
2022-02-11 00:22:18 +00:00
865fb8ff0d Clarify running unit tests documentation
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}
2022-02-03 03:54:19 +00:00
8ce3e44def Light cleanup of rr docs in debugging.md.
Remove some flags like --no-sandbox that are no longer necessary, and
add links to recent demos.

Change-Id: I5c44047bb1b58ea65231628b14b171073a4b8ba2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3424982
Reviewed-by: David Baron <dbaron@chromium.org>
Commit-Queue: Steve Kobes <skobes@chromium.org>
Cr-Commit-Position: refs/heads/main@{#964814}
2022-01-28 22:36:59 +00:00
ddc9a7fe5f [docs] Update links to ccache website
Change-Id: Ia1fb7d02c789a131565879f6d5fea6e7d9261666
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3422765
Auto-Submit: David Sanders <dsanders11@ucsbalum.com>
Reviewed-by: Andrew Williams <awillia@google.com>
Commit-Queue: Andrew Williams <awillia@google.com>
Cr-Commit-Position: refs/heads/main@{#964414}
2022-01-28 03:19:19 +00:00
63e0be72bd Document v8_symbol_level
Most places that mention blink_symbol_level as a possible optimization
should also mention v8_symbol_level. This change does that.

Bug: 1273644
Change-Id: Icdd64e684f61d6deeb983ac88e1eee5b7d6a59dd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3307360
Commit-Queue: Bruce Dawson <brucedawson@chromium.org>
Reviewed-by: Jesse McKenna <jessemckenna@google.com>
Cr-Commit-Position: refs/heads/main@{#946115}
2021-11-29 20:34:41 +00:00
15d33ef398 docs: Update certificates setting URL.
Point directly to the certificates page in settings rather than using a
search URL.

This entire document is a bit outdated, but this already makes it a tiny
bit better.

Change-Id: I5a64b74d4237673317bbb5eafc62de7e0a1f0a04
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3290961
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Commit-Queue: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
Cr-Commit-Position: refs/heads/main@{#943160}
2021-11-18 18:26:02 +00:00
9f5ce757de [Instrumented libraries] Move build files to xenial subdirectory
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}
2021-10-15 21:55:43 +00:00
fe7d72e367 Update linux build instructions to require Python 3.6+.
Versions 3.5 and below can otherwise encounter issues (f-string support, TypeError with json.loads(), etc.).

Bug: 1225269
Change-Id: I1dabd07b3b824568ec58015b307a8b510c509d58
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3217550
Auto-Submit: Mike Taylor <miketaylr@chromium.org>
Commit-Queue: Ari Chivukula <arichiv@chromium.org>
Reviewed-by: Ari Chivukula <arichiv@chromium.org>
Cr-Commit-Position: refs/heads/main@{#930150}
2021-10-11 15:03:11 +00:00
991b14a543 Update dead link of plugin doc
The link to "Gecko Plugin API reference" page is no longer working. The latest one seems to be 
https://developer.mozilla.org/en-US/docs/Plugins/Guide

Update the documentation to use the new URL

Change-Id: Ic75f927e3c607696d752bb365f33dc9531897238
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3212946
Auto-Submit: Owen Min <zmin@chromium.org>
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Cr-Commit-Position: refs/heads/main@{#929310}
2021-10-07 18:32:15 +00:00
b71369520e [Doc] Update instrumented_libraries.md
* Trusty->Xenial
* Avoid building as root
* Remove some hardcoded "thomasanderson" in paths

R=thestig

Bug: None
Change-Id: Ia05b5e5f7f590b07dbcfb18c1f864c57069200b9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3209693
Auto-Submit: Thomas Anderson <thomasanderson@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/main@{#928973}
2021-10-07 00:48:19 +00:00
f270241c38 Fix 404 links
Change-Id: I0dc3fb0f1dc8ddbf27a0c3644fb5c26b822d3c87
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3066824
Reviewed-by: Takuto Ikuta <tikuta@chromium.org>
Reviewed-by: Kouhei Ueno <kouhei@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Commit-Queue: Shunya Shishido <sisidovski@google.com>
Cr-Commit-Position: refs/heads/master@{#908361}
2021-08-04 07:07:44 +00:00
bbc1a1ee3e Update URLs in docs; replace some uses of 'master'
Bug: 1231155
Change-Id: I0634229c0739c97ac0d7530dd58c33771958149a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3042058
Reviewed-by: Toby Huang <tobyhuang@chromium.org>
Commit-Queue: Andrew Williams <awillia@google.com>
Cr-Commit-Position: refs/heads/master@{#903745}
2021-07-21 01:51:22 +00:00
4b68a6e394 [docs] Change git-new-workdir to git-worktree
The git-new-workdir script has been superseded by the git-worktree
command added in Git 2.5[1].

This Change replaces git-new-workdir with git-worktree and makes it a
hyperlink.

[1]https://nuclearsquid.com/writings/git-new-workdir/

Change-Id: Ia496c9f9efe74fe119b3781e4f33018ce276df55
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3016219
Commit-Queue: Fangzhen Song <songfangzhen@bytedance.com>
Reviewed-by: Dirk Pranke <dpranke@google.com>
Reviewed-by: Takuto Ikuta <tikuta@chromium.org>
Cr-Commit-Position: refs/heads/master@{#901382}
2021-07-14 05:53:40 +00:00
112b198be5 [docs] update supported ubuntu to 18.04
16.04 went EOL on April 30th and the build bots use 18.04

Bug: 1225269, 1199405

Change-Id: Ic40f2382a89d9908278ffe7797aa923ae1ce7266
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2999144
Commit-Queue: Johann Koenig <johannkoenig@google.com>
Reviewed-by: Dirk Pranke <dpranke@google.com>
Reviewed-by: Takuto Ikuta <tikuta@chromium.org>
Cr-Commit-Position: refs/heads/master@{#897595}
2021-07-01 00:25:33 +00:00
efa9f2850a Code inclusion: Use inclusive terminology in zygote.md documentation
Bug: 842296
Change-Id: Ic6ab0000b002695219ce09f17396fda4aa45df67
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2971205
Auto-Submit: Lily Chen <chlily@chromium.org>
Commit-Queue: Chris Palmer <palmer@chromium.org>
Reviewed-by: Chris Palmer <palmer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#893991}
2021-06-18 21:55:34 +00:00
046f987e02 [COIL] Change chromium code search type links to use main rather than master for docs
See this doc: go/chromium-coil-change for more info
    BUG=1210385

Change-Id: I6cd8548301e360bae8e71384dbd8ef11aa6c985f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2902904
Reviewed-by: My Nguyen <myy@chromium.org>
Commit-Queue: My Nguyen <myy@chromium.org>
Auto-Submit: John Palmer <jopalmer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#885851}
2021-05-24 01:24:56 +00:00
fe67f0be5d Update Arch Linux build instructions
We haven't needed to install fonts separately since
I6074842eb67eba6194fa90e549e0485b529aa814.

Change-Id: Ie7463c1bab11c1dac5ad4e15cb359fb487d16b12
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2911241
Auto-Submit: Timothy Gu <timothygu@chromium.org>
Commit-Queue: Dirk Pranke <dpranke@google.com>
Reviewed-by: Dirk Pranke <dpranke@google.com>
Cr-Commit-Position: refs/heads/master@{#885243}
2021-05-20 22:07:04 +00:00
2092674e7b Allow selection of utility sub type in utility-startup-dialog
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}
2021-05-13 20:11:30 +00:00
a9522488ac fix a command line error in debugging.md
Change-Id: I7a3a35349fdb44a83616b385d1ce43739da4faf1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2881748
Reviewed-by: Yaron Friedman <yfriedman@chromium.org>
Auto-Submit: Zhang Hao <15686357310a@gmail.com>
Commit-Queue: Pavol Marko <pmarko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#881970}
2021-05-12 11:26:36 +00:00
e3612819b8 Fix broken link in chromium_packages.md.
Should have been part of https://crrev.com/726499, which moved the file
into the docs/linux/ sub-directory.

Change-Id: I80108687502eb22c04d17520da4add3686622b4c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2875396
Auto-Submit: Lei Zhang <thestig@chromium.org>
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Cr-Commit-Position: refs/heads/master@{#879457}
2021-05-05 18:27:00 +00:00
d7da6f3d6d Use python3 in install-build-deps.sh.
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}
2021-04-22 19:30:55 +00:00
570b369a48 doc: typo fix breadpad->breakpad
Change-Id: I24a98773cd4b919cf7728dee17f9b6678640c6cd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2828781
Auto-Submit: Ian Barkley-Yeung <iby@chromium.org>
Reviewed-by: Mark Mentovai <mark@chromium.org>
Commit-Queue: Mark Mentovai <mark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#873103}
2021-04-15 23:33:40 +00:00
e99d91eb8d Update documentation on using rr.
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}
2021-03-30 20:18:00 +00:00
b66864ebfc Update "Use Goma" instruction.
Since the instruction is misleading, let me update it to
point the Goma's doc instead.

Change-Id: I2af64e40ee42f5db3cd7e666aadb61220f1aaa4a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2752529
Auto-Submit: Yoshisato Yanagisawa <yyanagisawa@chromium.org>
Commit-Queue: Karan Bhatia <karandeepb@chromium.org>
Reviewed-by: Karan Bhatia <karandeepb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#862132}
2021-03-11 21:22:48 +00:00