commit | cf6734cbb75d4adbff0bdfaf9a3463a4a3ce61eb | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Wed Feb 21 00:09:26 2018 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Wed Feb 21 00:09:26 2018 +0000 |
tree | 995e941451cc749190f21e6f1534262abd1138bd | |
parent | 68057e47b24b83c80a5c97cf0f6f00666663feb7 [diff] | |
parent | 71f091347acddfb178dd289a3d1c0af89f1addc7 [diff] |
Import fails if parsing fails. am: 71f091347a Change-Id: Ie72f0f7d2c7799b2a686df7be59663ad0f46c985
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