From 789dbb2dbbe2944cc52744277adde1ce31a7c6e7 Mon Sep 17 00:00:00 2001 From: Giacomo Furlan Date: Wed, 6 Dec 2017 09:58:04 +0100 Subject: [PATCH] Adds --chromium_dir argument to script/create-dist.py --- script/create-dist.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/script/create-dist.py b/script/create-dist.py index 9eef2bffef97..ae740de1781d 100755 --- a/script/create-dist.py +++ b/script/create-dist.py @@ -82,6 +82,9 @@ TARGET_DIRECTORIES = { def main(): args = parse_args() + if args.chromium_dir: + globals().update(CHROMIUM_DIR=args.chromium_dir) + if args.verbose: enable_verbose_mode() @@ -319,6 +322,8 @@ def parse_args(): parser.add_argument('--no_api_docs', action='store_true', help='Skip generating the Electron API Documentation!') + parser.add_argument('--chromium_dir', + help='Specify a custom libchromiumcontent dist directory if manually compiled') parser.add_argument('-v', '--verbose', action='store_true', help='Prints the output of the subprocesses')