gclient file if gclient changed it: WARNING: gclient detected an obsolete setting in your. When returning to a normal checkout, you may need to undo some of the changes above:Ĭlean up any _bad_scm/ directories in the directory containing. You may also need to disable goma (if enabled). Since build tools change over time, you may need to build using older versions of tools like Visual Studio. It may also be necessary to run the revision's version of build/install-build-deps.sh. $ git remote set - url origin https : ///chromium/src.git If this happens, fix and fetch the remote before continuing: $ git remote get - url origin Source archives for each release are also available. You'll notice this when Git starts thinking everything is “untracked” or “deleted”. The source for all versions is available through repositories, which include the full history of commits and tags for each version. Warning: gclient sync may overwrite the URL of your origin remote if it encounters problems. Note that if you are attempting to build an old revision that is on a branch, you will need to use: $ gclient sync - D - force - reset - with_branch_heads When running gclient sync, also remove any dependencies that are no longer required: $ gclient sync - D - force - reset Repeat this command until it doesn't find anything to remove. By default, Git will preserve directories with their own Git repositories bypass this by passing the -force option twice to git clean. To avoid unexpected gclient behavior and conflicts between revisions, remove any directories that aren‘t part of the revision you’ve checked out. # Get date of current revision: ~ /chrome/ src $ COMMIT_DATE = $ ( git log - n 1 - pretty = format :% ci ) # Check out depot_tools revision from the same time: ~/ depot_tools $ git checkout $ ( git rev - list - n 1 - before = "$COMMIT_DATE" main ) ~/ depot_tools $ export DEPOT_TOOLS_UPDATE = 0 Clean your working directory Since gclient auto-updates depot_tools, be sure to disable depot_tools auto-update before continuing by setting the environment variable DEPOT_TOOLS_UPDATE=0. Get compatible depot_toolsĬheck out a version of depot_tools from around the same time as the target revision. gclient) to a new location, so you can just delete the checkout when finished instead of having to undo changes to your primary working directory. ![]() This process may be easier if you copy your checkout (starting from the directory containing. Though this is not officially supported, these tips address some common complications. Occasionally you may want to check out and build old versions of Chromium, such as when bisecting a regression or simply building an older release tag.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |