commit | 398e6fb53f387f7d3adfb1083d8381b8e813c9da | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Mon Oct 17 11:38:09 2016 -0700 |
committer | Yifan Hong <elsk@google.com> | Mon Oct 24 10:26:13 2016 -0700 |
tree | 9124f690d0c7804013b7e194e5a821d9fc376d37 | |
parent | dd53dcb6c56e614e05d68a0b522a40767ca7d098 [diff] |
hidl_test: move duplicated code to shared lib Test: hidl_test Change-Id: Ia365049911345d74c1a488541a832a09c0287c49
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