commit | cea7773ec460225308cb3abc185e9787c0bc179c | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Mon Oct 03 14:59:42 2016 -0700 |
committer | Yifan Hong <elsk@google.com> | Mon Oct 03 17:41:19 2016 -0700 |
tree | f74be92519f97320f5631561fc9da179f6aac458 | |
parent | 140cc80669708392a2c7efe394a1070cc8850954 [diff] |
c2hal: allow c++11 enum class and enum struct Test: `make c2hal` and run c2hal on c2hal/test/test.h Change-Id: I76654b37d44578027b5cb2348d02296b3af45d77
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