0
Commit Graph

86 Commits

Author SHA1 Message Date
8a68f87288 [Instrumented libraries] Add note to doc about mounting /dev/shm
/dev/shm is now required to be mounted for the build.

R=thestig

Change-Id: I3fc8444de6e7d7f83f47f55be13aa7ae00b6d8f7
Bug: None
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5367014
Reviewed-by: Lei Zhang <thestig@chromium.org>
Auto-Submit: Thomas Anderson <thomasanderson@chromium.org>
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1271864}
2024-03-12 22:49:57 +00:00
3e1b99498f Add note on how to use perf record if PMU counters are not available.
Bug: 313526654
Change-Id: Iab8b2915c0627f5830344cb8145810f7898b5409
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5337346
Reviewed-by: David Benjamin <davidben@chromium.org>
Auto-Submit: Daniel Cheng <dcheng@chromium.org>
Commit-Queue: Daniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1267454}
2024-03-01 18:36:08 +00:00
ca56909583 Update doc for access request to chromium-instrumented-libraries
Change-Id: I3e988279dd052e3deb93e7dcee03235581bcdf31
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5275243
Reviewed-by: Joey Scarr <jsca@google.com>
Commit-Queue: Anne Redulla <aredulla@google.com>
Reviewed-by: Dirk Pranke <dpranke@google.com>
Cr-Commit-Position: refs/heads/main@{#1257137}
2024-02-07 02:12:22 +00:00
b3cf42f11a Update documentation for building instrumented libraries.
Fixes a script location and (hopefully) makes commands a bit easier to
copy and paste.

Change-Id: I1a6b1babc4fa5ad59c35f4f11e97c47f79803f2e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5270813
Commit-Queue: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1256601}
2024-02-06 04:29:34 +00:00
54da9cc2df Add/Update external Reclient build instructions
Bug: b/291868532
Change-Id: I54e6225ab01e12141957949d5c8c35b32e5062d5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5159847
Reviewed-by: Takuto Ikuta <tikuta@chromium.org>
Commit-Queue: Andrew Williams <awillia@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1244750}
2024-01-09 17:32:23 +00:00
aa455031a5 vaapi: Update VA-API documents for Linux
This CL updates the Linux arguments and feature switches in 'vaapi.md',
and deprecates the legacy 'hw_video_decode.md'.

Bug: 1492880
Change-Id: I0fa7b5a0dbdc3517ad6d4fd25d3a25d244d05ff4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4987137
Commit-Queue: Steve Cho <stevecho@chromium.org>
Reviewed-by: Miguel Casas-Sanchez <mcasas@chromium.org>
Reviewed-by: Steve Cho <stevecho@chromium.org>
Auto-Submit: Jianhui J Dai <jianhui.j.dai@intel.com>
Cr-Commit-Position: refs/heads/main@{#1233450}
2023-12-05 18:06:19 +00:00
1b118a8b11 docs/linux: add section how to get access to Google RBE backend
This copies statements from
https://chromium.googlesource.com/infra/goma/client/+/HEAD/doc/early-access-guide.md#please-wait-for-invitation-from-google

Bug: b/291868532
Change-Id: I8ae94cf494b48d2c96dff2d3a7b1b25f508f7645
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5056945
Reviewed-by: Harry Souders <harrysouders@google.com>
Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1229750}
2023-11-28 05:55:25 +00:00
43f9cb8474 Update reclient docs in linux/build_instructions.md.
Bug: b/309546834
Change-Id: I7a747f7ee68bb3d1c4a8f606483e45543ff22d23
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5038493
Reviewed-by: Michael Savigny <msavigny@google.com>
Commit-Queue: Philipp Wollermann <philwo@chromium.org>
Reviewed-by: Junji Watanabe <jwata@google.com>
Reviewed-by: Takuto Ikuta <tikuta@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1229169}
2023-11-27 05:33:19 +00:00
ad01fbd448 [Sysroot] Port sysroot-creator.sh to Python
R=thestig

Bug: None
Change-Id: I951ec800463624ece45b1460c631e08429c37d03
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5027933
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1226243}
2023-11-17 18:52:30 +00:00
77654728a8 docs/linux: add explanation about gcloud in reclient section
This is for http://shortn/_aSsyotZ1dn.

Bug: b/309546834
Change-Id: I7e8f81795bfb14e1952c85eb4959127a83cd2a5a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5016384
Reviewed-by: Fumitoshi Ukai <ukai@google.com>
Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1222685}
2023-11-10 01:42:33 +00:00
0bcd3ef018 Fix reclient setup link.
The link for setting up reclient for googlers was actually pointing to the section of
the docs about using reclient, not setting it up.  This has led to some
users missing critical setup steps.

Bug: b/308577099
Change-Id: Ic71794db3441a4af8d919deacc4c3f3e7ee37a5a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4993130
Reviewed-by: Michael Ershov <miersh@google.com>
Commit-Queue: Michael Savigny <msavigny@google.com>
Cr-Commit-Position: refs/heads/main@{#1217553}
2023-10-31 14:15:46 +00:00
e39bf1ba93 linux docs: Fix link for building with remote execution
Bug: None
Change-Id: I7ed98b23ae6567a334c7bd290da202c4f1bf0011
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4911613
Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
Auto-Submit: Ted Brandston <tbrandston@google.com>
Reviewed-by: Takuto Ikuta <tikuta@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1205612}
2023-10-05 01:42:47 +00:00
07e101a915 [goma] Update deprecation notice and reclient instructions to be clearer
Bug: b/302342921
Change-Id: I32b0c13e74d1186bdac3ee85def72d69fcbe2b9a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4897360
Auto-Submit: Ben Segall <bentekkie@google.com>
Reviewed-by: Takuto Ikuta <tikuta@chromium.org>
Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1202366}
2023-09-28 06:33:01 +00:00
5e33eb713e Update package URL for NixOS
Use the more user-friendly package search website, per suggestion from
hexa@darmstadt.ccc.de.

Change-Id: I4a51ad5386ebe4baa778d093515f589da8a9258f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4893897
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1202039}
2023-09-27 19:03:16 +00:00
e95877fe72 [wptrunner] Add run_wpt_tests.py support to debug_renderer
Add support for interactively debugging WPTs with upstream's `wpt run`.
`run_wpt_tests.py --verbose` ensures browser logs are dumped to stdout
so that `debug_renderer` can find the PID to attach to.

Bug: 1440021
Test: ./debug_renderer ./run_wpt_tests.py -t Default
Test: external/wpt/badging/badge-success.https.html
Change-Id: I58323aea67f6232bc28b198b8f18d3d7bb7d8a7b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4893148
Reviewed-by: Weizhong Xia <weizhong@google.com>
Commit-Queue: Jonathan Lee <jonathanjlee@google.com>
Reviewed-by: Robert Flack <flackr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1201810}
2023-09-26 21:16:30 +00:00
52913100d1 Update info for openSUSE Chromium packages
Refresh the entry, as it is at least 8 years old.
Thanks to Andreas Stieger for the updated info.

Change-Id: I714196cf087b66555253a810e6e2a75dddb53932
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4875795
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1198557}
2023-09-19 19:38:22 +00:00
66f5de8d61 docs: add initial reclient build instruction
Bug: b/291868532
Change-Id: I7198611a904d7b955ca852d502fb7b3365c4d0a4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4756110
Reviewed-by: Junji Watanabe <jwata@google.com>
Reviewed-by: Fumitoshi Ukai <ukai@google.com>
Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1193914}
2023-09-08 03:55:44 +00:00
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