commit | 1977ea3e1f1e6b45c46cacff27020fd988029dc3 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Wed Oct 05 12:49:08 2016 -0700 |
committer | Yifan Hong <elsk@google.com> | Fri Oct 07 19:41:51 2016 -0700 |
tree | ddb65fa9f6e5bb8ca435fc2b3d74b5c102b6d255 | |
parent | bb5c80bdec4922aac973551b4f3cbd1008e57820 [diff] |
hidl-gen: Allow importing only one type from another hal. Test: `mma` Test: hidl_test Bug: 31821285 Change-Id: I14f069f4a21c71bb85465b77200cc860b84f61ec
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