commit | 8e4fc84137f8feb2bade57659d7d0c9cf9b9f604 | [log] [tgz] |
---|---|---|
author | Martijn Coenen <maco@google.com> | Mon Jan 09 16:28:59 2017 +0100 |
committer | Martijn Coenen <maco@google.com> | Mon Jan 09 16:31:47 2017 +0100 |
tree | d593bc0ff15765004802173db62f7cb887e4b3b4 | |
parent | 8867ba93a8d7c137044eb7f38b7a76e600a77af2 [diff] |
Generate API_EXIT instrumentation event in all cases. It previously wasn't generated for synchronous methods without a return value. Test: mma, hidl_test Change-Id: I8cec7e58fe05636de8a45a760575f207fb8c9dae
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