commit | 5e8bcfad6dbb7b85fcd75ae64c569fd6efafb5b8 | [log] [tgz] |
---|---|---|
author | Iliyan Malchev <malchev@google.com> | Fri Sep 09 16:19:57 2016 -0700 |
committer | Iliyan Malchev <malchev@google.com> | Mon Sep 12 06:42:59 2016 -0700 |
tree | efef6ae3d2e4e80cdf877a8a8c7019fdad0a09ab | |
parent | 194c2ffccef2dd1c515397e597f26b184bc1269b [diff] |
hidl-gen: generate a stable list of interfaces for a package The list of interfaces for a package always starts with "types.hal" (if present) and continues with the interfaces in alphabetical order. b/31372383 Change-Id: I48f5abf5e0e9af994c826f8c439f97610e4e76d8 Signed-off-by: Iliyan Malchev <malchev@google.com>
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