commit | 8e369ba4f6417cac666d3827a11fb07639b981a2 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Mon Mar 20 04:20:28 2017 -0700 |
committer | Steven Moreland <smoreland@google.com> | Mon Mar 20 13:10:53 2017 -0700 |
tree | b16a42543c6fd1f8e1911fa8fac2cd0591f50165 | |
parent | ff5262be9f7a9133d2fb135f9c8717444c00056d [diff] |
Add update-makefiles-helper.sh This simplifies the setup of makefiles directories until they are integrated into soong. Bug: 35870521 Test: update-makefiles.sh in directories that now use this Change-Id: I9ee70274683a8f464a4bdfa3292e3f8effa6c40c
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