commit | d57066f167eab04f32c8ef7e644e2a036256209b | [log] [tgz] |
---|---|---|
author | Iliyan Malchev <malchev@google.com> | Thu Sep 08 13:59:38 2016 -0700 |
committer | Iliyan Malchev <malchev@google.com> | Thu Sep 08 14:02:53 2016 -0700 |
tree | 7d2323837b2f8b07639d0ed81a2027e1629327fe | |
parent | a7a421a87c3721d3efa9b611cd5cd76cd566606b [diff] |
hidl-gen: use Return<void> C++ HIDL methods now return Return<> objects regadless of elision status. This hides Status from auto-generated code. b/31367910 b/31348667 b/31365311 Change-Id: Ib009d2bade022a557f51d3cd4cb3e61ece38bba2 Signed-off-by: Iliyan Malchev <malchev@google.com>
croot make hidl-gen
hidl-gen -o output-path -L language (-r interface-root) fqname output-path: directory to store the output files. language: output file for given language. e.g.c++, vts.. fqname: fully qualified name of the input files. For singe file input, follow the format: package@version::fileName For directory input, follow the format: package@version interface-root(optional): prefix and root path for fqname. If not set, use the default prefix: android.hardware and default root path defined in $TOP. examples: hidl-gen -o output -L c++ android.hardware.nfc@1.0::INfc.hal hidl-gen -o output -L vts android.hardware.nfc@1.0 hidl-gen -o test -L c++ -r android.hardware:/home/android/master/hardware/interfaces android.hardware.nfc@1.0