Lines Matching refs:argv
413 bool CommonRuntimeTestImpl::StartDex2OatCommandLine(/*out*/std::vector<std::string>* argv, in StartDex2OatCommandLine() argument
416 DCHECK(argv != nullptr); in StartDex2OatCommandLine()
417 DCHECK(argv->empty()); in StartDex2OatCommandLine()
425 argv->push_back(runtime->GetCompilerExecutable()); in StartDex2OatCommandLine()
427 argv->push_back("--debuggable"); in StartDex2OatCommandLine()
429 runtime->AddCurrentRuntimeFeaturesAsDex2OatArguments(argv); in StartDex2OatCommandLine()
432 argv->push_back("--runtime-arg"); in StartDex2OatCommandLine()
433 argv->push_back(GetClassPathOption("-Xbootclasspath:", GetLibCoreDexFileNames())); in StartDex2OatCommandLine()
434 argv->push_back("--runtime-arg"); in StartDex2OatCommandLine()
435 argv->push_back(GetClassPathOption("-Xbootclasspath-locations:", GetLibCoreDexLocations())); in StartDex2OatCommandLine()
440 argv->push_back("--boot-image=" + image_spaces[0]->GetImageLocation()); in StartDex2OatCommandLine()
444 argv->insert(argv->end(), compiler_options.begin(), compiler_options.end()); in StartDex2OatCommandLine()
455 std::vector<std::string> argv { in CompileBootImage() local
466 argv.push_back("--dex-file=" + dex_file); in CompileBootImage()
469 argv.push_back("--dex-location=" + dex_location); in CompileBootImage()
472 argv.push_back("--debuggable"); in CompileBootImage()
474 runtime->AddCurrentRuntimeFeaturesAsDex2OatArguments(&argv); in CompileBootImage()
477 argv.push_back("--host"); in CompileBootImage()
487 argv.push_back("--image-fd=" + std::to_string(art_file->Fd())); in CompileBootImage()
488 argv.push_back("--output-vdex-fd=" + std::to_string(vdex_file->Fd())); in CompileBootImage()
489 argv.push_back("--oat-fd=" + std::to_string(oat_file->Fd())); in CompileBootImage()
490 argv.push_back("--oat-location=" + image_file_name_prefix + ".oat"); in CompileBootImage()
492 argv.push_back("--image=" + image_file_name_prefix + ".art"); in CompileBootImage()
493 argv.push_back("--oat-file=" + image_file_name_prefix + ".oat"); in CompileBootImage()
494 argv.push_back("--oat-location=" + image_file_name_prefix + ".oat"); in CompileBootImage()
498 argv.insert(argv.end(), compiler_options.begin(), compiler_options.end()); in CompileBootImage()
503 argv.push_back("--android-root=" + std::string(android_root)); in CompileBootImage()
504 argv.insert(argv.end(), extra_args.begin(), extra_args.end()); in CompileBootImage()
506 bool result = RunDex2Oat(argv, error_msg); in CompileBootImage()
661 int main(int argc, char **argv) { in main() argument
668 art::InitLogging(argv, art::Runtime::Abort); in main()
671 testing::InitGoogleTest(&argc, argv); in main()