Roll recipe dependencies (trivial).

This is an automated CL created by the recipe roller. This CL rolls
recipe changes from upstream projects (recipe_engine) into this repository.

The build that created this CL was
https://ci.chromium.org/b/8688744169414610673

recipe_engine:
https://chromium.googlesource.com/infra/luci/recipes-py.git/+/a01a14b5aed71797831c5a53a9eac570ec562430
  a01a14b (chromium-autoroll@skia-public.iam.gserviceaccount.com)
      Roll CAS Client from d2df02e3422c to 1959c0f345fc

Please check the following references for more information:
- autoroller, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/workflow.md#autoroller
- rollback, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/workflow.md#rollback
- cross-repo dependencies, https://chromium.googlesource.com/infra/luci/recipes-py/+/main/doc/cross_repo.md

Use https://goo.gl/noib3a to file a bug.

R=iannucci@chromium.org

Recipe-Tryjob-Bypass-Reason: Autoroller
Ignore-Freeze: Autoroller
Bugdroid-Send-Email: False
Change-Id: I7aa56a86f1fb5df23c3c0422a7e8b7cb4aa64719
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/7615531
Bot-Commit: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Recipe Roller <recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com>
2 files changed
tree: d5edeedaf109764376ab9045d956328196262149
  1. .vscode/
  2. agents/
  3. bootstrap/
  4. fetch_configs/
  5. hooks/
  6. infra/
  7. infra_lib/
  8. jj/
  9. man/
  10. mcp/
  11. metadata/
  12. python-bin/
  13. python2-bin/
  14. recipes/
  15. testing_support/
  16. tests/
  17. third_party/
  18. win_toolchain/
  19. zsh-goodies/
  20. .cipd_impl.ps1
  21. .flake8
  22. .git-blame-ignore-revs
  23. .gitattributes
  24. .gitignore
  25. .isort.cfg
  26. .style.yapf
  27. .vpython3
  28. android_build_server_helper.py
  29. auth.py
  30. autoninja
  31. autoninja.bat
  32. autoninja.py
  33. bazel.py
  34. bb
  35. bb.bat
  36. black
  37. bootstrap_python3
  38. breakpad.py
  39. BUILD_OWNERS
  40. build_telemetry
  41. build_telemetry.bat
  42. build_telemetry.py
  43. caffeinate.py
  44. cipd
  45. cipd.bat
  46. cipd_bin_setup.bat
  47. cipd_bin_setup.sh
  48. cipd_client_version
  49. cipd_client_version.digests
  50. cipd_manifest.txt
  51. cipd_manifest.versions
  52. cipd_manifest_cros_python2.txt
  53. cipd_manifest_cros_python2.versions
  54. clang-format
  55. clang-format.bat
  56. clang_format.py
  57. codereview.settings
  58. compile_single_file
  59. compile_single_file.bat
  60. compile_single_file.py
  61. cpplint.bat
  62. cpplint.py
  63. cpplint_chromium.py
  64. create_temp_file.py
  65. cros
  66. CROS_OWNERS
  67. cros_python2.vpython
  68. detect_host_arch.py
  69. DIR_METADATA
  70. dirmd
  71. dirmd.bat
  72. download_from_google_storage
  73. download_from_google_storage.bat
  74. download_from_google_storage.py
  75. ensure_bootstrap
  76. fetch
  77. fetch.bat
  78. fetch.py
  79. gclient
  80. gclient-new-workdir.py
  81. gclient.bat
  82. gclient.py
  83. gclient_completion.sh
  84. gclient_eval.py
  85. gclient_paths.py
  86. gclient_scm.py
  87. gclient_utils.py
  88. gerrit_cache.py
  89. gerrit_client.py
  90. gerrit_util.py
  91. git-cache
  92. git-cl
  93. git-credential-luci
  94. git-credential-luci.bat
  95. git-crrev-parse
  96. git-drover
  97. git-find-releases
  98. git-footers
  99. git-freeze
  100. git-gs
  101. git-hyper-blame
  102. git-map
  103. git-map-branches
  104. git-mark-merge-base
  105. git-nav-downstream
  106. git-nav-upstream
  107. git-new-branch
  108. git-number
  109. git-rebase-update
  110. git-rename-branch
  111. git-reparent-branch
  112. git-retry
  113. git-runhooks
  114. git-squash-branch
  115. git-squash-branch-tree
  116. git-thaw
  117. git-upstream-diff
  118. git_auth.py
  119. git_cache.py
  120. git_cl.py
  121. git_cl_completion.sh
  122. git_common.py
  123. git_completion.sh
  124. git_dates.py
  125. git_find_releases.py
  126. git_footers.py
  127. git_freezer.py
  128. git_hyper_blame.py
  129. git_map.py
  130. git_map_branches.py
  131. git_mark_merge_base.py
  132. git_nav_downstream.py
  133. git_new_branch.py
  134. git_number.py
  135. git_rebase_update.py
  136. git_rename_branch.py
  137. git_reparent_branch.py
  138. git_retry.py
  139. git_squash_branch.py
  140. git_squash_branch_tree.py
  141. git_upstream_diff.py
  142. gn
  143. gn.bat
  144. gn.py
  145. gn_helper.py
  146. google-java-format
  147. google-java-format.bat
  148. google_java_format.py
  149. gsutil.py
  150. gsutil.py.bat
  151. gsutil.py.vpython3
  152. isort
  153. led
  154. led.bat
  155. LICENSE
  156. lockfile.py
  157. luci-auth
  158. luci-auth-fido2-plugin.bat
  159. luci-auth-ssh-helper
  160. luci-auth-ssh-helper.bat
  161. luci-auth-ssh-plugin
  162. luci-auth-ssh-plugin.bat
  163. luci-auth.bat
  164. luci_auth_fido2_plugin.py
  165. LUCI_OWNERS
  166. lucicfg
  167. lucicfg.bat
  168. mac_toolchain
  169. markdown_format.py
  170. metrics-xml-format
  171. metrics.py
  172. metrics.README.md
  173. metrics_utils.py
  174. metrics_xml_format.py
  175. my_activity.py
  176. newauth.py
  177. ninja
  178. ninja.bat
  179. ninja.py
  180. ninjalog_uploader.py
  181. OWNERS
  182. owners_client.py
  183. owners_finder.py
  184. pinpoint
  185. pinpoint.bat
  186. post_build_ninja_summary.py
  187. PRESUBMIT.py
  188. presubmit_canned_checks.py
  189. presubmit_diff.py
  190. presubmit_support.py
  191. prpc
  192. prpc.bat
  193. pylint-2.17
  194. pylint-2.17.bat
  195. pylint-2.6
  196. pylint-2.6.bat
  197. pylint-2.7
  198. pylint-2.7.bat
  199. pylint-3.2
  200. pylint-3.2.bat
  201. pylint_main.py
  202. pylintrc-2.17
  203. pylintrc-2.6
  204. pylintrc-2.7
  205. pylintrc-3.2
  206. pyproject.toml
  207. python_runner.sh
  208. rdb
  209. rdb.bat
  210. rdb_wrapper.py
  211. README.gclient.md
  212. README.git-cl.md
  213. README.google_cloud_storage.md
  214. README.md
  215. reclient_helper.py
  216. RECLIENT_OWNERS
  217. reclientreport
  218. reclientreport.bat
  219. reclientreport.py
  220. repo
  221. repo_launcher
  222. roll-dep
  223. roll-dep.bat
  224. roll_dep.py
  225. roll_downstream_gcs_deps.py
  226. rustfmt.py
  227. scm.py
  228. setup_color.py
  229. siso
  230. siso.bat
  231. siso.py
  232. split_cl.py
  233. subcommand.py
  234. subprocess2.py
  235. swift-format
  236. swift_format.py
  237. update_depot_tools
  238. update_depot_tools.bat
  239. update_depot_tools_toggle.py
  240. upload_metrics.py
  241. upload_to_google_storage.py
  242. upload_to_google_storage_first_class.py
  243. utils.py
  244. vpython3
  245. vpython3.bat
  246. WATCHLISTS
  247. watchlists.py
  248. whitespace.txt
  249. win32imports.py
  250. yapf
  251. yapf.bat
README.md

depot_tools

Tools for Chromium development. Requires Python 3.8+.

gsutil: Python 3.9–3.13 required.

Tools

The most important tools are:

  • fetch: A gclient wrapper to checkout a project. Use fetch --help for more details.
  • gclient: A meta-checkout tool. Think repo or git submodules, except that it support OS-specific rules, e.g. do not checkout Windows only dependencies when checking out for Android. Use gclient help for more details and README.gclient.md.
  • git cl: A code review tool to interact with Rietveld or Gerrit. Use git cl help for more details and README.git-cl.md.
  • roll-dep: A gclient dependency management tool to submit a dep roll, updating a dependency to a newer revision.

There are a lot of git utilities included.

Also, includes shell script/batch file for tools required to build chromium, e.g.

  • gn: a meta-build system that generates build files for Ninja
  • autoninja: a wrapper for siso and ninja.
  • siso: a build tool that aims to significantly speed up Chromium's build.
  • ninja: a small build system with a focus on speed. deprecated by Siso.

These shell script/batch file runs python script with python-bin/python3 that find binaries in chromium checkout, and run with proper setup/check. To use these wrappers, you need to initialize/bootstrap depot_tools (using gclient, update_depot_tools or ensure_bootstrap).

Installing

See set-up documentation.

depot_tools is also available in

These depot_tools would not be initialized/bootstrapped (i.e. no python-bin/python3 binary available), so the build tool wrapper won't work, unless it is explicitly initialized by ensure_bootstrap. Or, directly call the python script instead of using the shell script/batch file.

Updating

depot_tools updates itself automatically when running gclient tool. To disable auto update, set the environment variable DEPOT_TOOLS_UPDATE=0 or run ./update_depot_tools_toggle.py --disable.

To update package manually, run update_depot_tools.bat on Windows, or ./update_depot_tools on Linux or Mac.

Running gclient will install python3 binary.

Contributing

To contribute change for review:

git new-branch <somename>
# Hack
git add .
git commit -a -m "Fixes goat teleporting"
# find reviewers
git cl owners
git log -- <yourfiles>

# Request a review.
git cl upload -r reviewer1@chromium.org,reviewer2@chromium.org --send-mail

# Edit change description if needed.
git cl desc

# If change is approved, flag it to be committed.
git cl set-commit

# If change needs more work.
git rebase-update
...
git cl upload -t "Fixes goat teleporter destination to be Australia"

See also open bugs, open reviews, forum or report problems.

cpplint.py

Until 2018, our cpplint.py was a copy of the upstream version at https://github.com/google/styleguide/tree/gh-pages/cpplint. Unfortunately, that repository is not maintained any more. If you want to update cpplint.py in depot_tools, just upload a patch to do so. We will figure out a long-term strategy via issue https://crbug.com/916550.