Lines Matching refs:build_dir
114 def _GetOutputDirectory(build_dir, arch): argument
116 return os.path.join(build_dir, arch)
145 def Build(build_dir, arch, use_goma, extra_gn_args, extra_gn_switches, argument
149 output_directory = _GetOutputDirectory(build_dir, arch)
175 def CollectCommon(aar_file, build_dir, arch): argument
178 output_directory = _GetOutputDirectory(build_dir, arch)
183 def Collect(aar_file, build_dir, arch): argument
186 output_directory = _GetOutputDirectory(build_dir, arch)
194 def GenerateLicenses(output_dir, build_dir, archs): argument
196 [_GetOutputDirectory(build_dir, arch) for arch in archs], TARGETS)
206 build_dir = ext_build_dir if ext_build_dir else tempfile.mkdtemp()
209 Build(build_dir, arch, use_goma, extra_gn_args, extra_gn_switches,
214 CollectCommon(aar_file, build_dir, archs[0])
216 Collect(aar_file, build_dir, arch)
219 GenerateLicenses(license_dir, build_dir, archs)
222 shutil.rmtree(build_dir, True)
230 args.build_dir, args.extra_gn_switches, args.extra_ninja_switches)