commit | 15052c66c9109f90e0a9cc4979b5b95821da43b3 | [log] [tgz] |
---|---|---|
author | Tri Vo <trong@google.com> | Mon Feb 06 10:04:07 2017 -0800 |
committer | Tri Vo <trong@google.com> | Mon Feb 06 14:01:18 2017 -0800 |
tree | 01c310c88231686b0ebbba90fe26f0305771e7b9 | |
parent | 6081863ce80ff231323a54e97072a17227a56820 [diff] |
Generate filegroup build rule for .hal files. Remove vts driver/profiler build rule generation. Bug: 34893894 Test: mmma system/tools/hidl Change-Id: If4af3afd0c6f9bb39a9a80b387d403fc397a69e3
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