commit | 79e700eebd33a571892c57d2c55424fe9f49a3f7 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Tue Jul 25 18:24:50 2017 -0700 |
committer | Justin Yun <justinyun@google.com> | Tue Aug 08 13:42:04 2017 +0900 |
tree | 422fa8700d483e17822ac11822d7e807e6ca3db6 | |
parent | 3ee43c82a006963d26815ae59605be61a712eeb8 [diff] |
Update makefiles for vndk enabled. HIDL makefiles now generate "vndk: {enabled: true}" for interface libraries so that they are included in the VNDK. Test: none Bug: 63866913 Merged-In: I1dbca3933f4bc585b22660fc47d6ba4a5f7fdd51 Change-Id: I1dbca3933f4bc585b22660fc47d6ba4a5f7fdd51 (cherry picked from commit 27d78442df86036dce2d4af82fb49841aeceac88)
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