commit | d18c3ba4d0b5bdc4dd380a407910d58b49196d93 | [log] [tgz] |
---|---|---|
author | Glenn Kasten <gkasten@google.com> | Thu Feb 23 16:35:24 2017 -0800 |
committer | Steven Moreland <smoreland@google.com> | Fri Feb 24 10:39:54 2017 -0800 |
tree | f67439df564d59f1a5e782b9ce363a3fe3b926b6 | |
parent | dcc0fcf5e8588adbbc99fad2eb2cbe938cb5ee88 [diff] |
-Lexport-header includes package root. Looks like this: // Source: android.hardware.nfc@1.0 // Root: android.hardware:hardware/interfaces Bug: 33541458 Test: -Lexport-header Change-Id: I11fe22066aa5f5a0cbee4bb0c46428c3629e7d40
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