commit | a6d3388c2611bb04abeb87c53ce70967e6e246df | [log] [tgz] |
---|---|---|
author | Timur Iskhakov <iskhakovt@google.com> | Fri Sep 01 13:02:09 2017 -0700 |
committer | Timur Iskhakov <iskhakovt@google.com> | Tue Sep 05 22:25:04 2017 +0000 |
tree | 95aa6ccb0a07486de903695f4be03e1fb5f3113a | |
parent | 77dd65c66019e219e8989327ae0c12b6527c2e2f [diff] |
Better constant expression acyclic check error messages Makes constant expression acyclic check error messages look like type acyclic check. ex: enum E { A = D, B, C, D } previous cycle print: A at ... B at ... C at ... D at ... new cycle print: D in A at ... A in B at ... B in C at ... C in D at ... Test: mma Test: local test with moved lookups Change-Id: I091792d4de049509708cb91331e8504e0edf14b9
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