commit | 836cb31a1df2149cfda4f1844a7a4219b7164c1c | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Mon Jun 05 17:25:55 2017 -0700 |
committer | Steven Moreland <smoreland@google.com> | Tue Jun 06 01:25:10 2017 +0000 |
tree | 5bcc257447f9143816798edf88fd684a7c04f7f8 | |
parent | aeda8cbc1870cce2cdc46e0d293907713bca7e4f [diff] |
Fix error on user builds with future compiler. This resolves "Generated code has unused lambda captures" on future compiler versions. Test: build hidl modules on user and userdebug variants Test: boot internal marlin and pass hidl_test Change-Id: I1b68701646cb4cd860860fb43a3cf276b34e1e2c Fixes: 37908609
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