commit | e404e5ad9ec80376b4f8f5df49d03a32b3b18173 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Fri Jul 28 17:59:52 2017 -0700 |
committer | Steven Moreland <smoreland@google.com> | Fri Jul 28 17:59:52 2017 -0700 |
tree | 685b961c303d711b289adca53d9feb142673cb96 | |
parent | 1b64d68c7e9de315b87eb49908fcc3d202aa5365 [diff] |
Silence impl_test warnings. This test tests that a boilerplate hidl hal implementation compiles as it is generated. However, this generated code is expected to leave all function arguments unused. Rather than modify the output (and make it harder to use), I have silenced the errors that it emits. Test: impl_test produces no warnings Change-Id: I120677c5370a8518516af84eca6da0d8dcf4f53a
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