nodir | 469b2a1 | 2015-09-14 16:20:21 | [diff] [blame] | 1 | # Chromium docs |
| 2 | |
Ming-Ying Chung | d8eebd2c | 2022-07-19 08:02:23 | [diff] [blame] | 3 | This directory contains [chromium project](https://www.chromium.org/Home/) |
| 4 | documentation in [Gitiles-flavored Markdown]. It is automatically |
| 5 | [rendered by Gitiles]. |
Vincent Scheib | de853a0 | 2017-07-13 23:31:18 | [diff] [blame] | 6 | |
| 7 | [Gitiles-flavored Markdown]: https://gerrit.googlesource.com/gitiles/+/master/Documentation/markdown.md |
John Palmer | 046f987 | 2021-05-24 01:24:56 | [diff] [blame] | 8 | [rendered by Gitiles]: https://chromium.googlesource.com/chromium/src/+/main/docs/ |
nodir | 469b2a1 | 2015-09-14 16:20:21 | [diff] [blame] | 9 | |
Ming-Ying Chung | d8eebd2c | 2022-07-19 08:02:23 | [diff] [blame] | 10 | **If you add new documents, please also add a link to them in the Document Index |
| 11 | below.** |
justincarlson | 90a1c8c | 2017-04-14 00:34:25 | [diff] [blame] | 12 | |
| 13 | [TOC] |
| 14 | |
Vincent Scheib | 394b907a | 2017-07-14 22:30:06 | [diff] [blame] | 15 | ## Creating Documentation |
nodir | 469b2a1 | 2015-09-14 16:20:21 | [diff] [blame] | 16 | |
Ming-Ying Chung | d8eebd2c | 2022-07-19 08:02:23 | [diff] [blame] | 17 | ### Guidelines |
nodir | 469b2a1 | 2015-09-14 16:20:21 | [diff] [blame] | 18 | |
Qi Xiao | 4a80b1e | 2022-07-27 10:08:29 | [diff] [blame] | 19 | * See the [Chromium Documentation Guidelines](documentation_guidelines.md) |
Ming-Ying Chung | d8eebd2c | 2022-07-19 08:02:23 | [diff] [blame] | 20 | and the |
Qi Xiao | 4a80b1e | 2022-07-27 10:08:29 | [diff] [blame] | 21 | [Chromium Documentation Best Practices](documentation_best_practices.md). |
Ming-Ying Chung | d8eebd2c | 2022-07-19 08:02:23 | [diff] [blame] | 22 | * Markdown documents must follow the |
Ming-Ying Chung | 99ebfd7 | 2023-03-03 01:01:48 | [diff] [blame] | 23 | [Markdown Style |
| 24 | Guide](https://chromium.googlesource.com/chromium/src/+/HEAD/styleguide/markdown/markdown.md). |
Ming-Ying Chung | d8eebd2c | 2022-07-19 08:02:23 | [diff] [blame] | 25 | |
| 26 | ### Previewing changes |
| 27 | |
| 28 | #### Locally using [md_browser](../tools/md_browser/) |
nodir | 6efa499 | 2015-12-20 00:54:33 | [diff] [blame] | 29 | |
| 30 | ```bash |
| 31 | # in chromium checkout |
agable | d40b954 | 2016-05-11 01:15:06 | [diff] [blame] | 32 | ./tools/md_browser/md_browser.py |
nodir | 6efa499 | 2015-12-20 00:54:33 | [diff] [blame] | 33 | ``` |
| 34 | |
Vincent Scheib | 394b907a | 2017-07-14 22:30:06 | [diff] [blame] | 35 | This is only an estimate. The **gitiles** view may differ. |
nodir | 6efa499 | 2015-12-20 00:54:33 | [diff] [blame] | 36 | |
Ming-Ying Chung | d8eebd2c | 2022-07-19 08:02:23 | [diff] [blame] | 37 | #### Online with Gerrit's links to gitiles |
Vincent Scheib | 394b907a | 2017-07-14 22:30:06 | [diff] [blame] | 38 | |
Mathieu Perreault | 33962538 | 2017-07-29 00:32:58 | [diff] [blame] | 39 | 1. Upload a patch to gerrit, or receive a review request. |
Roland Bock | fdc88ec | 2022-01-05 08:32:54 | [diff] [blame] | 40 | e.g. https://chromium-review.googlesource.com/c/3362532 |
Mathieu Perreault | 33962538 | 2017-07-29 00:32:58 | [diff] [blame] | 41 | 2. View a specific .md file. |
Roland Bock | fdc88ec | 2022-01-05 08:32:54 | [diff] [blame] | 42 | e.g. https://chromium-review.googlesource.com/c/3362532/2/docs/README.md |
| 43 | 3. You will see something like <br> |
| 44 | Base |
Qi Xiao | 4a80b1e | 2022-07-27 10:08:29 | [diff] [blame] | 45 | [preview](https://chromium.googlesource.com/chromium/src/+/ad44f6081ccc6b92479b12f1eb7e9482f474859d/docs/README.md) |
Roland Bock | fdc88ec | 2022-01-05 08:32:54 | [diff] [blame] | 46 | -> Patchset 3 |
Qi Xiao | 4a80b1e | 2022-07-27 10:08:29 | [diff] [blame] | 47 | [preview](https://chromium.googlesource.com/chromium/src/+/refs/changes/32/3362532/3/docs/README.md) |
Roland Bock | fdc88ec | 2022-01-05 08:32:54 | [diff] [blame] | 48 | | DOWNLOAD <br> |
Ming-Ying Chung | d8eebd2c | 2022-07-19 08:02:23 | [diff] [blame] | 49 | at the top left of the page. Click on the second |
Qi Xiao | 4a80b1e | 2022-07-27 10:08:29 | [diff] [blame] | 50 | "[preview](https://chromium.googlesource.com/chromium/src/+/refs/changes/32/3362532/3/docs/README.md)" |
Roland Bock | fdc88ec | 2022-01-05 08:32:54 | [diff] [blame] | 51 | link to open the preview for the current patch set. |
Vincent Scheib | 394b907a | 2017-07-14 22:30:06 | [diff] [blame] | 52 | |
| 53 | This **gitiles** view is the authoritative view, exactly the same as will be |
| 54 | used when committed. |
nodir | 6efa499 | 2015-12-20 00:54:33 | [diff] [blame] | 55 | |
justincarlson | 90a1c8c | 2017-04-14 00:34:25 | [diff] [blame] | 56 | ## Document Index |
| 57 | |
| 58 | ### Checking Out and Building |
Tom Anderson | 93e49e49 | 2019-12-23 19:55:37 | [diff] [blame] | 59 | * [Linux Build Instructions](linux/build_instructions.md) - Linux |
justincarlson | 90a1c8c | 2017-04-14 00:34:25 | [diff] [blame] | 60 | * [Mac Build Instructions](mac_build_instructions.md) - MacOS |
| 61 | * [Windows Build Instructions](windows_build_instructions.md) - Windows |
| 62 | * [Android Build Instructions](android_build_instructions.md) - Android target |
| 63 | (on a Linux host) |
Tom Anderson | 93e49e49 | 2019-12-23 19:55:37 | [diff] [blame] | 64 | * [Cast Build Instructions](linux/cast_build_instructions.md) - Cast target |
justincarlson | 90a1c8c | 2017-04-14 00:34:25 | [diff] [blame] | 65 | (on a Linux host) |
| 66 | * [Cast for Android Build Instructions](android_cast_build_instructions.md) - |
| 67 | Cast for Android (on a Linux host) |
Chong Gu | 4749ec1 | 2021-02-17 01:41:06 | [diff] [blame] | 68 | * [Fuchsia Build Instructions](fuchsia/build_instructions.md) - |
| 69 | Fuchsia target (on a Linux host) |
justincarlson | 90a1c8c | 2017-04-14 00:34:25 | [diff] [blame] | 70 | * [iOS Build Instructions](ios/build_instructions.md) - iOS target (on a MacOS |
| 71 | host) |
Euisang Lim | 1f25391 | 2018-04-30 01:46:32 | [diff] [blame] | 72 | * [Chrome OS Build Instructions](chromeos_build_instructions.md) - Chrome OS |
Sven Zheng | f86cdf2 | 2022-11-19 02:16:05 | [diff] [blame] | 73 | * [Lacros Build Instructions](lacros/build_instructions.md) - Lacros |
Tom Anderson | 93e49e49 | 2019-12-23 19:55:37 | [diff] [blame] | 74 | * [Linux Chromium ARM Recipes](linux/chromium_arm.md) - Recipes for building |
justincarlson | 90a1c8c | 2017-04-14 00:34:25 | [diff] [blame] | 75 | Chromium for ARM on Linux. |
justincarlson | 90a1c8c | 2017-04-14 00:34:25 | [diff] [blame] | 76 | * [Chrome Component Build](component_build.md) - Faster builds using more |
| 77 | libraries |
| 78 | * [Using the BuildRunner](using_build_runner.md) - Scripts that extract build |
| 79 | stops from builders and runs them locally on a slave |
| 80 | * [Cr User Manual](cr_user_manual.md) - Manual for `cr`, a tool that tries to |
| 81 | hide some of the tools used for working on Chromium behind an abstraction |
| 82 | layer |
| 83 | |
justincarlson | ad589ce | 2017-04-20 17:26:07 | [diff] [blame] | 84 | ### Design Docs |
| 85 | * See [design/README.md](design/README.md) |
| 86 | |
justincarlson | 90a1c8c | 2017-04-14 00:34:25 | [diff] [blame] | 87 | ### Integrated Development Environment (IDE) Set Up Guides |
| 88 | * [Android Studio](android_studio.md) - Android Studio for Android builds |
manukh | 080b47e | 2019-12-19 22:06:19 | [diff] [blame] | 89 | * [Atom](atom.md) - Atom multi-platform code editor |
| 90 | * [CLion](clion.md) - CLion IDE, supports GUI debugging. |
justincarlson | 90a1c8c | 2017-04-14 00:34:25 | [diff] [blame] | 91 | * [Eclipse for Android](eclipse.md) - Eclipse for Android |
Vincent Scheib | 196c7b4 | 2019-12-21 00:29:19 | [diff] [blame] | 92 | * [Eclipse for Linux](linux/eclipse_dev.md) - Eclipse for other platforms |
justincarlson | 90a1c8c | 2017-04-14 00:34:25 | [diff] [blame] | 93 | (This guide was written for Linux, but is probably usable on Windows/MacOS |
| 94 | as well) |
justincarlson | 90a1c8c | 2017-04-14 00:34:25 | [diff] [blame] | 95 | * [EMACS Notes](emacs.md) - EMACS commands/styles/tool integrations |
manukh | 080b47e | 2019-12-19 22:06:19 | [diff] [blame] | 96 | * [Qt Creator](qtcreator.md) - Using Qt Creator as an IDE or GUI debugger |
| 97 | * [Visual Studio Code](vscode.md) - Visual Studio Code |
justincarlson | 90a1c8c | 2017-04-14 00:34:25 | [diff] [blame] | 98 | |
| 99 | ### Git |
| 100 | * [Git Cookbook](git_cookbook.md) - A collection of git recipes for common |
| 101 | tasks |
| 102 | * [Git Tips](git_tips.md) - More git tips |
| 103 | |
| 104 | ### Clang |
| 105 | * [Clang Compiler](clang.md) - General information on the clang compiler, used |
| 106 | by default on Mac and Linux |
| 107 | * [Clang Tool Refactoring](clang_tool_refactoring.md) - Leveraging clang tools |
| 108 | to perform refactorings that are AST-aware |
| 109 | * [The Clang Static Analyzer](clang_static_analyzer.md) - How to enable static |
| 110 | analysis at build time |
Yuke Liao | bb571bd6 | 2018-10-31 21:51:52 | [diff] [blame] | 111 | * [Clang Code Coverage Wrapper](clang_code_coverage_wrapper.md) - Enable Clang |
| 112 | code coverage instrumentation for a subset of source files. |
justincarlson | 90a1c8c | 2017-04-14 00:34:25 | [diff] [blame] | 113 | * [Writing Clang Plugins](writing_clang_plugins.md) - Don't write a clang |
| 114 | plugin, but if you do, read this |
| 115 | * [Updating Clang](updating_clang.md) - Updating the version of Clang used to |
| 116 | build |
| 117 | * [Using clang-format on Chromium C++ Code](clang_format.md) - Various ways to |
| 118 | invoke clang-format on C++ code |
| 119 | * [Clang Tidy](clang_tidy.md) - Support for the `clang-tidy` tool in Chromium |
| 120 | * [Updating Clang Format Binaries](updating_clang_format_binaries.md) - How up |
| 121 | update the clang-format binaries that come with a checkout of Chromium |
| 122 | |
| 123 | ### General Development |
Toby Huang | 5105f81 | 2019-08-08 23:47:57 | [diff] [blame] | 124 | * [Contributing to Chromium](contributing.md) - Reference workflow process for |
| 125 | contributing to the Chromium code base. |
| 126 | * [Commit Checklist](commit_checklist.md) - Streamlined checklist to go |
| 127 | through before uploading CLs on Gerrit. |
justincarlson | 90a1c8c | 2017-04-14 00:34:25 | [diff] [blame] | 128 | * [Code Reviews](code_reviews.md) - Code review requirements and guidelines |
Mathieu Perreault | 33962538 | 2017-07-29 00:32:58 | [diff] [blame] | 129 | * [Respectful Code Reviews](cr_respect.md) - A guide for code reviewers |
| 130 | * [Respectful Changes](cl_respect.md) - A guide for code authors |
Yulan Lin | 55ae6a3 | 2020-07-31 17:58:29 | [diff] [blame] | 131 | * [Mandatory Code-Review Rollout](code_review_owners.md) - Upcoming policy changes related to code review and OWNERS |
Eric Foo | 6ea4fbd | 2018-01-17 04:04:50 | [diff] [blame] | 132 | * [LUCI Migration FAQ](luci_migration_faq.md) - FAQ on Buildbot-to-LUCI |
| 133 | builder migration for Chromium |
Eric Foo | ff7b498 | 2017-12-19 01:59:15 | [diff] [blame] | 134 | * [Tour of Continuous Integration UI](tour_of_luci_ui.md) - A tour of our |
Eric Foo | 6ea4fbd | 2018-01-17 04:04:50 | [diff] [blame] | 135 | the user interface for LUCI, our continuous integration system |
erikchen | b83e010a | 2018-10-08 21:34:01 | [diff] [blame] | 136 | * [Parsing Test Results](parsing_test_results.md) - An introduction for how to |
|
|