commit | 97288acdcff66df30cc443c65ddb815e8d0cfeaa | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Mon Dec 12 16:03:51 2016 -0800 |
committer | Yifan Hong <elsk@google.com> | Tue Dec 13 18:03:41 2016 -0800 |
tree | 536956ac0573c59c2b096ec90058b9d014d97808 | |
parent | a47eef385eff3306cef16553ce98e916beb82a38 [diff] |
Update package path for Java. We used to put IFoo.java with package android.hardware.foo.V1_0 under android/hardware/foo/1.0; the last element is fixed to V1_0. Test: compiles Test: hidl_test_java Bug: 33554192 Change-Id: I6a6a7d6c0a4c95e7c0797643bc98bec5c12889ca
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