commit | 8a7483fa4fb51309a0678bd43db00a0248846f67 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Mon Mar 20 17:20:45 2017 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Mon Mar 20 17:20:45 2017 +0000 |
tree | f5ea0331c3a958e058ba09af0410ea6fb237ef9c | |
parent | 8706fabd04206391ebe88aafd3ba828709b5af3b [diff] | |
parent | 84ccf8f9d1ab3b7bf716ce6ed3759cf73f9c3b8f [diff] |
Move interface reserved cpp impl to source file. am: d4b068ab09 am: d7faeb8422 am: 84ccf8f9d1 Change-Id: I0794fb0e74737d845f56321cbc602be59d46ba2d
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