allow specifying out directory root (flutter/engine#7753)
This commit is contained in:
@@ -43,7 +43,7 @@ def get_out_dir(args):
|
||||
if args.enable_vulkan:
|
||||
target_dir.append('vulkan')
|
||||
|
||||
return os.path.join('out', '_'.join(target_dir))
|
||||
return os.path.join(args.out_dir, 'out', '_'.join(target_dir))
|
||||
|
||||
def to_command_line(gn_args):
|
||||
def merge(key, value):
|
||||
@@ -271,6 +271,8 @@ def parse_args(args):
|
||||
|
||||
parser.add_argument('--coverage', default=False, action='store_true')
|
||||
|
||||
parser.add_argument('--out-dir', default='', type=str)
|
||||
|
||||
return parser.parse_args(args)
|
||||
|
||||
def main(argv):
|
||||
|
||||
Reference in New Issue
Block a user