commit | b8361a2a675455b238b58d49963504da3b05c5a4 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Mon Oct 02 16:05:27 2017 -0700 |
committer | Steven Moreland <smoreland@google.com> | Tue Oct 03 20:16:29 2017 +0000 |
tree | c652e4596a08a21b9499cf7e3895cf95ce4516c7 | |
parent | b953206ee310105d4236f93e695b366a7eb05d25 [diff] |
Remove bad/flaky test from hidl_test. This test has a couple problems: - it takes *way* too long to run - it doesn't test much (of course it will fail if you try to allocate too much memory). - it isn't guaranteed to fail (some devices may allocate memory lazily or have higher capacities). Test: hidl_test is 3x as fast and passes Bug: 66222855 Change-Id: If3c05855ddbc7ddbb24b53a58d2e94580cd856fe
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