commit | 23d7477765a2b282f7185c90afcd1d5ea551e5f1 | [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:14:32 2017 -0700 |
tree | e800f0d9b4f6194bc8e06305bff5eea9dea15b83 | |
parent | aa573273fba7030405fb3b12d10bd5de85b90aa3 [diff] |
fix hidl unit test file path and permission issue. Fix: 37322148 Test: vts-tradefed Change-Id: Ib233655494334dfd944e6db6552701832ffeb002
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