commit | cbcf9f710f21978299a3d25d09d4ef5c54dd6772 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Mon Nov 20 10:04:15 2017 -0800 |
committer | Steven Moreland <smoreland@google.com> | Mon Nov 20 10:05:31 2017 -0800 |
tree | b82ad1aa0493dd4ec3b00f316cc451b7baa23883 | |
parent | 4f4b382ac564ea8313f5d4b49fdefe1024c8e335 [diff] |
Add -Wextra-semi to HIDL. Some libraries include HIDL headers with -Wextra-semi, so adding that option to HIDL libs to allow us to detect breakages that would affect those modules when compiling any HIDL lib. Test: build hidl-generated libs Change-Id: I378b2fe449e4925a40b5ccf395251c1046fdd29e
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