commit | 35930c43ef3ccc79ae5ad07ca8dab5e94902d30e | [log] [tgz] |
---|---|---|
author | Timur Iskhakov <iskhakovt@google.com> | Mon Aug 28 18:49:54 2017 -0700 |
committer | Timur Iskhakov <iskhakovt@google.com> | Mon Aug 28 20:26:46 2017 -0700 |
tree | 12bbd36c195a22b59d8fb85889b8d2bda566516a | |
parent | 891a866402345777c7e746cf8d0e4ffd0bd28ca2 [diff] |
Proceess post parse passes once for each type and expression Type::recursivePass is called separately for different packages, and that leads to processing passes multiply times for the same type. Change adds an option to "lock" type or constant expression after processing post parse passes once. Fixes: 65126148 Test: mma Test: manually check using completion flag for each pass Change-Id: I6b3d75150cc0a4eb65c5972b87c650af4e55b7d5
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