commit | ecfb4517ff68c59294f1ddc99513aef7b6dc2f24 | [log] [tgz] |
---|---|---|
author | Howard Chen <howardsoc@google.com> | Tue Nov 21 18:28:53 2017 +0800 |
committer | Howard Chen <howardsoc@google.com> | Fri Dec 01 02:03:42 2017 +0800 |
tree | 07acbc4d3f3b52714c8a60b30bfdcf2081be2d63 | |
parent | 73e3985b9224a18248c657c62050903e1ad844e0 [diff] |
HIDL defined type to support a composed interface This patch supports parcel/un-parcel a struct with a composed Interface. Bug: 68295540 Test: hidl_test Change-Id: Ia1d4493115c9bd2df8a5b2266632d3e88931ee4d
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 hidl-gen -L hash -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0