commit | af084db4490c80b9715901d279ac937d7fe43e94 | [log] [tgz] |
---|---|---|
author | Howard Chen <howardsoc@google.com> | Wed Dec 27 18:46:39 2017 +0800 |
committer | Howard Chen <howardsoc@google.com> | Wed Jan 03 17:14:56 2018 +0800 |
tree | 96ac475be16f9871f3e47d408f25c1a8f7d2c7d6 | |
parent | 3aa0d7114239effdb03abe4dc43c9b3e64564dd4 [diff] |
Make HIDL java to support a interfaces in structs Make hidl-gen to support interfaces in structs for java. Also use the test method in IBaz to test arguments passing. Test: hidl_test_java/ internal master Bug: 70529597 Change-Id: Ife7f77a145690050d0b9191235dd20e73b121994
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