commit | d9f22f7fe1f124601a99ba9204a18838d034dbe5 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Wed Oct 05 15:17:33 2016 -0700 |
committer | Yifan Hong <elsk@google.com> | Wed Oct 05 15:50:32 2016 -0700 |
tree | eb731cd3f8e57b85f58d253de4056ea27b4ebcae | |
parent | be2a3737675b83dd61b52c11f0d7549fa1276739 [diff] |
hidl-gen: Allow missing package name for FQName matching. Example: @1.0::IExpression.Constants can be looked up. Bug: 31705664 Test: `mma` compiles (along with the related CL in hardware/interfaces) Change-Id: I57371bb26843094bd4972502bb7dbf03cd185025
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