commit | 36058aad4d7ee64657373d8f459d13a089654e22 | [log] [tgz] |
---|---|---|
author | Howard Chen <howardsoc@google.com> | Fri Aug 25 10:30:48 2017 +0800 |
committer | Howard Chen <howardsoc@google.com> | Fri Aug 25 10:58:25 2017 +0800 |
tree | 315e3253a3e77eae995ccab2a8ae0b12c8dc791e | |
parent | 1443e4128d8b1a23b70b9f6c9b4e72ceed32ce17 [diff] |
Dump error message for unknown type before abort. Check the lookupType return value and dump error message if not found. Test: Pixel phone build Bug: 65031405 Change-Id: Ie84d0a7eb2aa519420e7db9dcef27edcdc167e88
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