commit | 92f3c2af500c91ced41ff273945b79e250bcfc58 | [log] [tgz] |
---|---|---|
author | Po-Chien Hsueh <pchsueh@google.com> | Thu May 11 16:07:46 2017 +0800 |
committer | Po-Chien Hsueh <pchsueh@google.com> | Thu May 11 17:26:52 2017 +0800 |
tree | 718b2ff01df4d9d0b6ecc592ad17eb367c98c709 | |
parent | 4a6dd3948c0ce7d19ae9897d566a2590ca18f00f [diff] |
update-makefiles-helper.sh for vendor folders Now update-makefiles-helper.sh also works for vendor folders. Bug: 38216114 Test: ./hardware/interfaces/update-makefiles.sh works, generated Android.bp files are identical w/wo this change. /vendor/xxx/hardware/interfaces/update-makefiles.sh also works. Change-Id: I85d5f0178a9147dac7034a74ec4bb5438267476f
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