commit | c668a6b11e4f9cde60644df057cb6cdf5bb5108d | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Tue Jun 06 17:12:30 2017 -0700 |
committer | Steven Moreland <smoreland@google.com> | Thu Jul 20 23:29:27 2017 +0000 |
tree | fcb0b86ca77e7678611d6fcba4578112208920bc | |
parent | 60aae9fa673ed4e0806c0bae810d024cfcd9c335 [diff] |
Test preloadPassthroughService. This will preload the appropriate libraries in the appropriate namespaces so that getService will be faster. Test: hidl_test Bug: 62376972 Bug: 63899698 Merged-In: I2b46cbe5dabccfbd33e7d1e7bd0c08af643b8dd6 Change-Id: I2b46cbe5dabccfbd33e7d1e7bd0c08af643b8dd6
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