1 From 1da1ed1f7035bdb0a4528962c048b7365369f8fd Mon Sep 17 00:00:00 2001
2 From: Roger Zanoni <rzanoni@igalia.com>
3 Date: Mon, 24 Apr 2023 13:56:10 +0200
4 Subject: [PATCH 02/10] Add an option to override the default distrib directory
8 tools/make_distrib.py | 8 ++++++++
9 1 file changed, 8 insertions(+)
11 diff --git a/tools/make_distrib.py b/tools/make_distrib.py
12 index 045430ea3..a858e8ff6 100644
13 --- a/tools/make_distrib.py
14 +++ b/tools/make_distrib.py
15 @@ -463,6 +463,11 @@ parser.add_option(
18 help="Use an anternative base path for the generated gn outputs instead of using chromium source dir")
21 + dest='distpathname',
23 + help="Override the default name of the distribution output path.")
27 @@ -675,6 +680,9 @@ else:
29 output_dir_name = output_dir_name + '_ozone'
31 +if options.distpathname != '':
32 + output_dir_name = options.distpathname + '_' + binary_arch
34 output_dir = create_output_dir(output_dir_name, options.outputdir)
36 # create the README.TXT file