commit | 057d661196c6bf50b41c238f3d02bbbb4cd3578a | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Fri Jul 21 13:12:54 2017 -0700 |
committer | Steven Moreland <smoreland@google.com> | Fri Jul 21 20:26:06 2017 +0000 |
tree | d2b6062bff9d0ab500c4c643c0eaa87de2c13168 | |
parent | c7230be6f1e7a191eb46e83e8e2d58be4817bdaa [diff] |
Fix inconsistency between hidl_test in AOSP. Extra includes here that aren't in master. Test: none Bug: 63899698 Change-Id: I1b62be9662f60b843bc49cd5be2e888cd8a0889e
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