commit | 70105d32e5c9d9aa67b18d39590f847ce8295df6 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Mon Feb 06 15:31:52 2017 -0800 |
committer | gitbuildkicker <android-build@google.com> | Tue Feb 07 18:10:18 2017 -0800 |
tree | 0dcb4f6ccd5082b55249a9558124dc3d5d695b08 | |
parent | 67960eda3a8bfcdecfe4fa249197ace0aa723400 [diff] |
Update for locking gBn/sConstructorMap. Test: builds Test: hidl_test Bug: 35041785 Change-Id: If513a5d901bb365bdb2725363c51a9f4606b4a4e (cherry picked from commit b04de38f8af09096ba58f9aa14c4f3ac2ea1637d)
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