Lines Matching +full:ninja +full:- +full:win
3 # Use of this source code is governed by a BSD-style license that can be
12 diff between the new landmines and the old ones is non-null. At this point, the
38 r'c:\b\build\slave\win\build\src\out'
47 elif build_tool in ['make', 'ninja', 'ninja-ios']: # TODO: Remove ninja-ios.
63 """Extracts from a build.ninja the commands to run GN.
65 The commands to run GN are the gn rule and build.ninja build step at the
66 top of the build.ninja file. We want to keep these when deleting GN builds
67 since we want to preserve the command-line flags to GN.
73 # is the "rule gn" and the second is the section for "build build.ninja",
86 # GN writes a build.ninja.d file. Note that not all GN builds have args.gn.
87 build_ninja_d_file = os.path.join(build_dir, 'build.ninja.d')
94 # write a dummy build.ninja file that will automatically rerun GN the next
95 # time Ninja is run.
96 build_ninja_file = os.path.join(build_dir, 'build.ninja')
114 # Write the build.ninja file sufficiently to regenerate itself.
115 with open(os.path.join(build_dir, 'build.ninja'), 'w') as f:
119 # Couldn't parse the build.ninja file, write a default thing.
121 command = gn -q gen //out/%s/
122 description = Regenerating ninja files
124 build build.ninja: gn
126 depfile = build.ninja.d
130 # will make Ninja always mark the build as dirty.
132 f.write('build.ninja: nonexistant_file.gn\n')
200 '-s', '--landmine-scripts', action='append',
203 'is passed to this script via option -t. Note that an extra '
205 parser.add_option('-v', '--verbose', action='store_true',