commit | 85eabdbe56720dcdcf130e5ca83129d47b143768 | [log] [tgz] |
---|---|---|
author | Andreas Huber <andih@google.com> | Thu Aug 25 11:24:49 2016 -0700 |
committer | Andreas Huber <andih@google.com> | Thu Aug 25 12:51:49 2016 -0700 |
tree | a19e8d347af30574a380d3115d2df7c70e567672 | |
parent | 97716a893f65618b041531206245ffa66f72e1bf [diff] |
The hidl-gen Java backend now supports structures (NOT unions) and types.hal files. Bug: 30575790 Change-Id: I6461235a1c469ce1bdb279bfa3d531113c5788f9
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