commit | 908315090581317cd9b98926f25ea318d999d420 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Mon Mar 27 12:08:40 2017 -0700 |
committer | Steven Moreland <smoreland@google.com> | Thu Apr 27 16:35:05 2017 +0000 |
tree | a1657b38156bfbd9073a1c59a239303887a6a7a5 | |
parent | 5b19e3101aba4dc1be0d0bd9d6c9a32e338f0054 [diff] |
warn_unused_result on registerAsService I've noticed this has caused several bugs recently. Test: doesn't trigger any errors building marlin internally Change-Id: I353d64d2024a416292c69551bdeee4f46b698260
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