commit | fcfbeaf01819c5d7d086d7e5d985820c28a40986 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Mon Jan 29 19:34:52 2018 -0800 |
committer | Colin Cross <ccross@android.com> | Tue Apr 10 16:06:54 2018 +0000 |
tree | d5b16df0c131b25fafbc00eb75f952baaa5d0e30 | |
parent | 575ab5c7c689fc8896cdc5f3bd47fe74b1415627 [diff] |
Build HIDL Java targets with SystemApi. They should all link only against SystemApi. Bug: 72480743 Test: build java targets Change-Id: I7fd0061a410b08a0e8370742d512aeb6807d2600 Merged-In: I7fd0061a410b08a0e8370742d512aeb6807d2600 (cherry picked from commit c861dcfec9afd75123889a7efa6fcfd4b431126a)
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