commit | 95b46238e9f0420e2e79ce2bda2cabc24aff4769 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Tue Sep 20 14:46:55 2016 -0700 |
committer | Steven Moreland <smoreland@google.com> | Wed Sep 21 16:09:48 2016 -0700 |
tree | 0077f8e4adc83fbc3eb8178711f25d34d905e04a | |
parent | 1858dba3eda8d57735060cbcb78c6d3805ec122d [diff] |
c2hal: Emit camelCase and PascalCase things. Test: built, verified test headers output. Made sure it still worked on opengl/telephony/libhardware headers. Change-Id: Iabeb0e912dc7df6b2eae76b962531a30c83593bf
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: hidl-gen -o output -L c++ android.hardware.nfc@1.0::INfc.hal hidl-gen -o output -L vts android.hardware.nfc@1.0 hidl-gen -o test -L c++ -r android.hardware:/home/android/master/hardware/interfaces android.hardware.nfc@1.0