Clarify where gclient is run from. (#160889)

If `gclient` is not run from the root errors occur such as: `Error:
client not configured; see 'gclient config'`.
This commit is contained in:
chunhtai 2024-12-27 13:37:24 -08:00 committed by GitHub
parent cdce2872fd
commit b86154c44e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,7 +6,7 @@ Flutter engine uses `gclient` to manage dependencies.
If you've already cloned the flutter repository:
1. Copy one of the `engine/scripts/*.gclient` to the root folder as `.gclient`:
1. Copy one of the `engine/scripts/*.gclient` to the [root](../) folder as `.gclient`:
1. Googlers: copy `rbe.gclient` to enable faster builds with [RBE](https://github.com/flutter/flutter/blob/master/engine/src/flutter/docs/rbe/rbe.md)
2. Everyone else: copy `standard.gclient`
2. run `gclient sync`
2. run `gclient sync` from the [root](../) folder