commit | 1aa476ba26601828117428c4bdd3367fbf999fec | [log] [tgz] |
---|---|---|
author | Zhuoyao Zhang <zhuoyao@google.com> | Sun Aug 14 19:39:16 2016 -0700 |
committer | Zhuoyao Zhang <zhuoyao@google.com> | Mon Aug 15 14:55:21 2016 -0700 |
tree | 1b1a48d9c5cccf543310012c5bf4d03b2030a967 | |
parent | cd9b4bf6ab94e2f8e373c6076351d71b82807cb2 [diff] |
Add README.md for hidl-gen Change-Id: I02673f41811adb27700a54ee98c99870556378ef
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++. 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 hild-gen -o test -L c++ -r android.hardware:/home/android/master/hardware/interfaces android.hardware.nfc@1.0