Skip to content

Commit

Permalink
Add --no-depot-tools-update to automate.py (#428)
Browse files Browse the repository at this point in the history
  • Loading branch information
cztomczak committed May 22, 2018
1 parent cef0ca5 commit c4b3923
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tools/automate.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
[--ninja-jobs JOBS] [--gyp-generators GENERATORS]
[--gyp-msvs-version MSVS]
[--use-system-freetype USE_SYSTEM_FREETYPE]
[--no-depot-tools-update NO_DEPOT_TOOLS_UPDATE]
automate.py (-h | --help) [type -h to show full description for options]
Options:
Expand Down Expand Up @@ -63,6 +64,10 @@
--gyp-generators=<gen> Set GYP_GENERATORS [default: ninja].
--gyp-msvs-version=<v> Set GYP_MSVS_VERSION.
--use-system-freetype Use system Freetype library on Linux (Issue #402)
--no-depot-tools-update Do not update depot_tools/ directory. When building
old unsupported versions of Chromium you want to
manually checkout an old version of depot tools
from the time of the release.
"""

Expand Down Expand Up @@ -106,6 +111,7 @@ class Options(object):
gyp_generators = "ninja" # Even though CEF uses now GN, still some GYP
gyp_msvs_version = "" # env variables are being used.
use_system_freetype = False
no_depot_tools_update = False

# Internal options
depot_tools_dir = ""
Expand Down Expand Up @@ -944,6 +950,8 @@ def run_automate_git():
args.append("--x64-build")
args.append("--download-dir=" + Options.cef_build_dir)
args.append("--branch=" + Options.cef_branch)
if Options.no_depot_tools_update:
args.append("--no-depot-tools-update")
if Options.release_build:
args.append("--no-debug-build")
args.append("--verbose-build")
Expand Down

0 comments on commit c4b3923

Please sign in to comment.