commit | 366fe777bc9f1c3a25216020d168f5a8fa990421 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Tue Feb 13 11:17:32 2018 -0800 |
committer | Steven Moreland <smoreland@google.com> | Tue Feb 13 15:57:57 2018 -0800 |
tree | 8d6865e60395eff3fe49121138eaf36ffc9f8710 | |
parent | 5abcf0119872582fe447adf207c3fdd2f998ac0f [diff] |
hidl_test(_java) require dependency. hidl_test(_java) runs cross 32 + 64-bit tests. Modifying required statements to require exactly what is needed. Bug: 7456955 Test: build time errors gone, hidl_test + hidl_test_java Change-Id: I4e60efbe018fdf0f9a8fc9713c07ce7d97ce0769
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