commit | fd7b3680306b9a144c376c984b77384a3fca60d8 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Tue Sep 26 20:02:42 2017 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Tue Sep 26 20:02:42 2017 +0000 |
tree | 6f61a8c2ea47d8dab80fb49924dad01b35ca4e5d | |
parent | b504dd78aceb8585e63ef378b76738f241eeef74 [diff] | |
parent | 238aec52c3d9878cede2f001b442f34b16c688fb [diff] |
Fix getPackagePath for case with hal files in root am: 80ba1740e7 am: 3b8a67a358 am: 238aec52c3 Change-Id: I403e9c3a00bb380678c6e5a90ad0deec13145927
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 hidl-gen -L hash -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0