commit | d39133bff0a3df357226f33b424cdf99299cc40a | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Fri Nov 11 12:30:08 2016 -0800 |
committer | Steven Moreland <smoreland@google.com> | Fri Nov 11 14:00:00 2016 -0800 |
tree | 3b8d80dbbe604aa6c9f160813dbd5ab73913c51b | |
parent | dcb601e7e5b8e166f028c6d7f5db872ba42584b8 [diff] |
IFoo::descriptor String16 -> const char* This makes them much more useable. Test: hidl_test/hidl_test_java Bug: 32745840 Change-Id: Ie9b77965821391a1b5c134c82ec680e8cde1440f
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: hidl-gen -o output -L c++ android.hardware.nfc@1.0::INfc.hal hidl-gen -o output -L vts android.hardware.nfc@1.0 hidl-gen -o test -L c++ -r android.hardware:/home/android/master/hardware/interfaces android.hardware.nfc@1.0