commit | a159f3b141d958967044f5c2258d69c496b202cd | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Thu Mar 16 14:53:51 2017 -0700 |
committer | Yifan Hong <elsk@google.com> | Fri Mar 17 00:37:36 2017 +0000 |
tree | 6fde7ad02ec171362446bf6bd56eae121b024aaa | |
parent | 64ba3d79879ac8bb406f29ef1a7a52a67d2b8f65 [diff] |
Update for moving gBn/sConstructorMap into details. Test: pass Test: boots Bug: 36075507 Change-Id: Ie897d042b77429de1be05b984a6a988cd2f3103c
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