commit | 6a3cdff31410d7809ac3ff9af3f687af4ded345e | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Thu May 18 16:14:38 2017 -0700 |
committer | Steven Moreland <smoreland@google.com> | Fri May 19 15:40:27 2017 +0000 |
tree | d63dae8110b08b3ff6279441aec8589ff6b0aef9 | |
parent | 19f11b53241877c442d31d9dc6b372e294a500d0 [diff] |
Add 'hidl-module-defaults' This default library is added to all hals and allows us to specify special behavior without having to update all hals everywhere. Test: boot internal marlin Bug: 38415912 Change-Id: Iaf71375fabe642d9f28d2790c8a9e7934ca419dc
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