commit | ffa2528e5b27a6ade9957a9823427e0ec9024191 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Mon Nov 13 14:23:25 2017 -0800 |
committer | Steven Moreland <smoreland@google.com> | Tue Nov 14 21:55:07 2017 +0000 |
tree | 3c653ffd46ee385374fcc451107eec14ad20f340 | |
parent | 12ff1264c3764bd290b21c86753ab57e1ee53ad2 [diff] |
Adapter packages are completely static. This means that they can be packaged in tests which don't require adapter libraries to be installed on the system image and which don't depend on system ABIs. Bug: 66914275 Test: android.hardware.nfc@1.0-adapter (on a clean device w/o other pushes) Change-Id: I049429a671f64b2923b76de29af4b7b727c9a9bd
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