gclient template file clarifications (#160882)

A few clarifications in the gclient file templates:

* Sort sections such that RBE and standard variants are consistent.
* Add web engine instructions in comments.
* Explain how to use SSH-based GitHub checkouts.
This commit is contained in:
Yegor 2024-12-27 11:36:20 -08:00 committed by GitHub
parent 7a50802d2b
commit afc68e3a10
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 18 additions and 3 deletions

View File

@ -2,13 +2,20 @@
# or just run gclient sync in an empty directory with this file.
solutions = [
{
"custom_vars": {
"use_rbe": True,
},
"deps_file": "DEPS",
"managed": False,
"name": ".",
"safesync_url": "",
# If you are using SSH to connect to GitHub, change the URL to:
# git@github.com:flutter/flutter.git
"url": "https://github.com/flutter/flutter.git",
"custom_vars": {
"use_rbe": True,
# Uncomment download_emsdk below if you plan to build the web engine.
# "download_emsdk": True,
},
},
]

View File

@ -7,6 +7,14 @@ solutions = [
"managed": False,
"name": ".",
"safesync_url": "",
# If you are using SSH to connect to GitHub, change the URL to:
# git@github.com:flutter/flutter.git
"url": "https://github.com/flutter/flutter.git",
# Uncomment the custom_vars section below if you plan to build the web engine.
# "custom_vars": {
# "download_emsdk": True,
# },
},
]