commit | b8e21fd1d774f81dd5ed44c8c0568b1672a9fd95 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Mon Oct 02 10:04:02 2017 -0700 |
committer | Chih-Hung Hsieh <chh@google.com> | Tue Oct 03 09:54:31 2017 -0700 |
tree | c524ccefe61f4080eaa3ed82eb70abb81e5d9a4f | |
parent | 1a85fd96f82b16d1620d316a965c09d63659b71f [diff] |
Use -Werror in system/tools/hidl * Use -Wno-error= for existing warnings, to fix later. * Some cflags might not be used, but added to silence missing -Werror warnings. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: If558ab43a2c42a2a839fef7a71ad9f06c7c45de5
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