Lines Matching full:ninja
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
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.
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')