commit | 121a75804e5a71da7d09f9ecdf9cde5adcfe8e2c | [log] [tgz] |
---|---|---|
author | Hsin-Yi Chen <hsinyichen@google.com> | Mon Dec 25 11:37:09 2017 +0800 |
committer | Hsin-Yi Chen <hsinyichen@google.com> | Thu Dec 28 10:39:50 2017 +0800 |
tree | 1274023b18b67541db75e14ec9e683f6dc55f444 | |
parent | 3aa0d7114239effdb03abe4dc43c9b3e64564dd4 [diff] |
Add metadata to modules in system/tools/hidl Add metadata. key="plan"; value="vts-library". Test: vts-tradefed run commandAndExit vts-library --include-filter VtsHidlUnitTests Bug: 70485967 Change-Id: Ifead85e53ca324be6f466727e57ff7907fc24b1c
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 hidl-gen -L hash -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0