commit | 6a827fa11ac33b3da50d3e8dea057c3086953d86 | [log] [tgz] |
---|---|---|
author | Tri Vo <trong@google.com> | Wed Feb 08 10:24:42 2017 -0800 |
committer | Steven Moreland <smoreland@google.com> | Fri Feb 10 02:18:19 2017 +0000 |
tree | 14c7d042cca39739e85c176ac216ef9a28fab2f0 | |
parent | 429e847e46a5d933392579aca34aa1585afe707b [diff] |
Use filegroup as hal genrule srcs. Test: mma Change-Id: I62d35fbd9dabee2ea1dfe146c5e7736e2ee6bec4
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