commit | f3ae7b4a9a11336767ba1fc288883118970077b9 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Fri Sep 30 23:27:03 2016 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Fri Sep 30 23:27:03 2016 +0000 |
tree | fc106869626f7b6ce8141bc4e2707bd39167f082 | |
parent | 676abdc8f7f1814c8657f0cb0e8a301e4aa36cb1 [diff] | |
parent | b33b5ee164d891adc9d2b69390b7220cc6bdcc0a [diff] |
Merge changes from topic 'c2hal_better_output' * changes: c2hal: replace UNKOWN with UNKNOWN c2hal: Use better To(Camel|Pascal|Snake)Case functions. c2hal: Comment out lone declarations. c2hal: Fix note comments that embeds */ c2hal: fix array sizes got reversed. c2hal: map size_t to uint64_t c2hal: add missing closing parenthesis to function calls
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