commit | 4f4b382ac564ea8313f5d4b49fdefe1024c8e335 | [log] [tgz] |
---|---|---|
author | Andreas Huber <andih@google.com> | Wed Nov 15 13:18:50 2017 -0800 |
committer | Andreas Huber <andih@google.com> | Wed Nov 15 13:21:48 2017 -0800 |
tree | 6d67ff31fe8d63530929a93458a4ad20d6196799 | |
parent | ffa2528e5b27a6ade9957a9823427e0ec9024191 [diff] |
Also track imported but not referenced types if hidl-gen is running in verbose mode. Bug: 68343606 Test: make, hidl-gen -v Change-Id: I86b7ca91abf99d5b826bd7077c690aa62604e67f
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 hidl-gen -L hash -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0