commit | a992384718c2b4953864212ce1764323f6894206 | [log] [tgz] |
---|---|---|
author | Steven Moreland <[email protected]> | Tue Apr 23 16:03:18 2019 -0700 |
committer | hamzeh <[email protected]> | Fri May 10 15:54:34 2019 -0700 |
tree | 3500ab2a2b409427abaf832a063217d19b6c886d | |
parent | b6633a0d78ffedfa1686ed194c8da94d2e8288bd [diff] |
Zero hidl-generated structs Bug: 131356202 Test: boot, lshal Change-Id: I8fb10532b6fdf9afa419f19fc634981e7cbd3c10 Merged-In: I8fb10532b6fdf9afa419f19fc634981e7cbd3c10 (cherry picked from commit c8b4c6d9dd41ab3435e05ddf62e63d56139538e5)
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 [email protected]::INfc.hal hidl-gen -o output -L vts -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport [email protected] hidl-gen -o test -L c++ -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport [email protected]