1 From d0ab00e0a22cab8f00d2b1b8c6904c68ff3fa09a 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 2/9] 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 ea798b86f..6ed748fe7 100644
13 --- a/tools/make_distrib.py
14 +++ b/tools/make_distrib.py
15 @@ -465,6 +465,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 @@ -677,6 +682,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