Lines Matching refs:argv
418 bool CommonRuntimeTestImpl::StartDex2OatCommandLine(/*out*/std::vector<std::string>* argv, in StartDex2OatCommandLine() argument
421 DCHECK(argv != nullptr); in StartDex2OatCommandLine()
422 DCHECK(argv->empty()); in StartDex2OatCommandLine()
430 argv->push_back(runtime->GetCompilerExecutable()); in StartDex2OatCommandLine()
432 argv->push_back("--debuggable"); in StartDex2OatCommandLine()
434 runtime->AddCurrentRuntimeFeaturesAsDex2OatArguments(argv); in StartDex2OatCommandLine()
437 argv->push_back("--runtime-arg"); in StartDex2OatCommandLine()
438 argv->push_back(GetClassPathOption("-Xbootclasspath:", GetLibCoreDexFileNames())); in StartDex2OatCommandLine()
439 argv->push_back("--runtime-arg"); in StartDex2OatCommandLine()
440 argv->push_back(GetClassPathOption("-Xbootclasspath-locations:", GetLibCoreDexLocations())); in StartDex2OatCommandLine()
445 argv->push_back("--boot-image=" + image_spaces[0]->GetImageLocation()); in StartDex2OatCommandLine()
449 argv->insert(argv->end(), compiler_options.begin(), compiler_options.end()); in StartDex2OatCommandLine()
460 std::vector<std::string> argv { in CompileBootImage() local
472 argv.push_back("--dex-file=" + dex_file); in CompileBootImage()
475 argv.push_back("--dex-location=" + dex_location); in CompileBootImage()
478 argv.push_back("--debuggable"); in CompileBootImage()
480 runtime->AddCurrentRuntimeFeaturesAsDex2OatArguments(&argv); in CompileBootImage()
483 argv.push_back("--host"); in CompileBootImage()
493 argv.push_back("--image-fd=" + std::to_string(art_file->Fd())); in CompileBootImage()
494 argv.push_back("--output-vdex-fd=" + std::to_string(vdex_file->Fd())); in CompileBootImage()
495 argv.push_back("--oat-fd=" + std::to_string(oat_file->Fd())); in CompileBootImage()
496 argv.push_back("--oat-location=" + image_file_name_prefix + ".oat"); in CompileBootImage()
498 argv.push_back("--image=" + image_file_name_prefix + ".art"); in CompileBootImage()
499 argv.push_back("--oat-file=" + image_file_name_prefix + ".oat"); in CompileBootImage()
500 argv.push_back("--oat-location=" + image_file_name_prefix + ".oat"); in CompileBootImage()
504 argv.insert(argv.end(), compiler_options.begin(), compiler_options.end()); in CompileBootImage()
509 argv.push_back("--android-root=" + std::string(android_root)); in CompileBootImage()
510 argv.insert(argv.end(), extra_args.begin(), extra_args.end()); in CompileBootImage()
512 bool result = RunDex2Oat(argv, error_msg); in CompileBootImage()