commit | 1ab1322abecfedec9b709430bb52bbdc3188ffce | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Thu Jun 15 16:52:55 2017 -0700 |
committer | Steven Moreland <smoreland@google.com> | Thu Jun 15 16:52:55 2017 -0700 |
tree | 7f678bd952a906e7afe35bd5a8b1ac0f7596e2c2 | |
parent | 125db9dcc1c167e0c3ac6a7229032994f30b6821 [diff] |
Add -Werror/-Wall to all hidl definition libs. This way we don't accidentally introduce more warnings. Test: none Change-Id: I46cdb22917189515e076848f002905927667df64
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