commit | 1cefc3920f649e06365cdaf8ced3759bdb1c508f | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Tue Apr 04 14:25:17 2017 -0700 |
committer | Steven Moreland <smoreland@google.com> | Wed Apr 05 11:09:20 2017 -0700 |
tree | 3b78e87b052e459b4a0e74367f52e4f1092888b8 | |
parent | f73f091621381a504c1f9012161b4dda976d792e [diff] |
Test: Update for variably sized token. Bug: 33842662 Test: hidl_test Change-Id: I49db62f87a2c13d2291858cd8508799a3ce5c91f (cherry picked from commit cf47e4d11ab8750c848a24f40963783552411ddf)
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