diff options
author | Jiyong Park <jiyong@google.com> | 2018-07-16 16:00:26 +0900 |
---|---|---|
committer | Jiyong Park <jiyong@google.com> | 2018-07-20 13:09:15 +0900 |
commit | 02da74244c033dc1b4b998e189f1e30cfe35895b (patch) | |
tree | e7cab74619557260b605561f2f5db2ef228cfca8 /aidl.h | |
parent | 68bc77a6a1b3511cebcc41859a486f4ad54fb076 (diff) | |
download | aidl-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.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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, |