commit | 77730897017a338cd0bb1d248586119624c91f11 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Tue Mar 06 14:39:41 2018 -0800 |
committer | Steven Moreland <smoreland@google.com> | Thu Mar 08 19:33:58 2018 +0000 |
tree | 86ad624b73b0bad96a6ff40faaed61b171cd74e8 | |
parent | d5c53cc4b6f83b17447b96923d587620259e0172 [diff] |
Remove FQName::isValid FQNames are now always valid. If you get one, you can assume its in a good state according to the methods on FQName. This also forces users of FQName to validate instances of the class when creating them. Bug: 73774955 Test: hidl's run_all_host_tests.sh Change-Id: Iccbbe0173eadd7555ccb9449b6acf88d29dd67ae
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