summaryrefslogtreecommitdiffstats
path: root/aidl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'aidl.cpp')
-rw-r--r--aidl.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/aidl.cpp b/aidl.cpp
index 1815e56..a24d1ab 100644
--- a/aidl.cpp
+++ b/aidl.cpp
@@ -703,8 +703,13 @@ int compile_aidl_to_java(const JavaOptions& options,
return 1;
}
+ unsigned int flags = 0;
+ if (options.generate_no_op_methods_) {
+ flags |= GENERATE_NO_OP_CLASS;
+ }
+
return generate_java(output_file_name, options.input_file_name_.c_str(),
- interface.get(), types.get(), io_delegate);
+ interface.get(), types.get(), io_delegate, flags);
}
bool preprocess_aidl(const JavaOptions& options,