From afc68e3a1052d677a88a9c230d0a92542db2ad77 Mon Sep 17 00:00:00 2001 From: Yegor Date: Fri, 27 Dec 2024 11:36:20 -0800 Subject: [PATCH] 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. --- engine/scripts/rbe.gclient | 13 ++++++++++--- engine/scripts/standard.gclient | 8 ++++++++ 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/engine/scripts/rbe.gclient b/engine/scripts/rbe.gclient index 603a408d0d3..98022cc484c 100644 --- a/engine/scripts/rbe.gclient +++ b/engine/scripts/rbe.gclient @@ -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, + }, }, ] \ No newline at end of file diff --git a/engine/scripts/standard.gclient b/engine/scripts/standard.gclient index 7dbba841e0b..a05a39e3363 100644 --- a/engine/scripts/standard.gclient +++ b/engine/scripts/standard.gclient @@ -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, + # }, }, ] \ No newline at end of file