From d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 Mon Sep 17 00:00:00 2001 From: The Android Open Source Project Date: Tue, 3 Mar 2009 18:28:45 -0800 Subject: auto import from //depot/cupcake/@135843 --- tools/aidl/options.h | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 tools/aidl/options.h (limited to 'tools/aidl/options.h') diff --git a/tools/aidl/options.h b/tools/aidl/options.h deleted file mode 100644 index dc3c45a..0000000 --- a/tools/aidl/options.h +++ /dev/null @@ -1,33 +0,0 @@ -#ifndef DEVICE_TOOLS_AIDL_H -#define DEVICE_TOOLS_AIDL_H - -#include -#include - -using namespace std; - -enum { - COMPILE_AIDL, - PREPROCESS_AIDL -}; - -// This struct is the parsed version of the command line options -struct Options -{ - int task; - bool failOnParcelable; - vector importPaths; - vector preprocessedFiles; - string inputFileName; - string outputFileName; - string depFileName; - - vector filesToPreprocess; -}; - -// takes the inputs from the command line and fills in the Options struct -// Returns 0 on success, and nonzero on failure. -// It also prints the usage statement on failure. -int parse_options(int argc, const char* const* argv, Options *options); - -#endif // DEVICE_TOOLS_AIDL_H -- cgit v1.1 From 9066cfe9886ac131c34d59ed0e2d287b0e3c0087 Mon Sep 17 00:00:00 2001 From: The Android Open Source Project Date: Tue, 3 Mar 2009 19:31:44 -0800 Subject: auto import from //depot/cupcake/@135843 --- tools/aidl/options.h | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 tools/aidl/options.h (limited to 'tools/aidl/options.h') diff --git a/tools/aidl/options.h b/tools/aidl/options.h new file mode 100644 index 0000000..dc3c45a --- /dev/null +++ b/tools/aidl/options.h @@ -0,0 +1,33 @@ +#ifndef DEVICE_TOOLS_AIDL_H +#define DEVICE_TOOLS_AIDL_H + +#include +#include + +using namespace std; + +enum { + COMPILE_AIDL, + PREPROCESS_AIDL +}; + +// This struct is the parsed version of the command line options +struct Options +{ + int task; + bool failOnParcelable; + vector importPaths; + vector preprocessedFiles; + string inputFileName; + string outputFileName; + string depFileName; + + vector filesToPreprocess; +}; + +// takes the inputs from the command line and fills in the Options struct +// Returns 0 on success, and nonzero on failure. +// It also prints the usage statement on failure. +int parse_options(int argc, const char* const* argv, Options *options); + +#endif // DEVICE_TOOLS_AIDL_H -- cgit v1.1 From ba87e3e6c985e7175152993b5efcc7dd2f0e1c93 Mon Sep 17 00:00:00 2001 From: The Android Open Source Project Date: Fri, 13 Mar 2009 13:04:22 -0700 Subject: auto import from //branches/cupcake_rel/...@138607 --- tools/aidl/options.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/aidl/options.h') diff --git a/tools/aidl/options.h b/tools/aidl/options.h index dc3c45a..e9bf0f7 100644 --- a/tools/aidl/options.h +++ b/tools/aidl/options.h @@ -20,6 +20,7 @@ struct Options vector preprocessedFiles; string inputFileName; string outputFileName; + string outputBaseFolder; string depFileName; vector filesToPreprocess; -- cgit v1.1