commit | 19ca75ae47df5cd9447b232c31c5df1d110e85d9 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Wed Aug 31 10:20:03 2016 -0700 |
committer | Iliyan Malchev <malchev@google.com> | Wed Aug 31 15:31:27 2016 -0700 |
tree | 9dea420441452d9579d6c0647864fc222daae87b | |
parent | 0fa9e3956e59155c52e40b85b6aef5476ae90912 [diff] |
Emit eval result of constant expressions for Java. b/31223640 Change-Id: I3552e01ecaef8ac570f13c4357cd04c1c3c516bb 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