commit | e3f769aa75dd6be6bb1ba83904def47d9e464769 | [log] [tgz] |
---|---|---|
author | Andreas Huber <andih@google.com> | Mon Oct 10 10:54:44 2016 -0700 |
committer | Andreas Huber <andih@google.com> | Mon Oct 10 13:48:49 2016 -0700 |
tree | eaee85d2ecc1b0174b5b7c4540630e26c3cd5010 | |
parent | e3b808309420f821bd2ddc6663c12b0be0689c74 [diff] |
Enum types now emit operator| and operator|= for easier bitset manipulation. Bug: 31702236 Change-Id: I166da2fe0019493c81151914ebabf591b705a713 Test: visual check, mma
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