commit | 2cbbdf9824fb62fe59751427b58411ac6a03a3a1 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Mon Dec 05 15:20:50 2016 -0800 |
committer | Yifan Hong <elsk@google.com> | Fri Dec 09 11:31:18 2016 -0800 |
tree | ecad0ff5d4e4244eb01db456d84420bd2a66bc22 | |
parent | 4b0214d0fdeb1aeb63aba0c8a17ba031fb7d6fcf [diff] |
Move dependency of ServiceManagement from IFoo to FooAll. defaultServiceManager() lives in libhidltransport, so IFoo should not depend on it. Because only FooAll.cpp which uses IMPLEMENT_SERVICE_MANAGER_INTERACTIONS() uses it, it is included there instead. Bug: 32756130 Test: hidl_test Change-Id: I7661c31913027d375c63166ba55a5319a14a2f30
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: hidl-gen -o output -L c++ android.hardware.nfc@1.0::INfc.hal hidl-gen -o output -L vts android.hardware.nfc@1.0 hidl-gen -o test -L c++ -r android.hardware:/home/android/master/hardware/interfaces android.hardware.nfc@1.0