Skip to content

Commit afc68e3

Browse files
authored
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.
1 parent 7a50802 commit afc68e3

File tree

2 files changed

+18
-3
lines changed

2 files changed

+18
-3
lines changed

engine/scripts/rbe.gclient

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,20 @@
22
# or just run gclient sync in an empty directory with this file.
33
solutions = [
44
{
5-
"custom_vars": {
6-
"use_rbe": True,
7-
},
85
"deps_file": "DEPS",
96
"managed": False,
107
"name": ".",
118
"safesync_url": "",
9+
10+
# If you are using SSH to connect to GitHub, change the URL to:
11+
# git@github.com:flutter/flutter.git
1212
"url": "https://github.com/flutter/flutter.git",
13+
14+
"custom_vars": {
15+
"use_rbe": True,
16+
17+
# Uncomment download_emsdk below if you plan to build the web engine.
18+
# "download_emsdk": True,
19+
},
1320
},
1421
]

engine/scripts/standard.gclient

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ solutions = [
77
"managed": False,
88
"name": ".",
99
"safesync_url": "",
10+
11+
# If you are using SSH to connect to GitHub, change the URL to:
12+
# git@github.com:flutter/flutter.git
1013
"url": "https://github.com/flutter/flutter.git",
14+
15+
# Uncomment the custom_vars section below if you plan to build the web engine.
16+
# "custom_vars": {
17+
# "download_emsdk": True,
18+
# },
1119
},
1220
]

0 commit comments

Comments
 (0)