commit | c89340422f53046bfe24ff3e529161f9194120f8 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Thu Nov 17 17:10:52 2016 -0800 |
committer | Yifan Hong <elsk@google.com> | Fri Dec 02 15:10:48 2016 -0800 |
tree | 639caeac6a268adc13b87bc8ba2374b4563f2f1f | |
parent | 99e6bebc96d75d1c9b9b8130cd9b880dacb95b01 [diff] |
Hidlize IBase; use IBase instead of IBinder. * IBase is hidlized over hwbinder. GenericBinder is removed and Interface with name android.hidl.base@1.0::IBase is used instead. * Removed AST::mImportedNamesForJava, because in Java, we always refer to a type with the full name. We don't import anything in the java file. * IFoo.h now includes HidlSupport.h instead of HidlTransportSupport.h Test: hidl_test Test: hidl_test_java Fix: 32756130 Fix: 33273293 Change-Id: I435ad7c68dea028a16252148b6f5778e3610b7cd
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