commit | 0900f572dd4e4a0926e572bbdff3650f6108e6fd | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Mon Feb 12 20:21:36 2018 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Mon Feb 12 20:21:36 2018 +0000 |
tree | 5da8d57a34b76ea79824ed559c53cc371b8f4e0e | |
parent | f9e34daa0e461dd04f487408a1fdbb06c36f53e5 [diff] | |
parent | 5abcf0119872582fe447adf207c3fdd2f998ac0f [diff] |
hidl-gen knows what files its outputting. am: 5abcf01198 Change-Id: I41853a583aac103ab6171f7f7aabba6fce14ca1e
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