commit | ad79f56baa069841bdcc1e63d2a62879ee7a5761 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Thu May 11 14:36:54 2017 -0700 |
committer | Steven Moreland <smoreland@google.com> | Tue May 16 18:21:19 2017 -0700 |
tree | 762d2cd3d0db44e2bf8f5987c01af035200ac631 | |
parent | 19f11b53241877c442d31d9dc6b372e294a500d0 [diff] |
Fix minor versioning requirements. For instance, @2.4::IFooCallback must extend: @2.3::IFooCallback (if it exists), otherwise @2.2::IFooCallback (if it exists), otherwise .. ... @2.0::IFooCallback (if it exists), otherwise it may extend something from another package. Test: manual Fixes: 28825532 Bug: 38242758 Change-Id: I690d2998ca2e97bb141fa6a7ead93a8e47e204c5
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