commit | cd1a87e4e89b702b306e1b3c689e2638e59cd8bb | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Mon Mar 27 16:51:22 2017 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Mon Mar 27 16:51:22 2017 +0000 |
tree | 0af6ac1dd1d2fa6fbcbf77d9e51046abf8bd4748 | |
parent | 1c238dd7c863c1d62c3dd09fc5ea2a425f233120 [diff] | |
parent | a5b335abeb74172a44c41f81f95f177408cf72a5 [diff] |
s/IMPL_HEADER/IMPL_INTERFACE/g am: 937408abc4 am: a5b335abeb Change-Id: Ia35da994d7642775856e71f0dc177fcd20363d43
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