commit | 76681256bf8931bbcc7e1fe0544d9fa4d3308797 | [log] [tgz] |
---|---|---|
author | Timur Iskhakov <iskhakovt@google.com> | Tue Aug 15 17:51:36 2017 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Tue Aug 15 17:51:36 2017 +0000 |
tree | 1d30205555d4c57279e6ecbd82233c094ecb53f8 | |
parent | b35e132020b6d3ba83493ee53923c4dc8a0ff622 [diff] | |
parent | 6f5b0722cd23011e2420b70fa97ca29c440192d3 [diff] |
Merge "Refactor interface and enum type- and parent-related methods" am: 6f5b0722cd Change-Id: I008d90abcc75ce0825a3d42b60ed2df26829b844
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