commit | d90bdaa5afbfc03dd8f1be6cf211dd3cadaa5536 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Wed Jan 03 11:12:43 2018 -0800 |
committer | Steven Moreland <smoreland@google.com> | Wed Jan 03 11:17:20 2018 -0800 |
tree | 7e729e747e9dcc1efeeec35188ce807094932e37 | |
parent | 3aa0d7114239effdb03abe4dc43c9b3e64564dd4 [diff] |
Add libbase dependency to hidl adapters. This can be shared since it is on all devices. It is used for property waits. Bug: 66914275 Test: manual Change-Id: I5b3fdfe1733358c5a8a81526f7d39cad5d7f0d2e
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