commit | fc610cd36bb07244f46c9a9baed6634bbdc564e9 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Thu Sep 22 13:34:45 2016 -0700 |
committer | Yifan Hong <elsk@google.com> | Fri Sep 23 12:50:56 2016 -0700 |
tree | 0973c05551e8acbc54c1922fc7333926fb93a643 | |
parent | 2bd3c1f52e0be93eacbcf87ab42737ac70b29502 [diff] |
Use std::string for ConstantExpression::*value() methods. Bug: 31633795 memory leaks are partly fixed Test: `mma` Change-Id: Ia9275b86ca6d7445f4832994b5a70a2e93993eb1
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