commit | aa2b83adce439a67ef150e1677a39e5e4154ca34 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Wed Dec 21 15:52:11 2016 -0800 |
committer | Steven Moreland <smoreland@google.com> | Thu Dec 22 13:09:57 2016 -0800 |
tree | a7f800d3d659cf279d4007075b16f6e076eae398 | |
parent | d6a38bde098ec3f42af62c50ef2d5349bee769c2 [diff] |
Add tests for android.hidl.token@1.0. Test: hidl_test Bug: 33058559 Change-Id: I6ab11620ca56334e79695661618d6225a800977e
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