commit | a4b53d0da8c1c6889c361fd30b913adc364163bc | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Mon Oct 31 17:29:10 2016 -0700 |
committer | Yifan Hong <elsk@google.com> | Thu Nov 03 09:39:11 2016 -0700 |
tree | 0179a0eb9d796f868ceae09c3036bf09adf5ccfa | |
parent | 447616f2f8b980849b4abc3b4d1a4db1ae00d3f7 [diff] |
Add location info to named types. Bug: 31827278 Test: hidl_test Change-Id: I1922d5c309c9706cef37ab34d28e1193d1e247cd
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