commit | c6f3162b885d875943a6d48196b0262d2ac51bf4 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Tue Sep 26 14:05:39 2017 -0700 |
committer | Steven Moreland <smoreland@google.com> | Tue Sep 26 14:07:21 2017 -0700 |
tree | 702bd4706ed8bd23eeb55ed37b083171e1ddb3f1 | |
parent | 0057ad5dbdd0812089439a68b4d3cb1d3767f08e [diff] |
Additional test for hidl registering. Make sure other registered interfaces are left untouched even if they are the same instance. Test: hidl_test Change-Id: I2f7a3f1836d270addc7b46ff92c3aeb547e11828
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