commit | 859e53f03cdbed35b0aa9faf60c9a13dc29b11c1 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Mon Nov 14 19:08:24 2016 -0800 |
committer | Yifan Hong <elsk@google.com> | Wed Nov 16 19:00:31 2016 +0000 |
tree | 646573fc302990f3c7e41b7107c83a433747fd1b | |
parent | f9dc1bd1b612af829fb6fae31dc11998c8c02351 [diff] |
Split into HidlSupport and HidlTransportSupport. * move read/writeToParcel for Status and hidl_version. * move findInParcel for hidl_vec. Bug: 32756130 Test: hidl_test Change-Id: I9b0b5155cc1854575452fe3f15866694835fa996
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: hidl-gen -o output -L c++ android.hardware.nfc@1.0::INfc.hal hidl-gen -o output -L vts android.hardware.nfc@1.0 hidl-gen -o test -L c++ -r android.hardware:/home/android/master/hardware/interfaces android.hardware.nfc@1.0