commit | 9ab1e9e4fe5c1d0565c91ad2d45dd4b9f59e4c5b | [log] [tgz] |
---|---|---|
author | Hridya Valsaraju <hridya@google.com> | Fri Mar 10 07:52:23 2017 -0800 |
committer | Hridya Valsaraju <hridya@google.com> | Tue Mar 14 22:33:54 2017 +0000 |
tree | b54fcc2988f0bfa1dd8644ec3cc5877640501c5a | |
parent | 33e780152ca6f3ecefc1033019935ec29b890dc7 [diff] |
Move toString() methods to android::hardware namespace Bug: 36108426 Test: hidl_test passes Change-Id: Ie86c0f2654cd75b1c4179f303287e50efa89376a
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