<commit_before>Description: do not use -w flag when calling ninja, which requires ninja >= 1.6.0
Author: <NAME> <<EMAIL>>

--- a/tools/gn/bootstrap/bootstrap.py
+++ b/tools/gn/bootstrap/bootstrap.py
@@ -206,7 +206,7 @@ def build_gn_with_ninja_manually(tempdir,
 
   write_gn_ninja(os.path.join(tempdir, 'build.ninja'),
                  root_gen_dir, options)
-  cmd = ['ninja', '-C', tempdir, '-w', 'dupbuild=err']
+  cmd = ['ninja', '-C', tempdir]
   if options.verbose:
     cmd.append('-v')
 
@@ -832,7 +832,7 @@ def build_gn_with_gn(temp_gn, build_dir,
   cmd = [temp_gn, 'gen', build_dir, '--args=%s' % gn_gen_args]
   check_call(cmd)
 
-  cmd = ['ninja', '-C', build_dir, '-w', 'dupbuild=err']
+  cmd = ['ninja', '-C', build_dir]
   if options.verbose:
     cmd.append('-v')
   cmd.append('gn')<commit_msg>fix no-new-ninja-flag patch fuzz<commit_after>Description: do not use -w flag when calling ninja, which requires ninja >= 1.6.0
Author: <NAME> <<EMAIL>>

--- a/tools/gn/bootstrap/bootstrap.py
+++ b/tools/gn/bootstrap/bootstrap.py
@@ -206,7 +206,7 @@
 
   write_gn_ninja(os.path.join(tempdir, 'build.ninja'),
                  root_gen_dir, options)
-  cmd = ['ninja', '-C', tempdir, '-w', 'dupbuild=err']
+  cmd = ['ninja', '-C', tempdir]
   if options.verbose:
     cmd.append('-v')
   if options.jobs:
@@ -832,7 +832,7 @@
   cmd = [temp_gn, 'gen', build_dir, '--args=%s' % gn_gen_args]
   check_call(cmd)
 
-  cmd = ['ninja', '-C', build_dir, '-w', 'dupbuild=err']
+  cmd = ['ninja', '-C', build_dir]
   if options.verbose:
     cmd.append('-v')
   cmd.append('gn')
{'fraction_non_alphanumeric': 0.20759493670886076, 'fraction_numerical': 0.024050632911392405, 'mean_word_length': 3.416201117318436, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7313535', 'n_tokens_mistral': 667, 'n_tokens_neox': 618, 'n_words': 129}