commit | 937408abc412733f46ba59e2342496b465e8c312 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Mon Mar 20 09:54:18 2017 -0700 |
committer | Steven Moreland <smoreland@google.com> | Sat Mar 25 23:08:05 2017 +0000 |
tree | 0af6ac1dd1d2fa6fbcbf77d9e51046abf8bd4748 | |
parent | dff644c7c398bd8d0845fdb654a4dd03d6e581ce [diff] |
s/IMPL_HEADER/IMPL_INTERFACE/g More appropriate name for this enum constant now that they are defined in the interface source files. Test: hidl_test Change-Id: Ice531adb797c3213a2da18421b7e97fcfc888da3
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