commit | 0e875df3c2b6a2edf96dff550a376c897ca405c0 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Tue Apr 25 13:24:17 2017 -0700 |
committer | Steven Moreland <smoreland@google.com> | Mon May 01 17:13:44 2017 +0000 |
tree | 0a6ff39fdd2d47271ce47a7f762b999aa8d5c517 | |
parent | 8923db91cb969a2d86d9025f88fb8fe6db0ee0d4 [diff] |
Vendor extension hals on the vendor image. This is required to make sure Test: running hidl-gen on vendor image, image built to vendor Test: update-makefiles is no-op on: hardware/interfaces frameworks/hardware/interfaces system/hardware/interfaces system/libhidl/transport Bug: 35813011 (cherry picked from commit ec642438e32309b694a4b3303f8c5a6a524dda20) Merged-In: Ie3f4aef0f9088c09c108030084e71d5921599c4d Change-Id: Ie3f4aef0f9088c09c108030084e71d5921599c4d
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