diff --git a/autoninja.py b/autoninja.py index f3a3c40a4..2c53245ab 100755 --- a/autoninja.py +++ b/autoninja.py @@ -82,8 +82,7 @@ def main(args): if os.path.exists(os.path.join(output_dir, 'args.gn')): with open(os.path.join(output_dir, 'args.gn')) as file_handle: for line in file_handle: - # Either use_goma, use_remoteexec or use_rbe (in deprecation) - # activate build acceleration. + # Either use_goma or use_remoteexec will activate build acceleration. # # This test can match multi-argument lines. Examples of this are: # is_debug=false use_goma=true is_official_build=false @@ -95,7 +94,7 @@ def main(args): line_without_comment): use_goma = True continue - if re.search(r'(^|\s)(use_rbe|use_remoteexec)\s*=\s*true($|\s)', + if re.search(r'(^|\s)(use_remoteexec)\s*=\s*true($|\s)', line_without_comment): use_remoteexec = True continue