Merge pull request #11354 from elegos/feature/create-dist-chromium-dir-option
Adds --chromium_dir argument to script/create-dist.py
This commit is contained in:
commit
28d96e2d29
1 changed files with 6 additions and 0 deletions
|
@ -82,6 +82,9 @@ TARGET_DIRECTORIES = {
|
||||||
def main():
|
def main():
|
||||||
args = parse_args()
|
args = parse_args()
|
||||||
|
|
||||||
|
if args.chromium_dir:
|
||||||
|
globals().update(CHROMIUM_DIR=args.chromium_dir)
|
||||||
|
|
||||||
if args.verbose:
|
if args.verbose:
|
||||||
enable_verbose_mode()
|
enable_verbose_mode()
|
||||||
|
|
||||||
|
@ -319,6 +322,9 @@ def parse_args():
|
||||||
parser.add_argument('--no_api_docs',
|
parser.add_argument('--no_api_docs',
|
||||||
action='store_true',
|
action='store_true',
|
||||||
help='Skip generating the Electron API Documentation!')
|
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',
|
parser.add_argument('-v', '--verbose',
|
||||||
action='store_true',
|
action='store_true',
|
||||||
help='Prints the output of the subprocesses')
|
help='Prints the output of the subprocesses')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue