commit | 246bb934cfa454cbcbeb05a2a33f5cf0746778af | [log] [tgz] |
---|---|---|
author | Ryan Campbell <ryanjcampbell@google.com> | Tue Jan 31 17:26:09 2017 -0800 |
committer | Ryan Campbell <ryanjcampbell@google.com> | Tue Jan 31 17:26:09 2017 -0800 |
tree | b13d91c3705fd5ed56bf8d04c50ae3611736cc35 | |
parent | ed291bb4c624233f5102944a2abae76da05ef9fa [diff] |
Support gatekeeper HAL in hidl gen. Add android.hardware.gatekeeper@1.0 to the supported package names list. Test: cs hardware/interfaces; mma Bug: 34178574 Change-Id: I5e19b75f34741ec3be7baa28a5d45fc26ebe7cc9
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: croot hidl-gen -o output -L c++ -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0::INfc.hal hidl-gen -o output -L vts -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0 hidl-gen -o test -L c++ -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0