commit | a50505568183d46322a67f69a5a2b7580d220f17 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Thu Mar 29 10:30:03 2018 -0700 |
committer | Colin Cross <ccross@android.com> | Tue Apr 10 16:07:07 2018 +0000 |
tree | 4f5e8f9df45987a150850e4c68be55454b0a47fc | |
parent | fcfbeaf01819c5d7d086d7e5d985820c28a40986 [diff] |
Fix a dependency cycle through android_system_stubs_current android.hidl.base-V1.0-java can't be built with sdk_version: "system_current", as it is embedded in framework which is used to generate android_system_stubs_current. Use "core_current" plus hwbinder.stubs instead, which is a subset of "system_current" that doesn't depend on framework. Bug: 77285514 Test: m checkbuild Change-Id: I592a2519ccbb1efb71b81a74bbb95b0dd8c36432
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