commit | 1a4572c2241febf35e59f0018325085459025bed | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Wed Jan 03 14:20:36 2018 -0800 |
committer | Steven Moreland <smoreland@google.com> | Wed Jan 03 14:20:36 2018 -0800 |
tree | cab334454cd7848c8600fb1c1e99df16cd3bccbc | |
parent | 3aa0d7114239effdb03abe4dc43c9b3e64564dd4 [diff] |
Error when an empty generates clause is used. It doesn't do anything and wasn't part of the original language spec. Instead of "foo() generates ();", "foo();" should be used. Bug: 71545356 Test: manual Change-Id: I52b8a6a246683553a8f607694852af0a28d07c5f
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: croot hidl-gen -o output -L c++ -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0::INfc.hal hidl-gen -o output -L vts -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0 hidl-gen -o test -L c++ -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0 hidl-gen -L hash -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0