commit | e7ff228b0fd676e9a535f209276d451344850f81 | [log] [tgz] |
---|---|---|
author | Andreas Huber <andih@google.com> | Tue Aug 16 13:50:03 2016 -0700 |
committer | Andreas Huber <andih@google.com> | Tue Aug 16 13:50:03 2016 -0700 |
tree | afe4dcea787023f01a99a5a18ea41998bc35da75 | |
parent | c7dfef3fda2061dcaeeb144c10eef3cf7360b03c [diff] |
Introduce locals to be read from a parcel ahead of time so that error handling no longer crosses variable declarations. Bug: 30570468 Change-Id: I365fec3cc33a8fdcd03a84bcbe05848ba290c475
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 hild-gen -o test -L c++ -r android.hardware:/home/android/master/hardware/interfaces android.hardware.nfc@1.0