commit | dfc4b9cd9f0d459f3c3e43ff2cfc7239957e6e8d | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Fri Dec 02 16:31:31 2016 -0800 |
committer | Yifan Hong <elsk@google.com> | Fri Dec 02 16:31:31 2016 -0800 |
tree | 4ac2d7041c5b3ccc05a15233909138ccee7a7e8c | |
parent | 99e6bebc96d75d1c9b9b8130cd9b880dacb95b01 [diff] |
hidl-gen -Lc++-impl: Fix inconsistent space for namespace closure. Test: hidl-gen -Lc++-impl -randroid.hardware:hardware/interfaces android.hardware.tests.foo@1.0 -o ~/tmp then manually looked at ~/tmp/Foo.cpp Bug: 33280246 Change-Id: Id27e28dcd98fadf19a8410b0ba48a8317f792725
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