commit | db1b1b638865a2043c9cddd8c865751e9742b181 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Tue Jan 10 09:50:55 2017 -0800 |
committer | Steven Moreland <smoreland@google.com> | Tue Jan 10 12:36:45 2017 -0800 |
tree | 9ccc6ec2a164dff8a7c384353c493f2f04a1f0ae | |
parent | dfb73b4e0651e8f554aba73be9461b1821c49fac [diff] |
@export: add export_parent 1. export_parent is by default true 2. setting export_parent to false will prevent -Lexport-header from exporting hal information Fix: 32539339 Test: verification that output without adding the option is the same, manual test with export_parent = true/false Change-Id: I7a6304cdc40a495427d0369fcc054675770df608
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