mirror of
https://github.com/openharmony/build_lite.git
synced 2026-07-21 03:45:26 -04:00
when -f is set, default targets set as make_all and make_test
Signed-off-by: yaoxiaoyu <yaoxiaoyu1@huawei.com> Change-Id: Ia42c16271549f114998c3229da1601d8205fb9b4
This commit is contained in:
@@ -145,9 +145,11 @@ def exec_command(args):
|
||||
|
||||
if hasattr(args, 'compact_mode') and args.compact_mode:
|
||||
if hasattr(args, 'target') and len(args.target):
|
||||
cmd_args['ninja']['targets'] = args.target[0].split(' ')
|
||||
cmd_args['ninja']['targets'] = args.target
|
||||
else:
|
||||
cmd_args['ninja']['default_target'] = 'packages'
|
||||
if hasattr(args, 'full') and args.full:
|
||||
cmd_args['ninja']['targets'] = ['make_all', 'make_test']
|
||||
if hasattr(args, 'keep_ninja_going') and args.keep_ninja_going:
|
||||
cmd_args['ninja']['keep_ninja_going'] = True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user