commit | 2820f8a2b8f1d525e7ea5eaed50ba600c0186ccf | [log] [tgz] |
---|---|---|
author | Jayant Chowdhary <jchowdhary@google.com> | Thu Nov 10 12:29:09 2016 -0800 |
committer | Jayant Chowdhary <jchowdhary@google.com> | Fri Nov 11 09:45:02 2016 -0800 |
tree | ebb8cb06dd12f09ad70c965eb28be43f7737a432 | |
parent | 080d8e76aee28f795f9da37c531a392a0df0d2e5 [diff] |
emitEnumBitwiseOperator takes operator parameter. We now generate a bitwise and operator in addition to the bitwise or operator for enums. Test: make hardware/interfaces/tests/foo/1.0 and inspect output header. Bug: 32800038 Change-Id: I6b0018317dc2bc6e20b28f5909b7091b4f57f9b7
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