Home | History | Annotate | Download | only in aidl

Lines Matching refs:Options

3 #include "options.h"
589 exactly_one_interface(const char* filename, const document_item_type* items, const Options& options,
615 if (options.failOnParcelable) {
633 generate_dep_file(const Options& options, const document_item_type* items)
639 if (options.autoDepFile) {
640 string fileName = options.outputFileName + ".d";
643 to = fopen(options.depFileName.c_str(), "wb");
657 fprintf(to, "%s: \\\n", options.outputFileName.c_str());
662 fprintf(to, " %s %s\n", options.inputFileName.c_str(), slash);
691 generate_outputFileName2(const Options& options, const buffer_type& name, const char* package)
697 result = options.outputBaseFolder;
723 generate_outputFileName(const Options& options, const document_item_type* items)
729 return generate_outputFileName2(options, type->name, type->package);
732 return generate_outputFileName2(options, type->name, type->package);
934 compile_aidl(Options& options)
938 set_import_paths(options.importPaths);
943 N = options.preprocessedFiles.size();
945 const string& s = options.preprocessedFiles[i];
954 err = parse_aidl(options.inputFileName.c_str());
986 err |= check_filenames(options.inputFileName.c_str(), mainDoc);
994 err |= gather_types(options.inputFileName.c_str(), mainDoc);
1015 err |= check_types(options.inputFileName.c_str(), mainDoc);
1020 err |= exactly_one_interface(options.inputFileName.c_str(), mainDoc, options, &onlyParcelable);
1024 err |= check_and_assign_method_ids(options.inputFileName.c_str(),
1035 if (options.outputFileName.length() == 0 &&
1036 options.outputBaseFolder.length() > 0) {
1037 options.outputFileName = generate_outputFileName(options, mainDoc);
1042 if ((options.autoDepFile || options.depFileName != "") &&
1043 !(onlyParcelable && options.failOnParcelable)) {
1045 check_outputFilePath(options.outputFileName);
1046 generate_dep_file(options, mainDoc);
1050 if (onlyParcelable && !options.failOnParcelable) {
1055 check_outputFilePath(options.outputFileName);
1057 err = generate_java(options.outputFileName, options.inputFileName.c_str(),
1064 preprocess_aidl(const Options& options)
1070 int N = options.filesToPreprocess.size();
1073 err = parse_aidl(options.filesToPreprocess[i].c_str());
1106 int fd = open( options.outputFileName.c_str(),
1115 options.outputFileName.c_str());
1125 options.outputFileName.c_str());
1127 unlink(options.outputFileName.c_str());
1140 Options options;
1141 int result = parse_options(argc, argv, &options);
1146 switch (options.task)
1149 return compile_aidl(options);
1151 return preprocess_aidl(options);