commit | 14e1dbf7da9aba0ef4cf10d9b19bb5a7ecbcc9da | [log] [tgz] |
---|---|---|
author | Tri Vo <trong@google.com> | Mon Jul 31 17:37:48 2017 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Mon Jul 31 17:37:48 2017 +0000 |
tree | 2bbc8c8c9178822f624bf3f0814741f26eb40021 | |
parent | 32bd072d6dd7580b1d6d151d036ae299bc0f38c2 [diff] | |
parent | 24a83f02a75239ce2f45d6f40dad49e3c587e9b7 [diff] |
Merge "Use cc_library for libhidl-gen-utils/hash." am: 24a83f02a7 Change-Id: Ib51bcb9492e14d6d24f3cd6abd01978230caaa13
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