commit | 5ed0a0b376c86d8303fe4d1e3cad4b665a80469d | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Sun Oct 22 19:53:15 2017 -0700 |
committer | Steven Moreland <smoreland@google.com> | Sun Oct 22 19:55:28 2017 -0700 |
tree | a097ecc3f2703b4ac97f2dbab404fafd1b0b4782 | |
parent | 9180ecde737a8fffd74a803062957278b814d522 [diff] |
Make sure comments in current.txt files are tested. I had tested these manually. Explicit test here. Test: hidl_hash_test Change-Id: I9d15b8e765b1769f68afa65599496490fa4192ee
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