commit | d27580c26d0832c052b139882141de8a3b36e586 | [log] [tgz] |
---|---|---|
author | Timur Iskhakov <iskhakovt@google.com> | Wed Aug 09 20:14:52 2017 -0700 |
committer | Timur Iskhakov <iskhakovt@google.com> | Thu Aug 10 14:35:15 2017 -0700 |
tree | 1951902f51ce8b39eb738395d96e14635cf4c0e4 | |
parent | 7296af19687b1c90dfd238398cd2c8ccb6bcd232 [diff] |
Add `m` prefix to ConstantExpression child members Variable `op` in existing macro #define OPEQ(__y__) (std::string(op) == std::string(__y__)) is changed to `mOp` as well. Test: compiles, hidl_test Change-Id: I851a21b0e6821e82c0d858d22972d609f01892b2
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