commit | 116a5251775e3c34e8241c92f0d3a60cfd530322 | [log] [tgz] |
---|---|---|
author | Timur Iskhakov <iskhakovt@google.com> | Thu Sep 07 14:12:45 2017 -0700 |
committer | Timur Iskhakov <iskhakovt@google.com> | Thu Sep 07 14:51:15 2017 -0700 |
tree | 5213e94f71c75ba727d155339bb19da964606e0b | |
parent | 041fdfe5995b6c88b4aa1b40d668d2c891ab7e91 [diff] |
Test interface method name uniqueness validation Test: hidl_error_test Test: manual test run Change-Id: Ieeea0b4b38b5cf11281a726ac5c7d2b69382ca9b
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 hidl-gen -L hash -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0