commit | 601cfca1df5f5465fbba67c684bf243a64cce6ac | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Wed May 24 12:20:17 2017 -0700 |
committer | Yifan Hong <elsk@google.com> | Wed May 24 12:21:28 2017 -0700 |
tree | 907d68e636bd5fa29dfbdb0171607f7e139b44ad | |
parent | 8e5be7c872761d81d84ecfa264c7a8d83a7354e2 [diff] |
Add @FunctionalInterface to callbacks. Test: compiles Change-Id: Ic1d462659da526fb7dce6f5c9d4d3fef9d4db8a1 Fixes: 38268323
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