commit | c4ce926e8729f2e93fb891997a1a7f1c39b2f5cc | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Thu Apr 27 21:03:20 2017 -0700 |
committer | Andreas Gampe <agampe@google.com> | Thu Apr 27 21:03:20 2017 -0700 |
tree | 834a11bacb04cce385254cf5a6d77220a54b8645 | |
parent | 2e76d87c4758ab7b17677eb34d8ef36be052d895 [diff] |
Hidl: Let ASAN know that hidl-gen doesn't want lsan hidl-gen is intentionally leaking internal structures. Ask to turn off the leak detection by default. This is in code, as otherwise generated makefiles would have to use ASAN_OPTIONS=... at every invocation. Bug: 37758781 Test: ASAN_OPTIONS= SANITIZE_HOST=address m Change-Id: Ice7229a42e8814428c1e81aba2d7712e37f76a2c
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