commit | 9774d62e3a5cfbf228fd739f2f24034146a94f22 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Fri Mar 24 21:51:45 2017 -0700 |
committer | Steven Moreland <smoreland@google.com> | Fri Mar 24 21:51:45 2017 -0700 |
tree | ccb7e5425b91f5b2c10362e406e5ed7ce3e7bc18 | |
parent | 31f07ffea072ad066bc73181f3368951ba21f50d [diff] |
Add hwtypes.h to -Landroidbp Test: update-makefiles produces correct output and building those files. Change-Id: Ibacc510adca325d71ae11c319f620d961f0a18d1
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: croot hidl-gen -o output -L c++ -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0::INfc.hal hidl-gen -o output -L vts -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0 hidl-gen -o test -L c++ -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0