commit | 6a2fedf6d86fe32d5d005dd3b87f296f23ed6a11 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Tue Oct 11 13:44:07 2016 -0700 |
committer | Yifan Hong <elsk@google.com> | Tue Oct 11 16:38:06 2016 -0700 |
tree | 0a4b48e2c7a0957a0a0359361a2072b9f8fbcd31 | |
parent | a285501c7b806a5607fb79725bee8287d2a2c9a7 [diff] |
hidl-gen: remove support for anonymous enums. * There is no anonymous things allow in HIDL. Scope::pickUniqueAnonymousName is removed. Test: hidl_test Test: cd system/tools/hidl && mma Test: cd hardware/interfaces && mma Change-Id: Iebcb001b34e05b32378dbcb8b2b06e045d8c221a
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