commit | 5650f9d280f61af57d398a3756156b238dfa4027 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Fri Sep 16 13:17:54 2016 -0700 |
committer | Steven Moreland <smoreland@google.com> | Fri Sep 16 17:25:10 2016 -0700 |
tree | a55206dc6bf9dd70426807c92b87cdf5e9f2b1bb | |
parent | 5ed04fe8e60776d6df2d2a51398b5e9a878e8ebc [diff] |
Sources required to build hidl AST in libhidl-gen. This is required so that other projects (namely hidl-lint) will be able to use the hidl-gen AST. BUG: 31545895 Test: hidl_test. Change-Id: Id72543106c7be5969156fefa05788c7fa173fd38
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