commit | 068c5526a42abd22e5046fa6455f04e836aec96a | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Mon Oct 31 14:07:25 2016 -0700 |
committer | Yifan Hong <elsk@google.com> | Mon Oct 31 18:03:27 2016 -0700 |
tree | f5a516bef6d64171ac01f2662a4bd848cd26f177 | |
parent | 9ec25fc8f22979ced1421f8b9c01b09a22837393 [diff] |
hidl-gen: clean up generateCpp.cpp and generateCppImpl.cpp Test: hidl_test Change-Id: I18a9e0b27d40d607dc8b277d9e04eaa6f529f225
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