commit | 6ccb2b2e67efd3572fb5c931b6dfbc4ca67154a3 | [log] [tgz] |
---|---|---|
author | Andreas Huber <andih@google.com> | Thu Nov 16 00:41:41 2017 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Thu Nov 16 00:41:41 2017 +0000 |
tree | b8774958cadf91a50a6f2afcff46e4a90402af58 | |
parent | 3ee26d06c819ff43048e1f040813fa67a377619a [diff] | |
parent | 4f4b382ac564ea8313f5d4b49fdefe1024c8e335 [diff] |
Also track imported but not referenced types if hidl-gen is running am: 4f4b382ac5 Change-Id: I89f75cddae450fa762f4861b5a3e75b8a06462d9
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