summaryrefslogtreecommitdiffstats
path: root/tools/aidl/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/aidl/options.cpp')
-rw-r--r--tools/aidl/options.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/aidl/options.cpp b/tools/aidl/options.cpp
index 7b2daeb..9de1957 100644
--- a/tools/aidl/options.cpp
+++ b/tools/aidl/options.cpp
@@ -51,6 +51,7 @@ parse_options(int argc, const char* const* argv, Options *options)
options->task = COMPILE_AIDL;
options->failOnParcelable = false;
options->autoDepFile = false;
+ options->generateNoOpMethods = false;
// OPTIONS
while (i < argc) {
@@ -97,6 +98,9 @@ parse_options(int argc, const char* const* argv, Options *options)
else if (len == 2 && s[1] == 'b') {
options->failOnParcelable = true;
}
+ else if (s[1] == 'n') {
+ options->generateNoOpMethods = true;
+ }
else {
// s[1] is not known
fprintf(stderr, "unknown option (%d): %s\n", i, s);