commit | a556aa649a10d3944c9982b72b5144671a10ef04 | [log] [tgz] |
---|---|---|
author | Hridya Valsaraju <hridya@google.com> | Mon Mar 27 21:26:44 2017 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Mon Mar 27 21:26:44 2017 +0000 |
tree | a2ec415e1c4e7b2801fa8b28c6aa292cad7975e1 | |
parent | 8959c6f720d3344ff5ed5d9a1d2e6ea758fd0ccf [diff] | |
parent | dee9a30a233c2edc192c6c687f8611345f6a88f4 [diff] |
Merge "Create hidl_test_helper so that FMQ unit tests can use it as well" am: dee9a30a23 Change-Id: I5d1003257567f77a6cb8c3da22f7cd76219ce525
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