commit | 94bcea09d4be7761fc03e26f4ac860b1404f5e53 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Thu Oct 06 13:51:31 2016 -0700 |
committer | Yifan Hong <elsk@google.com> | Thu Oct 06 13:51:31 2016 -0700 |
tree | 5d5567a39cc501087b3168fc411997c353120faa | |
parent | cc59f658497eeb7b58ba566861d22d444ccc1cf2 [diff] |
hidl-gen: Fix -Lmakefile-impl. Bug: 31055568 Test: hidl-gen -o system/tools/hidl/fooimpl/ -Lmakefile-impl -randroid.hardware:hardware/interfaces android.hardware.tests.foo@1.0 Change-Id: I35c550aa443bffb0c36e1006d563e5937837c11c
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