commit | 90013feeea797123633f4adbebdbac9ef2083d54 | [log] [tgz] |
---|---|---|
author | Zhuoyao Zhang <zhuoyao@google.com> | Wed Feb 15 18:26:31 2017 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Wed Feb 15 18:26:31 2017 +0000 |
tree | ba0776e0bb7c7693abc4ca988a4f6834659bbeba | |
parent | 681af3e83eadffc33209b1187b019093995f3cc4 [diff] | |
parent | 5f1d0313dd627baeae11e6541b0473bf6252266c [diff] |
Move HidlInstrumentor to HidlInternal and namespace details. am: 5f1d0313dd Change-Id: Ic2ee52b9fd1242e34fb33658cb1fc360d59c527c
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