commit | 0cedc19c4f0a6a0362de927eac32445dc10550a8 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Fri Sep 30 09:48:09 2016 -0700 |
committer | Yifan Hong <elsk@google.com> | Sat Oct 01 01:09:38 2016 +0000 |
tree | d2efe902a79001c564e1ed710e51bff64ee2c1f8 | |
parent | f3ae7b4a9a11336767ba1fc288883118970077b9 [diff] |
c2hal: Improve Type PascalCase hack for primitive types. Test: `make c2hal` and examine output for c2hal/test/test.h Change-Id: I65897fe735008b215b1581008c7a20db82a25cc2
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