commit | 95a47bb42784bf74b8385b962cbe464dec037774 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Thu Sep 29 10:08:10 2016 -0700 |
committer | Yifan Hong <elsk@google.com> | Thu Sep 29 10:09:17 2016 -0700 |
tree | 6ddfef5be6c3834da5d1f9e55d8d778a530d6e5a | |
parent | b15f2483b6ae4aa63b79dd3b8d02c27445e21aae [diff] |
hidl-gen: use ?: group for regex in FQName Bug: 31750573 Test: `mma && adb sync && adb shell hidl_test` Change-Id: I365cd428278a42a755d4de6b2e6687a9a86dcd52
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