commit | 7f12d6b336f105d4aa8ab3302f43c4d4efa40037 | [log] [tgz] |
---|---|---|
author | Zhuoyao Zhang <zhuoyao@google.com> | Wed Feb 15 20:43:06 2017 +0000 |
committer | Zhuoyao Zhang <zhuoyao@google.com> | Wed Feb 15 20:43:06 2017 +0000 |
tree | 3e79b19e85fbb0aab66ed1364fc691798b16e558 | |
parent | 5f1d0313dd627baeae11e6541b0473bf6252266c [diff] |
Revert "Move HidlInstrumentor to HidlInternal and namespace details." This reverts commit 5f1d0313dd627baeae11e6541b0473bf6252266c. Change-Id: Ib340c08e52b6bc340489d1f90d9fbdace75047a2
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