Lines Matching refs:args
119 std::string BuildCommand(const std::vector<std::string>& args) { in BuildCommand() argument
121 for (const std::string& arg : args) { in BuildCommand()
131 std::vector<std::string> args; in GenerateBootImage() local
132 args.push_back(options.dex2oat_bin); in GenerateBootImage()
137 args.push_back("--runtime-arg"); in GenerateBootImage()
138 args.push_back("-Xbootclasspath:" + Join(dex_files, ":")); in GenerateBootImage()
139 args.push_back("--runtime-arg"); in GenerateBootImage()
140 args.push_back("-Xbootclasspath-locations:" + Join(dex_locations, ":")); in GenerateBootImage()
142 args.push_back("--dex-file=" + file); in GenerateBootImage()
145 args.push_back("--dex-location=" + location); in GenerateBootImage()
148 args.push_back("--instruction-set=" + options.instruction_set); in GenerateBootImage()
149 args.push_back(StringPrintf("--base=0x%08x", ART_BASE_ADDRESS)); in GenerateBootImage()
150 args.push_back("--compiler-filter=" + options.compiler_filter); in GenerateBootImage()
152 args.push_back("--profile-file=" + options.profile_file); in GenerateBootImage()
154 args.push_back("--avoid-storing-invocation"); in GenerateBootImage()
155 args.push_back("--generate-debug-info"); in GenerateBootImage()
156 args.push_back("--generate-build-id"); in GenerateBootImage()
157 args.push_back("--image-format=lz4hc"); in GenerateBootImage()
158 args.push_back("--strip"); in GenerateBootImage()
159 args.push_back("--android-root=out/empty"); in GenerateBootImage()
165 args.push_back(StringPrintf("--image=%s/boot.art", path.c_str())); in GenerateBootImage()
166 args.push_back(StringPrintf("--oat-file=%s/boot.oat", path.c_str())); in GenerateBootImage()
169 options.dex2oat_options.begin(), options.dex2oat_options.end(), std::back_inserter(args)); in GenerateBootImage()
171 int exit_code = system(BuildCommand(args).c_str()); in GenerateBootImage()