commit | 025336db8ccf37090b76e6f2068a1bb4a45ce6e7 | [log] [tgz] |
---|---|---|
author | Yuexi Ma <yuexima@google.com> | Thu Apr 13 17:43:06 2017 -0700 |
committer | Yuexi Ma <yuexima@google.com> | Mon Apr 17 17:16:37 2017 -0700 |
tree | ac8e36aa8f4016c7c9994ce910525958408dcc2e | |
parent | a9582e64b4fb98ff7ac762d3913faf9f833a883d [diff] |
fix hidl unit test file path and permission issue. Fix: 37322148 Test: vts-tradefed Change-Id: Ib233655494334dfd944e6db6552701832ffeb002 (cherry picked from commit 23d7477765a2b282f7185c90afcd1d5ea551e5f1)
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