commit | dda25cc2c3e7dc6d56f18ad9ae5cd091e4232b72 | [log] [tgz] |
---|---|---|
author | Andreas Huber <andih@google.com> | Thu Sep 22 10:39:47 2016 -0700 |
committer | Andreas Huber <andih@google.com> | Thu Sep 22 13:22:12 2016 -0700 |
tree | de30fc5af1f0d25aba5085e1c1c72b4171dc2445 | |
parent | 63a4317317ffd1ae1daf4abf95fe635e12f4f9c3 [diff] |
[Java] typedefs in types.hal files no longer mistakenly appear in the generated makefile. Bug: 31678014 Test: run hidl_test, hidl_test_java Change-Id: I60dc8b4dc5c5482e01887ab3d991554beab04ff1
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