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