aboutsummaryrefslogtreecommitdiff
path: root/aidl.h
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2018-07-16 16:00:26 +0900
committerJiyong Park <jiyong@google.com>2018-07-20 13:09:15 +0900
commit02da74244c033dc1b4b998e189f1e30cfe35895b (patch)
treee7cab74619557260b605561f2f5db2ef228cfca8 /aidl.h
parent68bc77a6a1b3511cebcc41859a486f4ad54fb076 (diff)
downloadaidl-02da74244c033dc1b4b998e189f1e30cfe35895b.tar.gz
add dumpapi option
multiple input aidls -> single aidl with fqnames This will be used to ensure that a set of AIDL interfaces and parcelables are backwards-compatible with older versions. Bug: 110758635 Test: m -j Test: runtests.py (AidlTest.ApiDump added) Change-Id: I06315dca4c373046a4becfea6a225ea96dec9c9d
Diffstat (limited to 'aidl.h')
-rw-r--r--aidl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/aidl.h b/aidl.h
index 36ea3bf2..c464132a 100644
--- a/aidl.h
+++ b/aidl.h
@@ -23,6 +23,7 @@
#include <vector>
#include "aidl_language.h"
+#include "import_resolver.h"
#include "io_delegate.h"
#include "options.h"
#include "type_namespace.h"
@@ -51,11 +52,12 @@ int compile_aidl_to_java(const JavaOptions& options,
const IoDelegate& io_delegate);
bool preprocess_aidl(const JavaOptions& options,
const IoDelegate& io_delegate);
+bool dump_api(const JavaOptions& options, const IoDelegate& io_delegate);
namespace internals {
AidlError load_and_validate_aidl(const std::vector<std::string>& preprocessed_files,
- const std::vector<std::string>& import_paths,
+ const ImportResolver& import_resolver,
const std::string& input_file_name, const bool generate_traces,
const IoDelegate& io_delegate, TypeNamespace* types,
std::unique_ptr<AidlDefinedType>* returned_type,