commit | 6f596c89968164351c9c8ef6e94bbcebc6796d64 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Tue Nov 29 18:45:24 2016 -0800 |
committer | Steven Moreland <smoreland@google.com> | Tue Nov 29 18:45:24 2016 -0800 |
tree | 037a353151ce1ea6dcab5c52e735c28006ccab2f | |
parent | ccd782b771e283825ad178f1ab33b8c105e6d55d [diff] |
FQName tokenName respect empty mName. This way, ANDROID_HARDWARE_WIFI_OFFLOAD_V1_0__OFFLOAD_H -> ANDROID_HARDWARE_WIFI_OFFLOAD_V1_0_OFFLOAD_H for instance. Test: hidl_test, manually verify output of -Lc++-impl Change-Id: Ibc2f195d83541011c35437411fd7e673f26f7813
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: hidl-gen -o output -L c++ android.hardware.nfc@1.0::INfc.hal hidl-gen -o output -L vts android.hardware.nfc@1.0 hidl-gen -o test -L c++ -r android.hardware:/home/android/master/hardware/interfaces android.hardware.nfc@1.0